mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
16 lines
No EOL
710 B
Lua
Executable file
16 lines
No EOL
710 B
Lua
Executable file
-- Effects extracted from item_effects table:
|
|
-- Increases Out-of-Combat Health Regeneration of target by 27.5
|
|
-- This effect suspends during combat
|
|
|
|
function cast(Item, Player)
|
|
Spell = GetSpell(5462, 1, "Spells/Commoner/HomemadeMealGeneric.lua")
|
|
SetSpellData(Spell, "name", "Coldwind chowder")
|
|
SetSpellData(Spell, "description", "")
|
|
newDuration = 18000.0
|
|
SetSpellData(Spell, "duration1", newDuration)
|
|
SetSpellData(Spell, "duration2", newDuration)
|
|
Regen = 27.5
|
|
SetSpellDataIndex(Spell, 0, Regen)
|
|
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regen)
|
|
CastCustomSpell(Spell, Player, Player)
|
|
end |