mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
19 lines
435 B
Lua
19 lines
435 B
Lua
--[[
|
|
Script Name : Spells/Forage.lua
|
|
Script Author : LordPazuzu
|
|
Script Date : 2024.05.11 08:05:20
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
function cast(Caster, Target)
|
|
CurrentRegen = GetInfoStructSInt(Caster, "hp_regen")
|
|
AddSpellBonus(Caster, 600, math.ceil(CurrentRegen * 0.05))
|
|
AddSpellBonus(Caster, 1, 2)
|
|
end
|
|
|
|
function remove(Caster, Target)
|
|
RemoveSpellBonus()
|
|
end
|
|
|
|
|