9
3

HardenedScales.lua 474 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Traits/HardenedScales.lua
  3. Script Author : neatz09
  4. Script Date : 2020.12.20 01:12:21
  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