IndomitableWill.lua 590 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/IndomitableWill.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.09.03 04:09:43
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BaseCure)
  9. Level = GetLevel(Caster)
  10. SpellLevel = 13
  11. Mastery = SpellLevel + 10
  12. StatBonus = GetStr(Caster) / 10
  13. if Level < Mastery then
  14. LvlBonus = Level - SpellLevel
  15. else LvlBonus = Mastery - SpellLevel
  16. end
  17. TotalCure = BaseCure + LvlBonus
  18. CureByType(1,2,"", TotalCure)
  19. end