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