Regrowth.lua 646 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Druid/Fury/Regrowth.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.01.14 03:01:53
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Heals target for 38 - 46 instantly and every 2 seconds
  9. function cast(Caster, Target, MinVal, MaxVal)
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. SpellHeal("Heal", MinVal, MaxVal)
  12. else
  13. SpellHeal("Heal", MinVal)
  14. end
  15. end
  16. function tick(Caster, Target, MinVal, MaxVal)
  17. if MaxVal ~= nil and MinVal < MaxVal then
  18. SpellHeal("Heal", MinVal, MaxVal)
  19. else
  20. SpellHeal("Heal", MinVal)
  21. end
  22. end