From ba7130fc0993f06237bcf70b5316ee99e641bb33 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 2 Dec 2014 21:46:15 +0100 Subject: [PATCH] -Added a file, it's needed with the allclass patch, because you cannot learn heroism with anything other than a drenaei. With that sql, the shaman will learn it with searing totem. Actually they will learn both heroism, and bloodlust. -Added in learn class quests for hunter and shaman. For shaman they will give totems too. --- allclass/shamanstartherobl.sql | 6 + classquests/classquests.sql | 342 ++++++++++++++++++++++++++- instancequests/soloquest-vanilla.sql | 1 - todo.txt | 1 + 4 files changed, 348 insertions(+), 2 deletions(-) create mode 100644 allclass/shamanstartherobl.sql diff --git a/allclass/shamanstartherobl.sql b/allclass/shamanstartherobl.sql new file mode 100644 index 0000000..e1968e8 --- /dev/null +++ b/allclass/shamanstartherobl.sql @@ -0,0 +1,6 @@ +-- heroism 32182 +-- bl 2825 + +DELETE FROM spell_learn_spell WHERE entry = 3599; +INSERT INTO spell_learn_spell VALUES(3599, 32182, 1); +INSERT INTO spell_learn_spell VALUES(3599, 2825, 1); \ No newline at end of file diff --git a/classquests/classquests.sql b/classquests/classquests.sql index 366fc6e..124dc39 100644 --- a/classquests/classquests.sql +++ b/classquests/classquests.sql @@ -1 +1,341 @@ --- Class Quests, and NPC \ No newline at end of file +-- Class Quests, and NPC + +DELETE FROM creature_template WHERE entry = 70600; +INSERT INTO creature_template VALUES( +70600, -- entry +0, 0, 0, -- difficulty entry 123 +0, 0, -- killcredit 1, 2 +30764, 0, 0, 0, -- modelid 1, 2, 3, 4, +"Class Quests", "", -- name, subname +NULL, -- iconname +0, -- gossip menu id +80, 80, -- minlevel, maxlevel +2, -- exp +2006, -- faction +2, -- npcflag +1, 1.14286, -- speed walk, run +1, -- scale +0, -- rank +0, -- dmgsschool +2000, 2000, -- baseattacktime, rangeattacktime +1, 1, -- basevariance, rangevariance +8, -- unitclass +32768, -- unitflags +2048, -- unitflags2 +0, -- dynamicflags +0, -- family +0, 0, 0, 0, -- trainer_type, trainer spell, trainer class, trainer race +7, 0, -- type, type flags +0, 0, 0, -- lootid, pickpocketloot, skinloot +0, 0, 0, 0, 0, 0, -- resist 1-6 +0, 0, 0, 0, 0, 0, 0, 0, -- spell 1-8 +0, -- petspelldataid +0, -- vehicleid +0, 0, -- mingold maxgold +"", -- AIName +0, 3, 1, -- movementtype, inhabittype, hoverheight +1, 1, 1, 1, 1, -- healthmodifier, manamodifier armormodifier, damagemodifier, experiencemodifier +0, -- racialleader +0, 0, 0, 0, 0, 0, -- questitem1-6 +0, -- movementid +1, -- regenhealth +0, -- mechanic immune mask +0, -- flags extra +"", -- scriptname +0 -- verifiedbuild +); + +DELETE FROM quest_template WHERE Id = 70600; +INSERT INTO quest_template VALUES( +70600, -- Id +2, -- Method +15, 0, 0, -- level, minlevel, maxlevel +0, -- ZoneorSort +0, -- type +0, -- suggestedPlayers +0, -- limittime +4, 0, 0, 0, -- req class, race, skillis, skillpoints +0, 0, 0, 0, -- req faction id 1, 2, value 1, 2 +0, 0, 0, 0, -- reqminrepfaction, maxrep, minrepvalue, maxrepval +0, 0, 0, 0, -- prevq, nextq, exclusivegroup, nextquestidchain +0, 0, 0, -- rewardxpid, rewardorreqmoney, rewardmoneymaxlevel +1579, 1579, -- rewardspell, rewardspellcast +0, 0, -- rewardhonor, rewardhonormultiplier +0, 0, -- rewardmailtemplateid, rewardmaildelay +0, 0, 0, -- sourceitemid, sourceitemcount, sourcespellid +0, 0, -- flags, specialflags +0, -- rewardtitleid +0, -- requiredplayerkills +0, -- rewardtalents +0, -- rewardarenapoints +0, 0, 0, 0, -- rewarditemId 1-4 +0, 0, 0, 0, -- rewarditemcount 1-4 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemid 1-6 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemcount 1-6 +0, 0, 0, 0, 0, -- rewardfactionid 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalue 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalueidoverride 1-5 +0, 0, 0, 0, -- pointmapid, pointx, pointy, pointoption +"Hunter 1", -- title +"Complete this quest.", -- Objectives +"It's dangerous to go alone, take these.", -- details +"", -- EndText +"", -- Offerrewardtext +"", -- requestItemsText +"", -- CompletedText +0, 0, 0, 0, -- requiredNpcOrGo 1-4 +0, 0, 0, 0, -- requiredNpcOrGoCount 1-4 +0, 0, 0, 0, -- requiredSourceItemId 1-4 +0, 0, 0, 0, -- requiredSourceItemCount 1-4 +0, 0, 0, 0, 0, 0, -- requiredItemId 1-6 +0, 0, 0, 0, 0, 0, -- requiredItemCount 1-6 +1, -- unknown0 +"", "", "", "", -- ObjectiveText 1-4 +1, 0, 0, 0, -- DetailsEmote 1-4 +1, 0, 0, 0, -- DetailsEmoteDelay 1-4 +0, 1, -- EmoteonIncomplete, EmoteonComplete +0, 0, 0, 0, -- offerRewardEmote 1-4 +0, 0, 0, 0, -- offerRewardEmoteDelay 1-4 +0 -- VerifiedBuild +); + +DELETE FROM creature_queststarter WHERE quest = 70600; +DELETE FROM creature_questender WHERE quest = 70600; +INSERT INTO creature_queststarter VALUES(70600, 70600); +INSERT INTO creature_questender VALUES(70600, 70600); + +DELETE FROM quest_template WHERE Id = 70601; +INSERT INTO quest_template VALUES( +70601, -- Id +2, -- Method +15, 0, 0, -- level, minlevel, maxlevel +0, -- ZoneorSort +0, -- type +0, -- suggestedPlayers +0, -- limittime +4, 0, 0, 0, -- req class, race, skillis, skillpoints +0, 0, 0, 0, -- req faction id 1, 2, value 1, 2 +0, 0, 0, 0, -- reqminrepfaction, maxrep, minrepvalue, maxrepval +0, 0, 0, 0, -- prevq, nextq, exclusivegroup, nextquestidchain +0, 0, 0, -- rewardxpid, rewardorreqmoney, rewardmoneymaxlevel +5300, 5300, -- rewardspell, rewardspellcast +0, 0, -- rewardhonor, rewardhonormultiplier +0, 0, -- rewardmailtemplateid, rewardmaildelay +0, 0, 0, -- sourceitemid, sourceitemcount, sourcespellid +0, 0, -- flags, specialflags +0, -- rewardtitleid +0, -- requiredplayerkills +0, -- rewardtalents +0, -- rewardarenapoints +0, 0, 0, 0, -- rewarditemId 1-4 +0, 0, 0, 0, -- rewarditemcount 1-4 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemid 1-6 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemcount 1-6 +0, 0, 0, 0, 0, -- rewardfactionid 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalue 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalueidoverride 1-5 +0, 0, 0, 0, -- pointmapid, pointx, pointy, pointoption +"Hunter 2", -- title +"Complete this quest.", -- Objectives +"It's dangerous to go alone, take these.", -- details +"", -- EndText +"", -- Offerrewardtext +"", -- requestItemsText +"", -- CompletedText +0, 0, 0, 0, -- requiredNpcOrGo 1-4 +0, 0, 0, 0, -- requiredNpcOrGoCount 1-4 +0, 0, 0, 0, -- requiredSourceItemId 1-4 +0, 0, 0, 0, -- requiredSourceItemCount 1-4 +0, 0, 0, 0, 0, 0, -- requiredItemId 1-6 +0, 0, 0, 0, 0, 0, -- requiredItemCount 1-6 +1, -- unknown0 +"", "", "", "", -- ObjectiveText 1-4 +1, 0, 0, 0, -- DetailsEmote 1-4 +1, 0, 0, 0, -- DetailsEmoteDelay 1-4 +0, 1, -- EmoteonIncomplete, EmoteonComplete +0, 0, 0, 0, -- offerRewardEmote 1-4 +0, 0, 0, 0, -- offerRewardEmoteDelay 1-4 +0 -- VerifiedBuild +); + +DELETE FROM creature_queststarter WHERE quest = 70601; +DELETE FROM creature_questender WHERE quest = 70601; +INSERT INTO creature_queststarter VALUES(70600, 70601); +INSERT INTO creature_questender VALUES(70600, 70601); + +DELETE FROM quest_template WHERE Id = 70602; +INSERT INTO quest_template VALUES( +70602, -- Id +2, -- Method +15, 0, 0, -- level, minlevel, maxlevel +0, -- ZoneorSort +0, -- type +0, -- suggestedPlayers +0, -- limittime +64, 0, 0, 0, -- req class, race, skillis, skillpoints +0, 0, 0, 0, -- req faction id 1, 2, value 1, 2 +0, 0, 0, 0, -- reqminrepfaction, maxrep, minrepvalue, maxrepval +0, 0, 0, 0, -- prevq, nextq, exclusivegroup, nextquestidchain +0, 0, 0, -- rewardxpid, rewardorreqmoney, rewardmoneymaxlevel +3599, 2075, -- rewardspell, rewardspellcast +0, 0, -- rewardhonor, rewardhonormultiplier +0, 0, -- rewardmailtemplateid, rewardmaildelay +0, 0, 0, -- sourceitemid, sourceitemcount, sourcespellid +0, 0, -- flags, specialflags +0, -- rewardtitleid +0, -- requiredplayerkills +0, -- rewardtalents +0, -- rewardarenapoints +0, 0, 0, 0, -- rewarditemId 1-4 +0, 0, 0, 0, -- rewarditemcount 1-4 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemid 1-6 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemcount 1-6 +0, 0, 0, 0, 0, -- rewardfactionid 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalue 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalueidoverride 1-5 +0, 0, 0, 0, -- pointmapid, pointx, pointy, pointoption +"Shaman -Bloodlust - Heroism - Searing totem", -- title +"Complete this quest.", -- Objectives +"It's dangerous to go alone, take these.", -- details +"", -- EndText +"", -- Offerrewardtext +"", -- requestItemsText +"", -- CompletedText +0, 0, 0, 0, -- requiredNpcOrGo 1-4 +0, 0, 0, 0, -- requiredNpcOrGoCount 1-4 +0, 0, 0, 0, -- requiredSourceItemId 1-4 +0, 0, 0, 0, -- requiredSourceItemCount 1-4 +0, 0, 0, 0, 0, 0, -- requiredItemId 1-6 +0, 0, 0, 0, 0, 0, -- requiredItemCount 1-6 +1, -- unknown0 +"", "", "", "", -- ObjectiveText 1-4 +1, 0, 0, 0, -- DetailsEmote 1-4 +1, 0, 0, 0, -- DetailsEmoteDelay 1-4 +0, 1, -- EmoteonIncomplete, EmoteonComplete +0, 0, 0, 0, -- offerRewardEmote 1-4 +0, 0, 0, 0, -- offerRewardEmoteDelay 1-4 +0 -- VerifiedBuild +); + +DELETE FROM creature_queststarter WHERE quest = 70602; +DELETE FROM creature_questender WHERE quest = 70602; +INSERT INTO creature_queststarter VALUES(70600, 70602); +INSERT INTO creature_questender VALUES(70600, 70602); + +DELETE FROM quest_template WHERE Id = 70603; +INSERT INTO quest_template VALUES( +70603, -- Id +2, -- Method +15, 0, 0, -- level, minlevel, maxlevel +0, -- ZoneorSort +0, -- type +0, -- suggestedPlayers +0, -- limittime +64, 0, 0, 0, -- req class, race, skillis, skillpoints +0, 0, 0, 0, -- req faction id 1, 2, value 1, 2 +0, 0, 0, 0, -- reqminrepfaction, maxrep, minrepvalue, maxrepval +0, 0, 0, 0, -- prevq, nextq, exclusivegroup, nextquestidchain +0, 0, 0, -- rewardxpid, rewardorreqmoney, rewardmoneymaxlevel +5394, 5396, -- rewardspell, rewardspellcast +0, 0, -- rewardhonor, rewardhonormultiplier +0, 0, -- rewardmailtemplateid, rewardmaildelay +0, 0, 0, -- sourceitemid, sourceitemcount, sourcespellid +0, 0, -- flags, specialflags +0, -- rewardtitleid +0, -- requiredplayerkills +0, -- rewardtalents +0, -- rewardarenapoints +5175, 5176, 5177, 5178, -- rewarditemId 1-4 +1, 1, 1, 1, -- rewarditemcount 1-4 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemid 1-6 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemcount 1-6 +0, 0, 0, 0, 0, -- rewardfactionid 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalue 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalueidoverride 1-5 +0, 0, 0, 0, -- pointmapid, pointx, pointy, pointoption +"Shaman - Healing Stream - Totems", -- title +"Complete this quest.", -- Objectives +"It's dangerous to go alone, take these.", -- details +"", -- EndText +"", -- Offerrewardtext +"", -- requestItemsText +"", -- CompletedText +0, 0, 0, 0, -- requiredNpcOrGo 1-4 +0, 0, 0, 0, -- requiredNpcOrGoCount 1-4 +0, 0, 0, 0, -- requiredSourceItemId 1-4 +0, 0, 0, 0, -- requiredSourceItemCount 1-4 +0, 0, 0, 0, 0, 0, -- requiredItemId 1-6 +0, 0, 0, 0, 0, 0, -- requiredItemCount 1-6 +1, -- unknown0 +"", "", "", "", -- ObjectiveText 1-4 +1, 0, 0, 0, -- DetailsEmote 1-4 +1, 0, 0, 0, -- DetailsEmoteDelay 1-4 +0, 1, -- EmoteonIncomplete, EmoteonComplete +0, 0, 0, 0, -- offerRewardEmote 1-4 +0, 0, 0, 0, -- offerRewardEmoteDelay 1-4 +0 -- VerifiedBuild +); + +DELETE FROM creature_queststarter WHERE quest = 70603; +DELETE FROM creature_questender WHERE quest = 70603; +INSERT INTO creature_queststarter VALUES(70600, 70603); +INSERT INTO creature_questender VALUES(70600, 70603); + +DELETE FROM quest_template WHERE Id = 70604; +INSERT INTO quest_template VALUES( +70604, -- Id +2, -- Method +15, 0, 0, -- level, minlevel, maxlevel +0, -- ZoneorSort +0, -- type +0, -- suggestedPlayers +0, -- limittime +64, 0, 0, 0, -- req class, race, skillis, skillpoints +0, 0, 0, 0, -- req faction id 1, 2, value 1, 2 +0, 0, 0, 0, -- reqminrepfaction, maxrep, minrepvalue, maxrepval +0, 0, 0, 0, -- prevq, nextq, exclusivegroup, nextquestidchain +0, 0, 0, -- rewardxpid, rewardorreqmoney, rewardmoneymaxlevel +8071, 8073, -- rewardspell, rewardspellcast +0, 0, -- rewardhonor, rewardhonormultiplier +0, 0, -- rewardmailtemplateid, rewardmaildelay +0, 0, 0, -- sourceitemid, sourceitemcount, sourcespellid +0, 0, -- flags, specialflags +0, -- rewardtitleid +0, -- requiredplayerkills +0, -- rewardtalents +0, -- rewardarenapoints +0, 0, 0, 0, -- rewarditemId 1-4 +0, 0, 0, 0, -- rewarditemcount 1-4 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemid 1-6 +0, 0, 0, 0, 0, 0, -- rewardchoiceitemcount 1-6 +0, 0, 0, 0, 0, -- rewardfactionid 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalue 1-5 +0, 0, 0, 0, 0, -- rewardfactionvalueidoverride 1-5 +0, 0, 0, 0, -- pointmapid, pointx, pointy, pointoption +"Shaman - Stoneskin Totem", -- title +"Complete this quest.", -- Objectives +"It's dangerous to go alone, take these.", -- details +"", -- EndText +"", -- Offerrewardtext +"", -- requestItemsText +"", -- CompletedText +0, 0, 0, 0, -- requiredNpcOrGo 1-4 +0, 0, 0, 0, -- requiredNpcOrGoCount 1-4 +0, 0, 0, 0, -- requiredSourceItemId 1-4 +0, 0, 0, 0, -- requiredSourceItemCount 1-4 +0, 0, 0, 0, 0, 0, -- requiredItemId 1-6 +0, 0, 0, 0, 0, 0, -- requiredItemCount 1-6 +1, -- unknown0 +"", "", "", "", -- ObjectiveText 1-4 +1, 0, 0, 0, -- DetailsEmote 1-4 +1, 0, 0, 0, -- DetailsEmoteDelay 1-4 +0, 1, -- EmoteonIncomplete, EmoteonComplete +0, 0, 0, 0, -- offerRewardEmote 1-4 +0, 0, 0, 0, -- offerRewardEmoteDelay 1-4 +0 -- VerifiedBuild +); + +DELETE FROM creature_queststarter WHERE quest = 70604; +DELETE FROM creature_questender WHERE quest = 70604; +INSERT INTO creature_queststarter VALUES(70600, 70604); +INSERT INTO creature_questender VALUES(70600, 70604); \ No newline at end of file diff --git a/instancequests/soloquest-vanilla.sql b/instancequests/soloquest-vanilla.sql index aa537c0..a6930fe 100644 --- a/instancequests/soloquest-vanilla.sql +++ b/instancequests/soloquest-vanilla.sql @@ -25,7 +25,6 @@ -- SELECT * FROM creature_template WHERE entry = 37776 DELETE FROM creature_template WHERE entry = 70001; - INSERT INTO creature_template VALUES( 70001, -- entry 0, 0, 0, -- difficulty entry 123 diff --git a/todo.txt b/todo.txt index ad7d8c6..37679a5 100644 --- a/todo.txt +++ b/todo.txt @@ -2,3 +2,4 @@ levelling 61+ Mall Transmog bags Telenpc better locations +D3 rugoue should be removed, and instead added as the set's name \ No newline at end of file