12345678910111213141516171819202122232425 |
- --[[
- Script Name : Spells/ElAradsShielding.lua
- Script Author : LordPazuzu
- Script Date : 2024.05.16 07:05:44
- Script Purpose :
- :
- --]]
- function cast(Caster, Target)
- level = GetLevel(Caster)
- AddSpellBonus(Target, 500, math.ceil(level * 2.75))
- AddSpellBonus(Target, 501, math.ceil(level * 2.75))
- AddSpellBonus(Target, 200, level * 5 + 99)
- AddProc(Caster, 1, 5.0)
- end
- function proc(Caster, Target, Type)
- if Type == 1 then
- CastSpell(Caster, 2550515)
- end
- end
- function remove(Caster, Target)
- RemoveSpellBonus()
- RemoveProc()
- end
|