eq2emu-content/ItemScripts/FoodDrink/PantherChops_36615.lua
2025-06-24 00:00:05 +00:00

23 lines
No EOL
1 KiB
Lua
Executable file

-- Effects extracted from item_effects table:
-- Increases outgoing heal and ward amount by 1.5%
-- Increases STA and WIS of target by 61.6
-- Increases Out-of-Combat Health Regeneration of target by 221.3
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericStaWis.lua")
SetSpellData(Spell, "name", "Panther Chops")
SetSpellData(Spell, "description", "")
newDuration = 90000.0
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
Regen = 221.3
SetSpellDataIndex(Spell, 0, Regen)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regen)
STA = 61.6
SetSpellDataIndex(Spell, 1, STA)
SetSpellDisplayEffect(Spell, 1, "description", "Increases STA of target by " .. STA)
WIS = 61.6
SetSpellDataIndex(Spell, 2, WIS)
SetSpellDisplayEffect(Spell, 2, "description", "Increases WIS of target by " .. WIS)
CastCustomSpell(Spell, Player, Player)
end