9
3

BestowalofVitality.lua 578 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Cleric/BestowalofVitality.lua
  3. Script Author : neatz09
  4. Script Date : 2020.10.27 12:10:43
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, HealMin, HealMax, Triggers)
  9. AddProc(Target, 15, 100)
  10. SetSpellTriggerCount(Triggers, 1)
  11. end
  12. function proc(Caster, Target, Type, HealMin, HealMax, Triggers)
  13. if Type == 15 then
  14. SpellHeal("Heal", HealMin, HealMax, Target, 0, 0, "Vitae")
  15. RemoveTriggerFromSpell()
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveProc(Target)
  20. end