Rebuild the Exile's Reach quests from the retail storyline.

This commit is contained in:
luis
2026-09-24 21:54:46 -03:00
parent ebbe43a634
commit 83da508058
@@ -0,0 +1,576 @@
-- Alliance chain after Cooking Meat.
-- Quilboar pair, then the copter. Harpy trio, then Message to Base. Who Lurks after Westward Bound.
-- To Darkmaul Citadel waits for both Message to Base and Who Lurks. The ogre trio waits for Right Beneath Their Eyes.
UPDATE `quest_template_addon` SET `PrevQuestID` = 55173, `NextQuestID` = 55193, `ExclusiveGroup` = -55186 WHERE `ID` IN (55186, 55184);
UPDATE `quest_template_addon` SET `PrevQuestID` = 55194, `NextQuestID` = 0, `ExclusiveGroup` = 0 WHERE `ID` = 55196;
UPDATE `quest_template_addon` SET `PrevQuestID` = 55196, `NextQuestID` = 55882, `ExclusiveGroup` = -55764 WHERE `ID` IN (55763, 55764, 55881);
UPDATE `quest_template_addon` SET `PrevQuestID` = 55965, `NextQuestID` = 56344, `ExclusiveGroup` = -55882 WHERE `ID` = 55639;
UPDATE `quest_template_addon` SET `NextQuestID` = 56344, `ExclusiveGroup` = -55882 WHERE `ID` = 55882;
UPDATE `quest_template_addon` SET `PrevQuestID` = 55981, `NextQuestID` = 55992, `ExclusiveGroup` = -55988 WHERE `ID` IN (55988, 55989, 55990);
-- Horde mirror. Stocking Up already requires The Re-Deather. Westward Bound already requires Stocking Up.
UPDATE `quest_template_addon` SET `PrevQuestID` = 59935, `NextQuestID` = 59940, `ExclusiveGroup` = -59938 WHERE `ID` IN (59938, 59939);
UPDATE `quest_template_addon` SET `PrevQuestID` = 59950, `NextQuestID` = 0, `ExclusiveGroup` = 0 WHERE `ID` = 59943;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59943, `NextQuestID` = 59947, `ExclusiveGroup` = -59945 WHERE `ID` IN (59944, 59945, 59946);
UPDATE `quest_template_addon` SET `PrevQuestID` = 59948, `NextQuestID` = 59975, `ExclusiveGroup` = -59947 WHERE `ID` = 59949;
UPDATE `quest_template_addon` SET `NextQuestID` = 59975, `ExclusiveGroup` = -59947 WHERE `ID` = 59947;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59978, `NextQuestID` = 59984, `ExclusiveGroup` = -59979 WHERE `ID` IN (59979, 59980, 59981);
-- Class lessons open at the ogre ruins, after Stocking Up. Shaman opens after Who Lurks in the Pit, which is where the ghost wolf's pack is freed.
-- The follow-up is also on the turn-in NPC, so it needs its own previous quest or it can be taken first.
UPDATE `quest_template_addon` SET `PrevQuestID` = 55194 WHERE `ID` IN (58914, 58917, 58923, 58953, 58962, 59347, 59350, 59352, 59355);
UPDATE `quest_template_addon` SET `PrevQuestID` = 55639 WHERE `ID` = 59002;
UPDATE `quest_template_addon` SET `PrevQuestID` = 58914 WHERE `ID` = 58915;
UPDATE `quest_template_addon` SET `PrevQuestID` = 58917 WHERE `ID` = 58933;
UPDATE `quest_template_addon` SET `PrevQuestID` = 58923 WHERE `ID` = 58946;
UPDATE `quest_template_addon` SET `PrevQuestID` = 58953 WHERE `ID` = 58960;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59347 WHERE `ID` = 59349;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59352 WHERE `ID` = 59354;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59355 WHERE `ID` = 59356;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59356 WHERE `ID` = 60168;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59950 WHERE `ID` IN (59971, 59967, 59958, 59961, 59970, 59956, 59951, 59954, 59952);
UPDATE `quest_template_addon` SET `PrevQuestID` = 59949 WHERE `ID` = 59969;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59971 WHERE `ID` = 59972;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59967 WHERE `ID` = 59968;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59958 WHERE `ID` = 60174;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59961 WHERE `ID` = 59965;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59956 WHERE `ID` = 59957;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59954 WHERE `ID` = 59955;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59952 WHERE `ID` = 59953;
UPDATE `quest_template_addon` SET `PrevQuestID` = 59953 WHERE `ID` = 60162;
-- Availability. ElseGroups are OR. Rows in one ElseGroup are AND.
-- Team 469 is Alliance, team 67 is Horde. Class mask 4 is hunter, 512 is monk.
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `SourceEntry` IN (
55173, 59935, 59254, 59933, 55186, 55184, 59938, 59939, 85678, 85679
);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
-- Alliance Northbound: after either tactics quest, or after Cooking Meat for hunters (they skip tactics).
(19, 0, 55173, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Northbound - Alliance'),
(19, 0, 55173, 0, 0, 8, 0, 59254, 0, 0, 0, 0, 0, '', 'Exile Northbound - Enhanced Combat Tactics rewarded'),
(19, 0, 55173, 0, 1, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Northbound - Alliance'),
(19, 0, 55173, 0, 1, 8, 0, 59339, 0, 0, 0, 0, 0, '', 'Exile Northbound - monk tactics rewarded'),
(19, 0, 55173, 0, 2, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Northbound - Alliance'),
(19, 0, 55173, 0, 2, 8, 0, 55174, 0, 0, 0, 0, 0, '', 'Exile Northbound - Cooking Meat rewarded'),
(19, 0, 55173, 0, 2, 15, 0, 4, 0, 0, 0, 0, 0, '', 'Exile Northbound - hunter'),
-- Horde Northbound
(19, 0, 59935, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Northbound - Horde'),
(19, 0, 59935, 0, 0, 8, 0, 59933, 0, 0, 0, 0, 0, '', 'Exile Northbound - Enhanced Combat Tactics rewarded'),
(19, 0, 59935, 0, 1, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Northbound - Horde'),
(19, 0, 59935, 0, 1, 8, 0, 59934, 0, 0, 0, 0, 0, '', 'Exile Northbound - monk tactics rewarded'),
(19, 0, 59935, 0, 2, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Northbound - Horde'),
(19, 0, 59935, 0, 2, 8, 0, 59932, 0, 0, 0, 0, 0, '', 'Exile Northbound - Cooking Meat rewarded'),
(19, 0, 59935, 0, 2, 15, 0, 4, 0, 0, 0, 0, 0, '', 'Exile Northbound - hunter'),
-- Generic tactics is every class except hunter and monk. Hunters go north from Cooking Meat. Monks use the monk tactics quest.
(19, 0, 59254, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile tactics - Alliance'),
(19, 0, 59254, 0, 0, 15, 0, 516, 0, 0, 1, 0, 0, '', 'Exile tactics - not hunter or monk'),
(19, 0, 59933, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile tactics - Horde'),
(19, 0, 59933, 0, 0, 15, 0, 516, 0, 0, 1, 0, 0, '', 'Exile tactics - not hunter or monk'),
-- Quilboar after Northbound. Hunters finish Taming the Wilds first.
(19, 0, 55186, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile quilboar - Alliance'),
(19, 0, 55186, 0, 0, 8, 0, 55173, 0, 0, 0, 0, 0, '', 'Exile quilboar - Northbound rewarded'),
(19, 0, 55186, 0, 0, 15, 0, 4, 0, 0, 1, 0, 0, '', 'Exile quilboar - not hunter'),
(19, 0, 55186, 0, 1, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile quilboar - Alliance hunter'),
(19, 0, 55186, 0, 1, 8, 0, 59342, 0, 0, 0, 0, 0, '', 'Exile quilboar - Taming the Wilds rewarded'),
(19, 0, 55184, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Alliance'),
(19, 0, 55184, 0, 0, 8, 0, 55173, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Northbound rewarded'),
(19, 0, 55184, 0, 0, 15, 0, 4, 0, 0, 1, 0, 0, '', 'Exile shadow magic - not hunter'),
(19, 0, 55184, 0, 1, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Alliance hunter'),
(19, 0, 55184, 0, 1, 8, 0, 59342, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Taming the Wilds rewarded'),
(19, 0, 59938, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile quilboar - Horde'),
(19, 0, 59938, 0, 0, 8, 0, 59935, 0, 0, 0, 0, 0, '', 'Exile quilboar - Northbound rewarded'),
(19, 0, 59938, 0, 0, 15, 0, 4, 0, 0, 1, 0, 0, '', 'Exile quilboar - not hunter'),
(19, 0, 59938, 0, 1, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile quilboar - Horde hunter'),
(19, 0, 59938, 0, 1, 8, 0, 59937, 0, 0, 0, 0, 0, '', 'Exile quilboar - Taming the Wilds rewarded'),
(19, 0, 59939, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Horde'),
(19, 0, 59939, 0, 0, 8, 0, 59935, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Northbound rewarded'),
(19, 0, 59939, 0, 0, 15, 0, 4, 0, 0, 1, 0, 0, '', 'Exile shadow magic - not hunter'),
(19, 0, 59939, 0, 1, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Horde hunter'),
(19, 0, 59939, 0, 1, 8, 0, 59937, 0, 0, 0, 0, 0, '', 'Exile shadow magic - Taming the Wilds rewarded'),
-- Repair Yourself is the optional vendor stop at the ogre ruins, after Stocking Up.
(19, 0, 85678, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Repair Yourself - Alliance'),
(19, 0, 85678, 0, 0, 8, 0, 55194, 0, 0, 0, 0, 0, '', 'Exile Repair Yourself - Stocking Up rewarded'),
(19, 0, 85679, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Repair Yourself - Horde'),
(19, 0, 85679, 0, 0, 8, 0, 59950, 0, 0, 0, 0, 0, '', 'Exile Repair Yourself - Stocking Up rewarded');
-- Faction lock for the shared story and class quests. Quests above already carry their own team row.
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `ConditionTypeOrReference` = 6 AND `SourceEntry` IN (
56775, 58209, 58208, 55122, 54951, 54952, 55174, 59339, 59342, 55193, 56034, 55879, 55194, 55196, 55763, 55764, 55881, 55882, 55965, 55639, 56344, 55981, 55988, 55989, 55990, 55992, 55991,
58914, 58915, 58917, 58933, 58923, 58946, 58953, 58960, 58962, 59002, 59347, 59349, 59350, 59352, 59354, 59355, 59356, 60168,
59926, 59927, 59928, 59929, 59930, 59931, 59932, 59934, 59937, 59940, 59941, 59942, 59943, 59944, 59945, 59946, 59947, 59948, 59949, 59950, 59975, 59978, 59979, 59980, 59981, 59984, 59985,
59951, 59952, 59953, 59954, 59955, 59956, 59957, 59958, 59961, 59965, 59967, 59968, 59969, 59970, 59971, 59972, 60162, 60174,
54933, 56839
);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 56775, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Warming Up - Alliance'),
(19, 0, 58209, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Stand Your Ground - Alliance'),
(19, 0, 58208, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Brace for Impact - Alliance'),
(19, 0, 55122, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Murloc Mania - Alliance'),
(19, 0, 54951, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Emergency First Aid - Alliance'),
(19, 0, 54952, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Finding the Lost Expedition - Alliance'),
(19, 0, 55174, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Cooking Meat - Alliance'),
(19, 0, 59339, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile monk tactics - Alliance'),
(19, 0, 59342, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Taming the Wilds - Alliance'),
(19, 0, 55193, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Scout-o-Matic - Alliance'),
(19, 0, 56034, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Re-sizing - Alliance'),
(19, 0, 55879, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile boar ride - Alliance'),
(19, 0, 55194, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Stocking Up - Alliance'),
(19, 0, 55196, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Harpy Problem - Alliance'),
(19, 0, 55763, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Rescue Meredy - Alliance'),
(19, 0, 55764, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Harpy Culling - Alliance'),
(19, 0, 55881, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Purge the Totems - Alliance'),
(19, 0, 55882, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Message to Base - Alliance'),
(19, 0, 55965, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Westward Bound - Alliance'),
(19, 0, 55639, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Who Lurks - Alliance'),
(19, 0, 56344, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile To Darkmaul - Alliance'),
(19, 0, 55981, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Right Beneath Their Eyes - Alliance'),
(19, 0, 55988, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Like Ogres - Alliance'),
(19, 0, 55989, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Catapult Destruction - Alliance'),
(19, 0, 55990, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Controlling their Stones - Alliance'),
(19, 0, 55992, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Dungeon - Alliance'),
(19, 0, 55991, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile An End to Beginnings - Alliance'),
(19, 0, 58914, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Warrior''s End - Alliance'),
(19, 0, 58915, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Hjalmar - Alliance'),
(19, 0, 58917, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Rogue''s End - Alliance'),
(19, 0, 58933, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Deadliest of Poisons - Alliance'),
(19, 0, 58923, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Paladin''s Service - Alliance'),
(19, 0, 58946, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile The Divine''s Shield - Alliance'),
(19, 0, 58953, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Priest''s End - Alliance'),
(19, 0, 58960, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Resurrecting the Recruits - Alliance'),
(19, 0, 58962, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Warlock''s Bargain - Alliance'),
(19, 0, 59002, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Shaman''s Duty - Alliance'),
(19, 0, 59347, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Monk''s Focus - Alliance'),
(19, 0, 59349, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile One Last Spar - Alliance'),
(19, 0, 59350, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Druid''s Form - Alliance'),
(19, 0, 59352, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Mage''s Knowledge - Alliance'),
(19, 0, 59354, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Best Way to Use Sheep - Alliance'),
(19, 0, 59355, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile A Hunter''s Trap - Alliance'),
(19, 0, 59356, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Hunting the Stalker - Alliance'),
(19, 0, 60168, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile The Art of Taming - Alliance'),
(19, 0, 59926, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Warming Up - Horde'),
(19, 0, 59927, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Stand Your Ground - Horde'),
(19, 0, 59928, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Brace for Impact - Horde'),
(19, 0, 59929, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Murloc Mania - Horde'),
(19, 0, 59930, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Emergency First Aid - Horde'),
(19, 0, 59931, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Finding the Lost Expedition - Horde'),
(19, 0, 59932, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Cooking Meat - Horde'),
(19, 0, 59934, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile monk tactics - Horde'),
(19, 0, 59937, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Taming the Wilds - Horde'),
(19, 0, 59940, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Choppy Booster - Horde'),
(19, 0, 59941, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Re-sizing - Horde'),
(19, 0, 59942, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile The Re-Deather - Horde'),
(19, 0, 59943, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Harpy Problem - Horde'),
(19, 0, 59944, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Rescue Herbert - Horde'),
(19, 0, 59945, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Harpy Culling - Horde'),
(19, 0, 59946, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Purge the Totems - Horde'),
(19, 0, 59947, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Message to Base - Horde'),
(19, 0, 59948, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Westward Bound - Horde'),
(19, 0, 59949, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Who Lurks - Horde'),
(19, 0, 59950, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Stocking Up - Horde'),
(19, 0, 59975, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile To Darkmaul - Horde'),
(19, 0, 59978, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Right Beneath Their Eyes - Horde'),
(19, 0, 59979, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Like Ogres - Horde'),
(19, 0, 59980, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Catapult Destruction - Horde'),
(19, 0, 59981, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Controlling their Stones - Horde'),
(19, 0, 59984, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Dungeon - Horde'),
(19, 0, 59985, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile An End to Beginnings - Horde'),
(19, 0, 59951, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Druid''s Form - Horde'),
(19, 0, 59952, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Hunter''s Trap - Horde'),
(19, 0, 59953, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Hunting the Stalker - Horde'),
(19, 0, 60162, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile The Art of Taming - Horde'),
(19, 0, 59954, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Mage''s Knowledge - Horde'),
(19, 0, 59955, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Best Way to Use Sheep - Horde'),
(19, 0, 59956, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Monk''s Focus - Horde'),
(19, 0, 59957, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile One Last Spar - Horde'),
(19, 0, 59958, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Paladin''s Service - Horde'),
(19, 0, 60174, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile The Divine''s Shield - Horde'),
(19, 0, 59961, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Priest''s End - Horde'),
(19, 0, 59965, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Resurrecting the Recruits - Horde'),
(19, 0, 59967, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Rogue''s End - Horde'),
(19, 0, 59968, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Deadliest of Poisons - Horde'),
(19, 0, 59969, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Shaman''s Duty - Horde'),
(19, 0, 59970, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Warlock''s Bargain - Horde'),
(19, 0, 59971, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile A Warrior''s End - Horde'),
(19, 0, 59972, 0, 0, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Hjalmar - Horde'),
-- Freeing the Light and Killclaw already have one ElseGroup per faction. The team row belongs in that same group.
(19, 0, 54933, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Freeing the Light - Alliance'),
(19, 0, 54933, 0, 1, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Freeing the Light - Horde'),
(19, 0, 56839, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Exile Killclaw - Alliance'),
(19, 0, 56839, 0, 1, 6, 0, 67, 0, 0, 0, 0, 0, '', 'Exile Killclaw - Horde');
-- Coulston's credit gossip existed, but the creature was never linked to it.
DELETE FROM `creature_template_gossip` WHERE `CreatureID` = 162972 AND `MenuID` = 27999;
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES (162972, 27999, 69875);
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (163338, 163209, 167478, 167184, 164865);
UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 164865;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (163338, 163209, 167478, 167184, 164865);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `comment`) VALUES
(163338, 0, 0, 0, '', 9, 0, 100, 0, 0, 8, 2000, 2000, 0, '', 33, 163338, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 'Exile ghost wolf - free the pack after the blossoms are burned'),
(163209, 0, 0, 1, '', 62, 0, 100, 0, 25143, 0, 0, 0, 0, '', 33, 163209, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 'Exile Hubert Lucas - body investigated'),
(163209, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 163218, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 'Exile Hubert Lucas - grimoire summons the voidwalker'),
(167478, 0, 0, 1, '', 62, 0, 100, 0, 25576, 0, 0, 0, 0, '', 33, 167478, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 'Exile Sprag Buzzboom - body investigated'),
(167478, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 167482, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 'Exile Sprag Buzzboom - grimoire summons the voidwalker'),
(167184, 0, 0, 0, '', 62, 0, 100, 0, 25589, 0, 0, 0, 0, '', 33, 167184, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 'Exile Drizza - first expedition rogue found'),
(164865, 0, 0, 0, '', 25, 0, 100, 0, 0, 0, 0, 0, 0, '', 8, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 'Exile sparring partner - stay passive'),
(164865, 0, 1, 0, '', 8, 0, 100, 0, 320863, 0, 0, 0, 0, '', 33, 164865, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 'Exile sparring partner - Touch of Death');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` IN (163338, 163209, 167478);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 0, 163338, 0, 0, 60, 0, 59002, 395317, 1, 0, 0, 0, '', 'Free the ghost wolf after Alliance blossoms are burned'),
(22, 0, 163338, 0, 1, 60, 0, 59969, 397336, 1, 0, 0, 0, '', 'Free the ghost wolf after Horde blossoms are burned'),
(22, 1, 163209, 0, 0, 2, 0, 174947, 1, 0, 0, 0, 0, '', 'Summon the voidwalker once the old grimoire is in the bag'),
(22, 1, 167478, 0, 0, 2, 0, 174947, 1, 0, 0, 0, 0, '', 'Summon the voidwalker once the old grimoire is in the bag');
UPDATE `creature` SET `PhaseId` = 0 WHERE `id` = 160664 AND `map` = 2261;
UPDATE `creature` SET `PhaseId` = 0 WHERE `id` = 166583 AND `map` = 2369;
UPDATE `trainer_spell` SET `ReqSkillLine` = 0, `ReqSkillRank` = 0 WHERE `ReqSkillLine` = 129;
DELETE FROM `gossip_menu` WHERE `MenuID` = 27999;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES (27999, 1, 69875);
UPDATE `vehicle_template_accessory` SET `summontype` = 8 WHERE `summontype` = 0;
DELETE FROM `game_event` WHERE `eventEntry` = 152;
INSERT INTO `game_event` (`eventEntry`, `start_time`, `end_time`, `occurence`, `length`, `holiday`, `holidayStage`, `description`, `world_event`, `announce`)
VALUES (152, '2024-01-01 00:00:00', '2035-01-01 00:00:00', 5184000, 315360000, 0, 0, 'Arena Season 39', 0, 2);
DELETE FROM `game_event_arena_seasons` WHERE `season` = 39;
INSERT INTO `game_event_arena_seasons` (`eventEntry`, `season`) VALUES (152, 39);
DELETE FROM `spell_script_names` WHERE `spell_id` = 321628 AND `ScriptName` = 'spell_giant_boar_charge_321627';
UPDATE `creature_template` SET `ScriptName` = 'npc_tushui_leading_trainee' WHERE `entry` IN (54587, 65471);
UPDATE `areatrigger_create_properties` SET `ScriptName` = 'at_boss_the_coaglamation_blood_surge' WHERE `Id` = 34362 AND `IsCustom` = 0;
DELETE FROM `conversation_actors` WHERE `ConversationId` IN (12078, 12086, 12087, 12088, 12090, 13712) AND `Idx` IN (0, 1);
INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `ConversationActorGuid`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`) VALUES
(12078, 0, 0, 0, 149899, 0, 1, 0),
(12078, 0, 0, 1, 0, 0, 0, 1),
(12086, 0, 0, 0, 0, 0, 0, 1),
(12086, 0, 0, 1, 149899, 0, 1, 0),
(12087, 0, 0, 0, 0, 0, 0, 1),
(12087, 0, 0, 1, 149899, 0, 1, 0),
(12088, 0, 0, 0, 0, 0, 0, 1),
(12088, 0, 0, 1, 149899, 0, 1, 0),
(12090, 0, 0, 0, 0, 0, 0, 1),
(12090, 0, 0, 1, 156280, 0, 1, 0),
(13712, 0, 0, 0, 151091, 0, 1, 0),
(13712, 0, 0, 1, 0, 0, 0, 1);
-- The summoned Giant Boar (156267) is the vehicle the player rides.
-- It had no action-bar spell, so Trample never appeared and the button did nothing.
DELETE FROM `creature_template_spell` WHERE `CreatureID` = 156267 AND `Index` = 0;
INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES
(156267, 0, 305557, 69875);
INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`) VALUES
(54933, 0, 0, 0, 0), -- Freeing the Light
(54951, 55122, 54952, 0, 0), -- Emergency First Aid (Alliance)
(54952, 54951, 55174, 0, 0), -- Finding the Lost Expedition (Alliance)
(55122, 58208, 54951, 0, 0), -- Murloc Mania (Alliance)
(55173, 55174, 0, 0, 0), -- Northbound (Alliance)
(55174, 54952, 0, 0, 0), -- Cooking Meat (Alliance)
(55184, 55173, 55193, -55193, 0), -- Quilboar Shadow Magic (Alliance)
(55186, 55173, 55193, -55193, 0), -- Down with the Quilboar (Alliance)
(55193, 0, 56034, 0, 0), -- The Scout-o-Matic 5000 (Alliance)
(55194, 55879, 0, 0, 0), -- Stocking Up on Supplies (Alliance)
(55196, 55194, 0, 0, 0), -- The Harpy Problem (Alliance)
(55639, 55965, 85678, 0, 0), -- Who Lurks in the Pit (Alliance)
(55763, 55196, 55882, -55882, 0), -- The Rescue of Meredy Huntswell (Alliance)
(55764, 55196, 55882, -55882, 0), -- Harpy Culling (Alliance)
(55879, 56034, 55194, 0, 0), -- Ride of the Scientifically Enhanced Boar (Alliance)
(55881, 55196, 55882, -55882, 0), -- Purge the Totems (Alliance)
(55882, 0, 0, 0, 0), -- Message to Base (Alliance)
(55965, 55194, 55639, 0, 0), -- Westward Bound (Alliance)
(55981, 56344, 0, 0, 0), -- Right Beneath Their Eyes (Alliance)
(55988, 55981, 55992, -55992, 0), -- Like Ogres to the Slaughter (Alliance)
(55989, 55981, 55992, -55992, 0), -- Catapult Destruction (Alliance)
(55990, 55981, 55992, -55992, 0), -- Controlling their Stones (Alliance)
(55991, 55992, 0, 0, 0), -- An End to Beginnings (Alliance)
(55992, 0, 55991, 0, 0), -- Dungeon: Darkmaul Citadel (Alliance)
(56034, 55193, 55879, 0, 0), -- Re-sizing the Situation (Alliance)
(56344, 55882, 55981, 0, 0), -- To Darkmaul Citadel (Alliance)
(56775, 0, 58209, 0, 0), -- Warming Up (Alliance)
(56839, 0, 0, 0, 0), -- Killclaw the Terrible
(58208, 58209, 55122, 0, 0), -- Brace for Impact (Alliance)
(58209, 56775, 58208, 0, 0), -- Stand Your Ground (Alliance)
(58914, 55639, 58915, 0, 0), -- A Warrior's End (Alliance)
(58915, 58914, 0, 0, 0), -- Hjalmar's Final Execution (Alliance)
(58917, 55194, 58933, 0, 0), -- A Rogue's End (Alliance)
(58923, 55194, 58946, 0, 0), -- A Paladin's Service (Alliance)
(58933, 58917, 0, 0, 0), -- The Deadliest of Poisons (Alliance)
(58946, 58923, 0, 0, 0), -- The Divine's Shield (Alliance)
(58953, 55194, 58960, 0, 0), -- A Priest's End (Alliance)
(58960, 58953, 0, 0, 0), -- Resurrecting the Recruits (Alliance)
(58962, 55639, 0, 0, 0), -- A Warlock's Bargain (Alliance)
(59002, 55639, 0, 0, 0), -- A Shaman's Duty (Alliance)
(59254, 55174, 0, 0, 0), -- Enhanced Combat Tactics (Alliance)
(59339, 55174, 0, 0, 0), -- Enhanced Combat Tactics (Alliance)
(59342, 55173, 0, 0, 0), -- Taming the Wilds (Alliance)
(59347, 55882, 59349, 0, 0), -- A Monk's Focus (Alliance)
(59349, 59347, 0, 0, 0), -- One Last Spar (Alliance)
(59350, 55639, 0, 0, 0), -- A Druid's Form (Alliance)
(59352, 55882, 59354, 0, 0), -- A Mage's Knowledge (Alliance)
(59354, 59352, 0, 0, 0), -- The Best Way to Use Sheep (Alliance)
(59355, 55882, 59356, 0, 0), -- A Hunter's Trap (Alliance)
(59356, 59355, 60168, 0, 0), -- Hunting the Stalker (Alliance)
(59926, 0, 59927, 0, 0), -- Warming Up (Horde)
(59927, 59926, 59928, 0, 0), -- Stand Your Ground (Horde)
(59928, 59927, 59929, 0, 0), -- Brace for Impact (Horde)
(59929, 59928, 59930, 0, 0), -- Murloc Mania (Horde)
(59930, 59929, 59931, 0, 0), -- Emergency First Aid (Horde)
(59931, 59930, 59932, 0, 0), -- Finding the Lost Expedition (Horde)
(59932, 59931, 0, 0, 0), -- Cooking Meat (Horde)
(59933, 59932, 0, 0, 0), -- Enhanced Combat Tactics (Horde)
(59934, 59932, 0, 0, 0), -- Enhanced Combat Tactics (Horde)
(59935, 59932, 0, 0, 0), -- Northbound (Horde)
(59937, 59935, 0, 0, 0), -- Taming the Wilds (Horde)
(59938, 59935, 59940, -59940, 0), -- Down with the Quilboar (Horde)
(59939, 59935, 59940, -59940, 0), -- Forbidden Quillboar Shadow Magic (Horde)
(59940, 0, 59941, 0, 0), -- The Choppy Booster Mk. 5 (Horde)
(59941, 59940, 59942, 0, 0), -- Re-sizing the Situation (Horde)
(59942, 59941, 59950, 0, 0), -- The Re-Deather (Horde)
(59943, 59950, 0, 0, 0), -- The Harpy Problem (Horde)
(59944, 59943, 59947, -59947, 0), -- The Rescue of Herbert Gloomburst (Horde)
(59945, 59943, 59947, -59947, 0), -- Harpy Culling (Horde)
(59946, 59943, 59947, -59947, 0), -- Purge the Totems (Horde)
(59947, 0, 0, 0, 0), -- Message to Base (Horde)
(59948, 59950, 59949, 0, 0), -- Westward Bound (Horde)
(59949, 59948, 85679, 0, 0), -- Who Lurks in the Pit (Horde)
(59950, 59942, 0, 0, 0), -- Stocking Up on Supplies (Horde)
(59951, 59949, 0, 0, 0), -- A Druid's Form (Horde)
(59952, 59947, 59953, 0, 0), -- A Hunter's Trap (Horde)
(59953, 59952, 60162, 0, 0), -- Hunting the Stalker (Horde)
(59954, 59947, 59955, 0, 0), -- A Mage's Knowledge (Horde)
(59955, 59954, 0, 0, 0), -- The Best Way to Use Sheep (Horde)
(59956, 59947, 59957, 0, 0), -- A Monk's Focus (Horde)
(59957, 59956, 0, 0, 0), -- One Last Spar (Horde)
(59958, 59950, 60174, 0, 0), -- A Paladin's Service (Horde)
(59961, 59950, 59965, 0, 0), -- A Priest's End (Horde)
(59965, 59961, 0, 0, 0), -- Resurrecting the Recruits (Horde)
(59967, 59950, 59968, 0, 0), -- A Rogue's End (Horde)
(59968, 59967, 0, 0, 0), -- The Deadliest of Poisons (Horde)
(59969, 59949, 0, 0, 0), -- A Shaman's Duty (Horde)
(59970, 59950, 0, 0, 0), -- A Warlock's Bargain (Horde)
(59971, 59950, 59972, 0, 0), -- A Warrior's End (Horde)
(59972, 59971, 0, 0, 0), -- Hjalmar's Final Execution (Horde)
(59975, 59947, 59978, 0, 0), -- To Darkmaul Citadel (Horde)
(59978, 59975, 0, 0, 0), -- Right Beneath Their Eyes (Horde)
(59979, 59978, 59984, -59984, 0), -- Like Ogres to the Slaughter (Horde)
(59980, 59978, 59984, -59984, 0), -- Catapult Destruction (Horde)
(59981, 59978, 59984, -59984, 0), -- Controlling their Stones (Horde)
(59984, 0, 59985, 0, 0), -- Dungeon: Darkmaul Citadel (Horde)
(59985, 59984, 0, 0, 0), -- An End to Beginnings (Horde)
(60162, 59953, 0, 0, 0), -- The Art of Taming (Horde)
(60168, 59356, 0, 0, 0), -- The Art of Taming (Alliance)
(60174, 59958, 0, 0, 0), -- The Divine's Shield (Horde)
(66349, 0, 0, 0, 0), -- Training Rock
(85678, 55639, 0, 0, 0), -- Repair Yourself (Alliance)
(85679, 59949, 0, 0, 0); -- Repair Yourself (Horde)
ON DUPLICATE KEY UPDATE
`PrevQuestID` = VALUES(`PrevQuestID`),
`NextQuestID` = VALUES(`NextQuestID`),
`ExclusiveGroup` = VALUES(`ExclusiveGroup`),
`BreadcrumbForQuestId` = VALUES(`BreadcrumbForQuestId`);
-- Retail quest givers and turn-ins that were missing. The creature and quest pairs are the
-- sniffed rows of TrinityCore TDB 1210.26091, so every quest can be picked up and handed in
-- at the phase copy retail uses. Rows already present stay; only these are added.
-- 26 givers.
DELETE FROM `creature_queststarter` WHERE (`id`, `quest`) IN (
(156626, 54951), -- Lady Jaina Proudmoore: Emergency First Aid (Alliance)
(156626, 54952), -- Lady Jaina Proudmoore: Finding the Lost Expedition (Alliance)
(156626, 55122), -- Lady Jaina Proudmoore: Murloc Mania (Alliance)
(175031, 55173), -- Alaria: Northbound (Alliance)
(156651, 55174), -- Captain Garrick: Cooking Meat (Alliance)
(154327, 55184), -- Austin Huxworth: Quilboar Shadow Magic (Alliance)
(154327, 55186), -- Austin Huxworth: Down with the Quilboar (Alliance)
(149899, 55193), -- Lindie Springstock: The Scout-o-Matic 5000 (Alliance)
(156807, 55194), -- Lady Jaina Proudmoore: Stocking Up on Supplies (Alliance)
(156280, 55879), -- Lady Jaina Proudmoore: Ride of the Scientifically Enhanced Boar (Alliance)
(154300, 55965), -- Bjorn Stouthands: Westward Bound (Alliance)
(149899, 56034), -- Lindie Springstock: Re-sizing the Situation (Alliance)
(160664, 58208), -- Private Cole: Brace for Impact (Alliance)
(166583, 59928), -- Grunt Throg: Brace for Impact (Horde)
(166782, 59929), -- Thrall: Murloc Mania (Horde)
(166782, 59930), -- Thrall: Emergency First Aid (Horde)
(166782, 59931), -- Thrall: Finding the Lost Expedition (Horde)
(166906, 59932), -- Warlord Breka Grimaxe: Cooking Meat (Horde)
(175030, 59935), -- Won'sa: Northbound (Horde)
(166996, 59938), -- Mithdran Dawntracker: Down with the Quilboar (Horde)
(166996, 59939), -- Mithdran Dawntracker: Forbidden Quillboar Shadow Magic (Horde)
(167019, 59940), -- Cork Fizzlepop: The Choppy Booster Mk. 5 (Horde)
(167019, 59941), -- Cork Fizzlepop: Re-sizing the Situation (Horde)
(167019, 59942), -- Cork Fizzlepop: The Re-Deather (Horde)
(167221, 59948), -- Lana Jordan: Westward Bound (Horde)
(167212, 59950) -- Thrall: Stocking Up on Supplies (Horde)
);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(156626, 54951, 69875), -- Lady Jaina Proudmoore: Emergency First Aid (Alliance)
(156626, 54952, 69875), -- Lady Jaina Proudmoore: Finding the Lost Expedition (Alliance)
(156626, 55122, 69875), -- Lady Jaina Proudmoore: Murloc Mania (Alliance)
(175031, 55173, 69875), -- Alaria: Northbound (Alliance)
(156651, 55174, 69875), -- Captain Garrick: Cooking Meat (Alliance)
(154327, 55184, 69875), -- Austin Huxworth: Quilboar Shadow Magic (Alliance)
(154327, 55186, 69875), -- Austin Huxworth: Down with the Quilboar (Alliance)
(149899, 55193, 69875), -- Lindie Springstock: The Scout-o-Matic 5000 (Alliance)
(156807, 55194, 69875), -- Lady Jaina Proudmoore: Stocking Up on Supplies (Alliance)
(156280, 55879, 69875), -- Lady Jaina Proudmoore: Ride of the Scientifically Enhanced Boar (Alliance)
(154300, 55965, 69875), -- Bjorn Stouthands: Westward Bound (Alliance)
(149899, 56034, 69875), -- Lindie Springstock: Re-sizing the Situation (Alliance)
(160664, 58208, 69875), -- Private Cole: Brace for Impact (Alliance)
(166583, 59928, 69875), -- Grunt Throg: Brace for Impact (Horde)
(166782, 59929, 69875), -- Thrall: Murloc Mania (Horde)
(166782, 59930, 69875), -- Thrall: Emergency First Aid (Horde)
(166782, 59931, 69875), -- Thrall: Finding the Lost Expedition (Horde)
(166906, 59932, 69875), -- Warlord Breka Grimaxe: Cooking Meat (Horde)
(175030, 59935, 69875), -- Won'sa: Northbound (Horde)
(166996, 59938, 69875), -- Mithdran Dawntracker: Down with the Quilboar (Horde)
(166996, 59939, 69875), -- Mithdran Dawntracker: Forbidden Quillboar Shadow Magic (Horde)
(167019, 59940, 69875), -- Cork Fizzlepop: The Choppy Booster Mk. 5 (Horde)
(167019, 59941, 69875), -- Cork Fizzlepop: Re-sizing the Situation (Horde)
(167019, 59942, 69875), -- Cork Fizzlepop: The Re-Deather (Horde)
(167221, 59948, 69875), -- Lana Jordan: Westward Bound (Horde)
(167212, 59950, 69875); -- Thrall: Stocking Up on Supplies (Horde)
-- 44 turn-ins.
DELETE FROM `creature_questender` WHERE (`id`, `quest`) IN (
(157114, 54933), -- Lightspawn: Freeing the Light
(156626, 54951), -- Lady Jaina Proudmoore: Emergency First Aid (Alliance)
(156607, 54952), -- Alaria: Finding the Lost Expedition (Alliance)
(156626, 55122), -- Lady Jaina Proudmoore: Murloc Mania (Alliance)
(154327, 55173), -- Austin Huxworth: Northbound (Alliance)
(156607, 55174), -- Alaria: Cooking Meat (Alliance)
(149915, 55184), -- Austin Huxworth: Quilboar Shadow Magic (Alliance)
(149899, 55186), -- Lindie Springstock: Down with the Quilboar (Alliance)
(149899, 55193), -- Lindie Springstock: The Scout-o-Matic 5000 (Alliance)
(156807, 55194), -- Lady Jaina Proudmoore: Stocking Up on Supplies (Alliance)
(156799, 55879), -- Wrathion: Ride of the Scientifically Enhanced Boar (Alliance)
(156891, 55965), -- Bjorn Stouthands: Westward Bound (Alliance)
(156280, 56034), -- Lady Jaina Proudmoore: Re-sizing the Situation (Alliance)
(155733, 56839), -- Hidden Treasure Chest: Killclaw the Terrible
(166782, 59929), -- Thrall: Murloc Mania (Horde)
(166782, 59930), -- Thrall: Emergency First Aid (Horde)
(166854, 59931), -- Won'sa: Finding the Lost Expedition (Horde)
(166906, 59931), -- Warlord Breka Grimaxe: Finding the Lost Expedition (Horde)
(166854, 59932), -- Won'sa: Cooking Meat (Horde)
(166996, 59935), -- Mithdran Dawntracker: Northbound (Horde)
(167019, 59938), -- Cork Fizzlepop: Down with the Quilboar (Horde)
(167020, 59939), -- Mithdran Dawntracker: Forbidden Quillboar Shadow Magic (Horde)
(167019, 59940), -- Cork Fizzlepop: The Choppy Booster Mk. 5 (Horde)
(167021, 59941), -- Thrall: Re-sizing the Situation (Horde)
(167126, 59942), -- Wrathion: The Re-Deather (Horde)
(167128, 59942), -- Wrathion: The Re-Deather (Horde)
(167291, 59943), -- Bo: The Harpy Problem (Horde)
(167182, 59944), -- Herbert Gloomburst: The Rescue of Herbert Gloomburst (Horde)
(167291, 59945), -- Bo: Harpy Culling (Horde)
(167291, 59946), -- Bo: Purge the Totems (Horde)
(167212, 59947), -- Thrall: Message to Base (Horde)
(167225, 59948), -- Lana Jordan: Westward Bound (Horde)
(167212, 59949), -- Thrall: Who Lurks in the Pit (Horde)
(167212, 59950), -- Thrall: Stocking Up on Supplies (Horde)
(167596, 59975), -- Thrall: To Darkmaul Citadel (Horde)
(167633, 59978), -- Thrall: Right Beneath Their Eyes (Horde)
(167632, 59979), -- Breka Grimaxe: Like Ogres to the Slaughter (Horde)
(167630, 59980), -- Shuja Grimaxe: Catapult Destruction (Horde)
(167183, 59981), -- Warlord Mulgrin Thunderwalker: Controlling their Stones (Horde)
(167675, 59984), -- Thrall: Dungeon: Darkmaul Citadel (Horde)
(244496, 59985), -- Kalecgos: An End to Beginnings (Horde)
(167212, 85679), -- Thrall: Repair Yourself (Horde)
(244496, 90840), -- Kalecgos: What's Your Specialty? (Horde)
(244496, 90842) -- Kalecgos: Home Is Where the Hearth Is (Horde)
);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(157114, 54933, 69875), -- Lightspawn: Freeing the Light
(156626, 54951, 69875), -- Lady Jaina Proudmoore: Emergency First Aid (Alliance)
(156607, 54952, 69875), -- Alaria: Finding the Lost Expedition (Alliance)
(156626, 55122, 69875), -- Lady Jaina Proudmoore: Murloc Mania (Alliance)
(154327, 55173, 69875), -- Austin Huxworth: Northbound (Alliance)
(156607, 55174, 69875), -- Alaria: Cooking Meat (Alliance)
(149915, 55184, 69875), -- Austin Huxworth: Quilboar Shadow Magic (Alliance)
(149899, 55186, 69875), -- Lindie Springstock: Down with the Quilboar (Alliance)
(149899, 55193, 69875), -- Lindie Springstock: The Scout-o-Matic 5000 (Alliance)
(156807, 55194, 69875), -- Lady Jaina Proudmoore: Stocking Up on Supplies (Alliance)
(156799, 55879, 69875), -- Wrathion: Ride of the Scientifically Enhanced Boar (Alliance)
(156891, 55965, 69875), -- Bjorn Stouthands: Westward Bound (Alliance)
(156280, 56034, 69875), -- Lady Jaina Proudmoore: Re-sizing the Situation (Alliance)
(155733, 56839, 69875), -- Hidden Treasure Chest: Killclaw the Terrible
(166782, 59929, 69875), -- Thrall: Murloc Mania (Horde)
(166782, 59930, 69875), -- Thrall: Emergency First Aid (Horde)
(166854, 59931, 69875), -- Won'sa: Finding the Lost Expedition (Horde)
(166906, 59931, 69875), -- Warlord Breka Grimaxe: Finding the Lost Expedition (Horde)
(166854, 59932, 69875), -- Won'sa: Cooking Meat (Horde)
(166996, 59935, 69875), -- Mithdran Dawntracker: Northbound (Horde)
(167019, 59938, 69875), -- Cork Fizzlepop: Down with the Quilboar (Horde)
(167020, 59939, 69875), -- Mithdran Dawntracker: Forbidden Quillboar Shadow Magic (Horde)
(167019, 59940, 69875), -- Cork Fizzlepop: The Choppy Booster Mk. 5 (Horde)
(167021, 59941, 69875), -- Thrall: Re-sizing the Situation (Horde)
(167126, 59942, 69875), -- Wrathion: The Re-Deather (Horde)
(167128, 59942, 69875), -- Wrathion: The Re-Deather (Horde)
(167291, 59943, 69875), -- Bo: The Harpy Problem (Horde)
(167182, 59944, 69875), -- Herbert Gloomburst: The Rescue of Herbert Gloomburst (Horde)
(167291, 59945, 69875), -- Bo: Harpy Culling (Horde)
(167291, 59946, 69875), -- Bo: Purge the Totems (Horde)
(167212, 59947, 69875), -- Thrall: Message to Base (Horde)
(167225, 59948, 69875), -- Lana Jordan: Westward Bound (Horde)
(167212, 59949, 69875), -- Thrall: Who Lurks in the Pit (Horde)
(167212, 59950, 69875), -- Thrall: Stocking Up on Supplies (Horde)
(167596, 59975, 69875), -- Thrall: To Darkmaul Citadel (Horde)
(167633, 59978, 69875), -- Thrall: Right Beneath Their Eyes (Horde)
(167632, 59979, 69875), -- Breka Grimaxe: Like Ogres to the Slaughter (Horde)
(167630, 59980, 69875), -- Shuja Grimaxe: Catapult Destruction (Horde)
(167183, 59981, 69875), -- Warlord Mulgrin Thunderwalker: Controlling their Stones (Horde)
(167675, 59984, 69875), -- Thrall: Dungeon: Darkmaul Citadel (Horde)
(244496, 59985, 69875), -- Kalecgos: An End to Beginnings (Horde)
(167212, 85679, 69875), -- Thrall: Repair Yourself (Horde)
(244496, 90840, 69875), -- Kalecgos: What's Your Specialty? (Horde)
(244496, 90842, 69875); -- Kalecgos: Home Is Where the Hearth Is (Horde)
-- Faction. Retail keeps the two versions of every step apart through the race mask, not through
-- conditions. Alliance 2973060173 and Horde 1309324210 are RACEMASK_ALLIANCE and RACEMASK_HORDE
-- of this core, so every playable race of that faction is included, allied races and Haranir too.
-- Freeing the Light, Killclaw the Terrible and Training Rock have no faction on retail.
UPDATE `quest_template` SET `AllowableRaces` = 2973060173 WHERE `ID` IN (
54951, 54952, 55122, 55173, 55174, 55184, 55186, 55193, 55194, 55196, 55639, 55763, 55764, 55879, 55881,
55882, 55965, 55981, 55988, 55989, 55990, 55991, 55992, 56034, 56344, 56775, 58208, 58209, 58914, 58915,
58917, 58923, 58933, 58946, 58953, 58960, 58962, 59002, 59254, 59339, 59342, 59347, 59349, 59350, 59352,
59354, 59355, 59356, 60168, 85678
);
UPDATE `quest_template` SET `AllowableRaces` = 1309324210 WHERE `ID` IN (
59926, 59927, 59928, 59929, 59930, 59931, 59932, 59933, 59934, 59935, 59937, 59938, 59939, 59940, 59941,
59942, 59943, 59944, 59945, 59946, 59947, 59948, 59949, 59950, 59951, 59952, 59953, 59954, 59955, 59956,
59957, 59958, 59961, 59965, 59967, 59968, 59969, 59970, 59971, 59972, 59975, 59978, 59979, 59980, 59981,
59984, 59985, 60162, 60174, 85679
);
UPDATE `quest_template` SET `AllowableRaces` = 4290772991 WHERE `ID` IN (54933, 56839, 66349);
-- Enhanced Combat Tactics is warrior, paladin, rogue, priest, shaman, mage, warlock and druid on
-- retail. Monks use their own version, hunters get Taming the Wilds, and death knights, demon
-- hunters and evokers get neither and walk straight to Northbound.
INSERT INTO `quest_template_addon` (`ID`, `AllowableClasses`) VALUES
(59254, 1499), -- Enhanced Combat Tactics (Alliance)
(59933, 1499) -- Enhanced Combat Tactics (Horde)
ON DUPLICATE KEY UPDATE `AllowableClasses` = VALUES(`AllowableClasses`);
-- The quest-available conditions that gated this zone are gone. Northbound sat behind a rewarded
-- tactics quest, which no death knight, demon hunter or evoker can ever satisfy, so the island
-- ended for them at the Abandoned Camp. Order now comes from the chain above and faction from the
-- race mask, which is how retail does it.
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `ConditionTypeOrReference` IN (6, 8, 15) AND `SourceEntry` IN (
54933, 54951, 54952, 55122, 55173, 55174, 55184, 55186, 55193, 55194, 55196, 55639, 55763, 55764, 55879,
55881, 55882, 55965, 55981, 55988, 55989, 55990, 55991, 55992, 56034, 56344, 56775, 56839, 58208, 58209,
58914, 58915, 58917, 58923, 58933, 58946, 58953, 58960, 58962, 59002, 59254, 59339, 59342, 59347, 59349,
59350, 59352, 59354, 59355, 59356, 59926, 59927, 59928, 59929, 59930, 59931, 59932, 59933, 59934, 59935,
59937, 59938, 59939, 59940, 59941, 59942, 59943, 59944, 59945, 59946, 59947, 59948, 59949, 59950, 59951,
59952, 59953, 59954, 59955, 59956, 59957, 59958, 59961, 59965, 59967, 59968, 59969, 59970, 59971, 59972,
59975, 59978, 59979, 59980, 59981, 59984, 59985, 60162, 60168, 60174, 66349, 85678, 85679
);