9
3

BackintotheFray.lua 553 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Priest/Druid/Fury/BackintotheFray.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.28 06:10:10
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, OverMin, OverMax, UnderMin, UnderMax)
  9. -- Heals target for 402 - 491
  10. -- If over 50% Health
  11. -- Heals target for 804 - 982
  12. -- If under 50% Health
  13. if GetHP(Target) > GetPCTOfHP(Target, 50) then
  14. SpellDamage(Target, Heal, OverMin, OverMax)
  15. else
  16. SpellDamage(Target, UnderMin, UnderMax)
  17. end
  18. end