RapidSwings.lua 488 B

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