mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
15 lines
No EOL
658 B
Lua
Executable file
15 lines
No EOL
658 B
Lua
Executable file
-- Effects extracted from item_effects table:
|
|
-- Increases Out-of-Combat Power Regeneration of target by 75.0
|
|
|
|
function cast(Item, Player)
|
|
Spell = GetSpell(5463, 1, "Spells/Commoner/HomemadeDrinkGeneric.lua")
|
|
SetSpellData(Spell, "name", "rum")
|
|
SetSpellData(Spell, "description", "")
|
|
newDuration = 21600.0
|
|
SetSpellData(Spell, "duration1", newDuration)
|
|
SetSpellData(Spell, "duration2", newDuration)
|
|
Regen = 75.0
|
|
SetSpellDataIndex(Spell, 0, Regen)
|
|
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regen)
|
|
CastCustomSpell(Spell, Player, Player)
|
|
end |