PrayerofHealing.lua 761 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Paladin/PrayerofHealing.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.05 05:12:39
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BonusAmt, MinVal, MaxVal)
  9. -- Increases Max Health of group members (AE) by 15.8
  10. AddSpellBonus(Target, 606, BonusAmt)
  11. -- Heals group members (AE) for 21 - 25
  12. -- This effect cannot be critically applied.
  13. -- The healing of this spell cannot be modified except by direct means
  14. if MaxVal ~= nil and MinVal < MaxVal then
  15. SpellHeal("Heal", MinVal, MaxVal)
  16. else
  17. SpellHeal("Heal", MinVal)
  18. end
  19. end
  20. function remove(Caster, Target)
  21. RemoveSpellBonus(Target)
  22. end