FlyingKick.lua 414 B

1234567891011121314
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/FlyingKick.lua
  3. Script Author : Dello
  4. Script Date : 19/07/2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinVal, MaxVal, CurrentHP, MinHeal, MaxHeal)
  9. CurrentHP = GetMaxHP(Caster)
  10. MinHeal = CurrentHP * (MinVal / 100)
  11. MaxHeal = CurrentHP * (MaxVal / 100)
  12. SpellHeal("Heal", MinHeal, MaxHeal, Caster)
  13. end