Transcendence.lua 640 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Mystic/Transcendence.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.13 07:12:36
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinVal, MaxVal, BonusAmt)
  9. -- Heals group members (AE) for 125 - 153
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. ModifyHP(Target, math.random(MinVal, MaxVal))
  12. else
  13. ModifyHP(Target, MinVal)
  14. end
  15. -- Increases Max Health of group members (AE) by 15.8
  16. AddSpellBonus(Target, 500, BonusAmt)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end