EQ2EMu/server/ItemScripts/SweetOnionOmelet.lua
2022-06-05 13:50:31 -07:00

18 lines
No EOL
546 B
Lua
Executable file

--[[
Script Name : ItemScripts/SweetOnionOmelet.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 52.5
newDuration = 181800
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end