eq2emu-content/Spells/Calm.lua
2024-10-26 11:37:28 +00:00

16 lines
399 B
Lua

--[[
Script Name : Spells/Calm.lua
Script Author : LordPazuzu
Script Date : 2024.04.29 05:04:59
Script Purpose :
:
--]]
function cast(Caster, Target)
CurrentRegen = GetInfoStructSInt(Caster, "power_regen")
AddSpellBonus(Caster, 601, math.ceil(CurrentRegen * 0.05))
end
function remove (Caster, Target)
RemoveSpellBonus()
end