EQ2EMu/server/ItemScripts/MarrCherryLager.lua

21 lines
744 B
Lua
Raw Permalink Normal View History

2021-02-27 23:17:42 -07:00
--[[
Script Name : ItemScripts/MarrCherryLager.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStrWis.lua")
Regenz = 120.0
Stat = 13.2
newDuration = 121200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STR and WIS of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end