9
3

Glory.lua 675 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Templar/Glory.lua
  3. Script Author : neatz09
  4. Script Date : 2020.02.29 04:02:59
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On a hit this spell may cast Combat Glory on target. Triggers about 1.0 times per minute.
  9. -- Heals group members (AE) for 470
  10. function cast(Caster, Target, HealAmt)
  11. AddProc(Target, 1, 4)
  12. end
  13. function proc(Caster, Target, Type, HealAmt)
  14. if Type == 1 then
  15. Spell = GetSpell(5447, GetSpellTier())
  16. SetSpellDataIndex(Spell, 0, HealAmt)
  17. CastCustomSpell(Spell, Caster, Target)
  18. end
  19. end
  20. function remove(Caster, Target)
  21. RemoveProc(Target)
  22. end