MossyBalm.lua 486 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Priest/Druid/MossyBalm.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.03.18 09:03:34
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinVal, MaxVal)
  9. StatBonus = GetWis(Caster) / 10
  10. MinHeal = MinVal + math.floor(StatBonus)
  11. MaxHeal = MaxVal + math.floor(StatBonus)
  12. SpellHeal("Heal", MinHeal, MaxHeal)
  13. CureByType(1, 1, "", (GetLevel(Caster) * 1.08) + 1)
  14. end