DevoutBarrier.lua 441 B

1234567891011121314151617
  1. --[[
  2. Script Name : Spells\Traditions\Resist\DevoutBarrier.lua
  3. Script Purpose :
  4. Script Author : Zcoretri
  5. Script Date : 2013.01.29
  6. Script Notes : Increases Arcane mitigation based on level
  7. --]]
  8. function cast(Caster, Target, Modifier)
  9. CurLevel = GetLevel(Target)
  10. BonusAmt = CurLevel * Modifier
  11. AddSpellBonus(Target, 203, BonusAmt)
  12. end
  13. function remove(Caster, Target, Modifier)
  14. RemoveSpellBonus(Target)
  15. end