ElementalDefiance.lua 448 B

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