RitualHealing.lua 613 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Mystic/RitualHealing.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.13 05:12:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinVal, MaxVal, BonusAmt)
  9. -- Heals target for 40 - 49
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. SpellHeal("Heal", math.random(MinVal, MaxVal))
  12. else
  13. SpellHeal("Heal", MinVal)
  14. end
  15. -- Increases Max Health of target by 6.3
  16. AddSpellBonus(Target, 500, BonusAmt)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end