ElementalFortitude.lua 478 B

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