Stalwart.lua 398 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Stalwart.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.04.30 04:04:14
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. CurrentRegen = GetInfoStructSInt(Caster, "hp_regen")
  10. AddSpellBonus(Caster, 600, math.ceil(CurrentRegen * 0.05))
  11. end
  12. function remove (Caster, Target)
  13. RemoveSpellBonus()
  14. end