Open candles1202 opened 1 month ago
Foundry doesn't have a distinction on damage resistance between magic damage from spells and magic damage from weapons, it would have to be coded manually.
This will get looked at after the V12 refactor, I'll have replace it with something better.
Issue location: scripts/macros/classFeatures/paladin/oathOfTheAncients/auraOfWarding.js
Testing: Tested using a spell attack (thorn whip) and a magical weapon attack (+1 dagger) both have their damage reduce by half. I believe the value needs to be updated to something else, but I can't determine what (or if the 'correct' answer exists). I also tried using flags.midi-qol.DR.msak and flags.midi-qol.DR.rsak, but these seem to only take flat values (5, -5, etc) and not multipliers.
Desired outcome: Only spell damage is resisted, not all magical damage. (Thorn whip damage is halved, +1 dagger damage is not).