mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
16 lines
399 B
Lua
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
|