9
3

DefyMagic.lua 466 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Traits/DefyMagic.lua
  3. Script Author : neatz09
  4. Script Date : 2020.12.20 12:12:16
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Mitigation of caster vs arcane damage by 3
  9. function cast(Caster, Target, Modifier)
  10. CurLevel = GetLevel(Target)
  11. BonusAmt = CurLevel * Modifier
  12. AddSpellBonus(Target, 203, BonusAmt)
  13. end
  14. function remove(Caster, Target)
  15. RemoveSpellBonus(Target)
  16. end