ManaCloak.lua 684 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/ManaCloak.lua
  3. Script Author : neatz09
  4. Script Date : 2020.08.29 02:08:29
  5. Script Purpose :
  6. :
  7. --]]
  8. -- When any damage is received this spell will cast Breeze on target.
  9. -- Increases power of caster by 103
  10. -- Grants a total of 3 triggers of the spell.
  11. function cast(Caster, Target, Pwr)
  12. AddProc(Target, 15, 100, nil, 1)
  13. Say(Caster, "need to pass Breeze for the heal name")
  14. SetSpellTriggerCount(3, 1)
  15. end
  16. function proc(Caster, Target, Type, Pwr)
  17. SpellHeal("Power", Pwr)
  18. RemoveTriggerFromSpell(1)
  19. end
  20. function remove(Caster, Target)
  21. RemoveProc(Target)
  22. end