Merge branch 'master' of http://git.eq2emu.com:3000/devn00b/EQ2EMu into master

This commit is contained in:
Image 2021-02-28 07:58:00 -05:00
commit b7f9187455
4520 changed files with 104278 additions and 5263 deletions
server/ItemScripts
AbbatoirCoffee.luaAbbatoirHerbalCake.luaAbsinthe.luaAcornBread.luaAfterDark.luaAfternoonTea.luaAiryBread.luaAmbrosia.luaAnAntonicanLobsterTail.luaAnEncodedMessage.luaAntonicanCoffee.luaArasaiPickles.luaArchitectureOfTheVerminsSnye.luaArcticHeights.luaArmoredHighlandStalkerwhistle.luaAromaticRedWine.luaArteryPunch.luaArtichokeFizzlepop.luaArtichokeKalish.luaArtichokeTea.luaArtichokeWine.luaAssortedJungleNuts.luaAviakSandwich.luaAviakSteak.luaBakedArtichoke.luaBakedBlowfish.luaBakedCarp.luaBakedCrab.luaBakedCrayfish.luaBakedEel.luaBakedGrouper.luaBakedMackerel.luaBakedShark.luaBakedSquash.luaBakedTigershrimp.luaBakedTrout.luaBambooRemouladeToppedOctopus.luaBambooSeasonedOctopusChop.luaBambooShootStirredFrappe.luaBambooStew.luaBarelyMaltedMilk.luaBarracudaBoneSoup.luaBarracudaCasserole.luaBarracudaRoll.luaBarracudaSoup.luaBarracudaandPrawnKebabs.luaBearCasserole.luaBearSandwich.luaBearSteak.luaBeerBraisedPork.luaBermoBeamer.luaBetaVoucher.luaBlackCoffee.luaBlackTea.luaBlackeyeChai.luaBlastedSamoflange.luaBlendedCaynarNutShake.luaBlendedSeahorseShake.luaBlueBlaze.luaBogAle.luaBoilfistBrew.luaBospriteSquashMuffin.luaBospriteWine.luaBraisedBabyBambooShoot.luaBrandy.luaBrellsDivineAle.luaBrownAle.luaBrownStripedWargwithBlueSaddle.luaBrowncapMushroomFizzlepop.luaBrowncapMushroomKalish.luaBrowncapMushroomSandwich.luaBrowncapMushroomSoup.luaBrowncapMushroomTea.luaBrowncapMushroomWine.luaBumbleBee.luaButcherblockBerryPie.luaButteredKingPrawns.luaCabbageFizzlepop.luaCabbageStew.luaCabilisCocoaBars.luaCabilisCocoaBirthdayCake.luaCabilisCocoaLiqueur.luaCabilisCocoaMocha.luaCabilisCocoaMousse.luaCabilisCocoaSweetBread.luaCaimanCasserole.luaCaimanSteak.luaCaimanSteakSandwich.luaCalcifiedBoneOfTheTortured.luaCanteenofMurkyWater.luaCarpStew.luaCarrotFizzlepop.luaCarrotKalish.luaCarrotMuffins.luaCarrotOmelet.luaCaynarNutCasserole.luaCaynarNutEncrustedOctopusFilet.luaCaynarNutTurnover.luaCaynarNutbread.luaCaynarVinaigretteSeahorseSalad.lua

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/AbbatoirCoffee.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 18.0
newDuration = 180000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/AbbatoirHerbalCake.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 10.0
newDuration = 180000
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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/Absinthe.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaWis.lua")
Regenz = 75.0
Stat = 7.8
newDuration = 121200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA 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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/AcornBread.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 27.5
newDuration = 15000
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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/AfterDark.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaInt.lua")
Regenz = 120.0
Stat = 13.2
newDuration = 181800
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA and INT of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/AfternoonTea.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 60.0
newDuration = 110400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/AiryBread.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5010)
Regenz = 63.5
newDuration = 18000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/JumJumCider.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 60.0
newDuration = 110400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/AnAntonicanLobsterTail.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 227.5
newDuration = 18000
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

View file

@ -0,0 +1,26 @@
--[[
Script Name : ItemScripts/AnEncodedMessage.lua
Script Purpose :
Script Author : premierio015
Script Date : 03.01.2020
Script Notes :
--]]
local QUEST = 425
function examined(Item, Player)
local con = CreateConversation()
if GetQuestStep(Player, QUEST) == 5 then
AddConversationOption(con, "Decode the message", "Decode")
end
AddConversationOption(con, "Put the message away", "CloseItemConversation")
StartDialogConversation(con, 2, Item, Player, "ohlv wkv onie kn enioeee vevvkge now lo lv iovpleoe gkxvle kne enolxelw unxekekvle vw knwone unlevv wou hkpin oo geo xekllw luikw kne klguxe lo ouo lk vo ohen huzzkh kox wou")
end
function Decode(Item, Player)
SetStepComplete(Player,QUEST, 5)
local con = CreateConversation()
AddConversationOption(con, "Put the message away", "CloseItemConversation")
StartDialogConversation(con, 2, Item, Player, "General, we have not seen any memories return in the three days the refugees have been held. The magic seems to work as promised by the sorcerer. As agreed we can buy more for the same price as the first group. The next meeting is scheduled for this evening at the old mausoleum between Dog Trapper Lake and Dead Man's Valley.")
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BlackCoffee.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 30.0
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/ArasaiPickles.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5010)
Regenz = 51.0
newDuration = 20400
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

View file

@ -0,0 +1,90 @@
--[[
Script Name : ItemScripts/ArchitectureOfTheVerminsSnye.lua
Script Purpose : Offers Questline "Architecture of the Vermin's Snye", Book
Script Author : premierio015
Script Date : 05.06.2020
Script Notes : NOT DONE YET
--]]
function examined(Item, Player)
conversation = CreateConversation()
AddConversationOption(conversation, "Continue Story", "ContinueStory")
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Many of us travel through our lives without knowing anything more about our city than the name of the street on which we live. This volume explores the rich architectural history of the Qeynos Catacombs, in particular -- Vermin's Snye.")
end
function ContinueStory(Item, Player)
conversation = CreateConversation()
AddConversationOption(conversation, "Drains", "Drains")
AddConversationOption(conversation, "Arches", "Arches")
AddConversationOption(conversation, "Ceilings", "Ceilings")
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Three different styles of architecture within the Vermin's Snye are explored and outlined in this tome. Some of the pages are torn out -- perhaps its former owner went on a tour and took along only the pages necessary. I'll have to find them in order to read the entire tome.")
end
function Drains(Item,Player)
conversation = CreateConversation()
AddConversationOption(conversation, "Continue Story 1", "DrainsContinueStory1")
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Many will consider the catacombs merely drains, useful for channeling away overflowing rain or excrement. And yet, these areas represent some of our richest heritage, in terms of age and of architecture. For only those of high intelligence will understand the usefulness of draining a city the size of Qeynos.")
end
function DrainsContinueStory1(Item, Player)
if not HasQuest(Player, quest1) and not HasCompletedQuest(Player, quest1) then
OfferQuest(nil, Player, quest1)
end
conversation = CreateConversation()
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "As many of you know, while Qeynos appears to have existed from man's earliest Age, it is a relatively recent construction project. Its roots go much deeper, as the catacombs beneath Qeynos include ruined and rebuilt aqueduct systems. What comes in must go out, therefore while the aqueducts brought water into the city, the drains enable it to leave, without making the city's streets impossible to navigate safely -- or cleanly.")
end
function Arches(Item, Player)
conversation = CreateConversation()
AddConversationOption(conversation, "Continue Story 2", "ArchesContinueStory1")
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Arches are a very strong structural technique. In this chapter, we explore the styles of arches found in the Vermin's Snye and attempt to date the structures based on known architects' styles. They are strong, bearing many times their own weight, making them ideal for underground areas.")
end
function ArchesContinueStory1(Item, Player)
conversation = CreateConversation()
AddConversationOption(conversation, "Continue Story 2", "ArchesContinueStory2")
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Arches are my weakness. When I travel through Antonica, I will often stop to admire the remnants of the old aqueducts across the countryside. There is no other form in architecture that is so versatile and strong. There are some splendid examples of them in the Vermin's Snye.")
end
function ArchesContinueStory2(Item, Player)
if not HasQuest(Player, quest2 and not HasCompletedQuest(Player, quest2) then
OfferQuest(nil, Player, quest2)
end
conversation = CreateConversation()
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Within the Vermin's Snye, travel beyond the room of the drains and you will enter some of the oldest parts of the Qeynos catacomb system. Look at the arches -- they are stockily formed and the ceilings not very high. In some places, the arches seem to have been added as an after thought! Indeed, sections of the catacombs previously used only for drainage were converted at various times to crypts. You will therefore sometimes encounter restless spirits in the dark.")
end
function Ceilings(Item, Player)
conversation = CreateConversation()
AddConversationOption(conversation, "Continue Story 3", "CeilingsContinueStory1")
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "If one carries a bright enough light source to the Vermin's Snye, the ceilings are visible through the darkness. These magnificent elements do not deserve to languish in the complete and utter dark! After reading this, you will consider ceilings more than just a roof over your head.")
end
function CeilingsContinueStory1(Item, Player)
conversation = CreateConversation()
AddConversationOption(conversation, "Continue Story 3", "CeilingsContinueStory2")
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "Too often as we go through our day, we spend our time looking at the ground -- will a root or loose stone trip me? Will I find a lucky copper? Is my bootlace really untied? The information in this guide will give you good reason to look up for a change, as you travel the Vermin's Snye in Qeynos.")
end
function CeilingsContinueStory2(Item, Player)
if not HasQuest(Player, quest3) and not HasCompletedQuest(Player, quest3) then
OfferQuest(nil, Player, quest3)
end
conversation = CreateConversation()
AddConversationOption(conversation, "Close", "CloseItemConversation")
StartDialogConversation(conversation, 2, Item, Player, "I will admit, that there are few ceilings of note in Vermin's Snye. However, once one knows what to look for, architecturally speaking, one will be able to recognize and identify elements of style in other similar catacombs. Much of the Vermin's Snye area is in the Randalphesque style, with generally plain columns supporting plaster and lathe ceilings. This early architecture was a "back-to-our-roots" reaction to the cataclysms reshaping the world, when people wanted simple yet homey structures.")
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/ArcticHeights.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaInt.lua")
Regenz = 60.0
Stat = 6.2
newDuration = 81000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA and INT of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -7,5 +7,4 @@ Script Name : ItemScripts/ArmoredHighlandStalkerwhistle.lua
--]]
function used(Item, Player)
CastSpell(Player, 5260, 1)
end
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/AromaticRedWine.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 12.0
newDuration = 20000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/ArtichokeFizzlepop.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 90.0
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/ArtichokeKalish.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 90.0
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/ArtichokeTea.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 90.0
newDuration = 121200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/ArtichokeWine.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaWis.lua")
Regenz = 90.0
Stat = 9.4
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA 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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/AssortedJungleNuts.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericWis.lua")
Regenz = 76.0
Stat = 4.5
newDuration = 18000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases WIS of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/AviakSandwich.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericSta.lua")
Regenz = 158.8
Stat = 14.9
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Sta of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/AviakSteak.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericSta.lua")
Regenz = 158.8
Stat = 14.9
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Sta of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedArtichoke.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 127.5
newDuration = 54000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedBlowfish.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 102.5
newDuration = 36000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedCarp.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 77.5
newDuration = 36000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedCrab.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 27.5
newDuration = 24000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedCrayfish.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 52.5
newDuration = 36000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedEel.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 127.5
newDuration = 36000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedGrouper.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 27.5
newDuration = 24000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedMackerel.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 52.5
newDuration = 36000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedShark.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 77.5
newDuration = 36000
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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BakedSquash.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgi.lua")
Regenz = 158.8
Stat = 14.9
newDuration = 81000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedTigershrimp.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 127.5
newDuration = 36000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BakedTrout.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 102.5
newDuration = 36000
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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BambooRemouladeToppedOctopus.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericInt.lua")
Regenz = 221.3
Stat = 20.8
newDuration = 209400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Int of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BambooSeasonedOctopusChop.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeMealGenericStrSta.lua")
Regenz = 221.3
Stat = 15.4
newDuration = 209400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STR and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BambooShootStirredFrappe.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStrSta.lua")
Regenz = 135.0
Stat = 15.4
newDuration = 8100
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases INT and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/OrangePie.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericStaWis.lua")
Regenz = 221.3
Stat = 15.4
newDuration = 121200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA and WIS of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BarleyMaltedMilk.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 15.0
newDuration = 32400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BarracudaBoneSoup.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericSta.lua")
Regenz = 190.0
Stat = 17.8
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Sta of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BarracudaCasserole.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiSta.lua")
Regenz = 190.0
Stat = 13.2
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BarracudaRoll.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericWis.lua")
Regenz = 190.0
Stat = 17.8
newDuration = 209400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Wis of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BarracudaSoup.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericStr.lua")
Regenz = 190.0
Stat = 17.8
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Str of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BarracudaandPrawnKebabs.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericSta.lua")
Regenz = 190.0
Stat = 17.8
newDuration = 81000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Sta of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BearCasserole.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiSta.lua")
Regenz = 77.5
Stat = 6.2
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BearSandwich.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 77.5
newDuration = 81000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BearSteak.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 77.5
newDuration = 24000
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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BeerBraisedPork.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiSta.lua")
Regenz = 52.5
Stat = 4.6
newDuration = 121200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BermoBeamer.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 15.0
newDuration = 18000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,4 @@
function examined(Item, Spawn)
Zone(GetZone(1), Spawn, 48.28, -1.08, 44.05, 221.37)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BlackCoffee.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 15.0
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BlackTea.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 30.0
newDuration = 81000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BlackeyeChai.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaWis.lua")
Regenz = 105.0
Stat = 11.0
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA 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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BlastedSamoflange.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 45.0
newDuration = 121200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BlendedCaynarNutShake.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaInt.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 STA and INT of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BlendedSeahorseShake.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaWis.lua")
Regenz = 135.0
Stat = 15.4
newDuration = 181800
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA 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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BlackCoffee.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 30.0
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BogAle.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 24.0
newDuration = 18000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BoilfistBrew.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 15.0
newDuration = 18000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BospriteSquashMuffin.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeMealGenericStrSta.lua")
Regenz = 158.8
Stat = 11.0
newDuration = 181800
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STR and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BospriteWine.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaInt.lua")
Regenz = 105.0
Stat = 11.0
newDuration = 181800
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA and INT of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BraisedBabyBambooShoot.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiWis.lua")
Regenz = 221.3
Stat = 15.4
newDuration = 141600
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and WIS of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/Brandy.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 15.0
newDuration = 49200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BrellsDivineAle.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 15.0
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BrownAle.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 45.0
newDuration = 32400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,11 @@
--[[
Script Name : ItemScripts/BrownStripedWargwithBlueSaddle.lua
Script Purpose :
Script Author : Skywalker646
Script Date : 3.30.2020
Script Notes :
--]]
function used(Item, Player)
CastSpell(Player, 5278, 1)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BrowncapMushroomFizzlepop.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 75.0
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BrowncapMushroomKalish.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 75.0
newDuration = 121200
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BrowncapMushroomSandwich.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeMealGenericStrSta.lua")
Regenz = 102.5
Stat = 7.8
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STR and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BrowncapMushroomSoup.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeMealGenericStrSta.lua")
Regenz = 102.5
Stat = 7.8
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 STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BrowncapMushroomTea.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 75.0
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/BrowncapMushroomWine.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaInt.lua")
Regenz = 75.0
Stat = 7.8
newDuration = 81000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA and INT of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/BumbleBee.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 60.0
newDuration = 110400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/ButcherblockBerryPie.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 27.5
newDuration = 15000
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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/ButteredKingPrawns.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgi.lua")
Regenz = 190.0
Stat = 17.8
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/CabbageFizzlepop.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 15.0
newDuration = 81000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/CabbageStew.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes : <special-instructions>
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 10
newDuration = 54000
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 10.0")
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/SaltedKingPrawns.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgi.lua")
Regenz = 190.0
Stat = 17.8
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CabilisCocoaBirthdayCake.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericMaxPwr.lua")
Regenz = 190.0
Stat = 80.0
newDuration = 6000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Max Power of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CabilisCocoaLiqueur.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStr.lua")
Regenz = 120.0
Stat = 13.2
newDuration = 81000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Str of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CabilisCocoaMocha.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericAgi.lua")
Regenz = 120.0
Stat = 13.2
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Agi of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CabilisCocoaMousse.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgi.lua")
Regenz = 190.0
Stat = 17.8
newDuration = 209400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Agi of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CabilisCocoaSweetBread.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiWis.lua")
Regenz = 190.0
Stat = 13.2
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and WIS of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CaimanCasserole.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiSta.lua")
Regenz = 127.5
Stat = 9.4
newDuration = 62400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/CaimanSteak.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 127.5
newDuration = 24000
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

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/CaimanSteakSandwich.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 127.5
newDuration = 81000
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

View file

@ -11,9 +11,7 @@ local quest = 527
function examined(Item, Player)
if not HasQuest(Player, quest) and not HasCompletedQuest(Player, quest) then
OfferQuest(nil, Player, quest)
if HasItem(Player, 4766) then
elseif HasQuest(Player, quest) then
RemoveItem(Player, 4766)
end
end
end
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/CanteenofMurkyWater.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5009)
Regenz = 5.7
newDuration = 18000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CarpStew.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiSta.lua")
Regenz = 77.5
Stat = 6.2
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CarrotFizzlepop.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeDrinkGenericStaInt.lua")
Regenz = 30.0
Stat = 3.2
newDuration = 36000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STA and INT of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/CarrotKalish.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463)
Regenz = 30
newDuration = 24000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Power Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,18 @@
--[[
Script Name : ItemScripts/CarrotMuffins.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462)
Regenz = 27.5
newDuration = 81000
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

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CarrotOmelet.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5463, 2, "Spells/Commoner/HomemadeMealGenericStrSta.lua")
Regenz = 27.5
Stat = 3.2
newDuration = 54000
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases STR and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CaynarNutCasserole.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericAgiSta.lua")
Regenz = 221.3
Stat = 15.4
newDuration = 93600
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases AGI and STA of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CaynarNutEncrustedOctopusFilet.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericSta.lua")
Regenz = 221.3
Stat = 20.8
newDuration = 209400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Sta of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CaynarNutTurnover.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericWis.lua")
Regenz = 221.3
Stat = 20.8
newDuration = 141600
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases Wis of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CaynarnutBread.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericIntWis.lua")
Regenz = 221.3
Stat = 15.4
newDuration = 62400
SetSpellData(Spell, "duration1", newDuration)
SetSpellData(Spell, "duration2", newDuration)
SetSpellDataIndex(Spell, 0, Regenz)
SetSpellDataIndex(Spell, 1, Stat)
SetSpellDisplayEffect(Spell, 0, "description", "Increases INT and WIS of target by " .. Stat)
SetSpellDisplayEffect(Spell, 1, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

View file

@ -0,0 +1,21 @@
--[[
Script Name : ItemScripts/CaynarVinaigretteSeahorseSalad.lua
Script Purpose :
Script Author : Neatz09
Script Date : 1/31/2021
Script Notes :
--]]
function cast(Item, Player)
Spell = GetSpell(5462, 2, "Spells/Commoner/HomemadeMealGenericStrWis.lua")
Regenz = 221.3
Stat = 15.4
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 Health Regeneration of target by " .. Regenz)
CastCustomSpell(Spell, Player, Player)
end

Some files were not shown because too many files have changed in this diff Show more