9
3

ElAradsShielding.lua 633 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/ElAradsShielding.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.05.16 07:05:44
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. level = GetLevel(Caster)
  10. AddSpellBonus(Target, 500, math.ceil(level * 2.75))
  11. AddSpellBonus(Target, 501, math.ceil(level * 2.75))
  12. AddSpellBonus(Target, 200, level * 5 + 99)
  13. AddProc(Caster, 1, 5.0)
  14. end
  15. function proc(Caster, Target, Type)
  16. if Type == 1 then
  17. CastSpell(Caster, 2550515)
  18. end
  19. end
  20. function remove(Caster, Target)
  21. RemoveSpellBonus()
  22. RemoveProc()
  23. end