WarWounds.lua 443 B

1234567891011121314151617
  1. --[[
  2. Script Name : Spells/Commoner/WarWounds.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.05.01 04:05:37
  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. AddSpellBonus(Caster, 1, 2)
  12. end
  13. function remove(Caster, Target)
  14. RemoveSpellBonus()
  15. end