From fa54e9ab0af8b6dca5579b4799eda8a32b779b1d Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 21 May 2018 19:12:29 +0200 Subject: [PATCH 01/49] Core/DBLayer: Escape even more keywords --- src/server/game/Globals/ObjectMgr.cpp | 2 +- src/server/game/Groups/GroupMgr.cpp | 12 ++++++------ src/server/game/Instances/InstanceSaveMgr.cpp | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 673647a3d3..a7a33a3193 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -6831,7 +6831,7 @@ void ObjectMgr::SetHighestGuids() if (result) sGuildMgr->SetNextGuildId((*result)[0].GetUInt32() + 1); - result = CharacterDatabase.Query("SELECT MAX(guid) FROM groups"); + result = CharacterDatabase.Query("SELECT MAX(guid) FROM `groups`"); if (result) sGroupMgr->SetGroupDbStoreSize((*result)[0].GetUInt32() + 1); diff --git a/src/server/game/Groups/GroupMgr.cpp b/src/server/game/Groups/GroupMgr.cpp index 81f9498716..db212b9e3f 100644 --- a/src/server/game/Groups/GroupMgr.cpp +++ b/src/server/game/Groups/GroupMgr.cpp @@ -125,14 +125,14 @@ void GroupMgr::LoadGroups() uint32 oldMSTime = getMSTime(); // Delete all groups whose leader does not exist - CharacterDatabase.DirectExecute("DELETE FROM groups WHERE leaderGuid NOT IN (SELECT guid FROM characters)"); + CharacterDatabase.DirectExecute("DELETE FROM `groups` WHERE leaderGuid NOT IN (SELECT guid FROM characters)"); // Delete all groups with less than 2 members - CharacterDatabase.DirectExecute("DELETE FROM groups WHERE guid NOT IN (SELECT guid FROM group_member GROUP BY guid HAVING COUNT(guid) > 1)"); + CharacterDatabase.DirectExecute("DELETE FROM `groups` WHERE guid NOT IN (SELECT guid FROM group_member GROUP BY guid HAVING COUNT(guid) > 1)"); // 0 1 2 3 4 5 6 7 8 9 QueryResult result = CharacterDatabase.Query("SELECT g.leaderGuid, g.lootMethod, g.looterGuid, g.lootThreshold, g.icon1, g.icon2, g.icon3, g.icon4, g.icon5, g.icon6" // 10 11 12 13 14 15 16 17 18 - ", g.icon7, g.icon8, g.groupType, g.difficulty, g.raidDifficulty, g.masterLooterGuid, g.guid, lfg.dungeon, lfg.state FROM groups g LEFT JOIN lfg_data lfg ON lfg.guid = g.guid ORDER BY g.guid ASC"); + ", g.icon7, g.icon8, g.groupType, g.difficulty, g.raidDifficulty, g.masterLooterGuid, g.guid, lfg.dungeon, lfg.state FROM `groups` g LEFT JOIN lfg_data lfg ON lfg.guid = g.guid ORDER BY g.guid ASC"); if (!result) { TC_LOG_INFO("server.loading", ">> Loaded 0 group definitions. DB table `groups` is empty!"); @@ -168,8 +168,8 @@ void GroupMgr::LoadGroups() uint32 oldMSTime = getMSTime(); // Delete all rows from group_member or group_instance with no group - CharacterDatabase.DirectExecute("DELETE FROM group_member WHERE guid NOT IN (SELECT guid FROM groups)"); - CharacterDatabase.DirectExecute("DELETE FROM group_instance WHERE guid NOT IN (SELECT guid FROM groups)"); + CharacterDatabase.DirectExecute("DELETE FROM group_member WHERE guid NOT IN (SELECT guid FROM `groups`)"); + CharacterDatabase.DirectExecute("DELETE FROM group_instance WHERE guid NOT IN (SELECT guid FROM `groups`)"); // Delete all members that does not exist CharacterDatabase.DirectExecute("DELETE FROM group_member WHERE memberGuid NOT IN (SELECT guid FROM characters)"); @@ -207,7 +207,7 @@ void GroupMgr::LoadGroups() // 0 1 2 3 4 5 QueryResult result = CharacterDatabase.Query("SELECT gi.guid, i.map, gi.instance, gi.permanent, i.difficulty, i.resettime, " // 6 - "(SELECT COUNT(1) FROM character_instance ci LEFT JOIN groups g ON ci.guid = g.leaderGuid WHERE ci.instance = gi.instance AND ci.permanent = 1 LIMIT 1) " + "(SELECT COUNT(1) FROM character_instance ci LEFT JOIN `groups` g ON ci.guid = g.leaderGuid WHERE ci.instance = gi.instance AND ci.permanent = 1 LIMIT 1) " "FROM group_instance gi LEFT JOIN instance i ON gi.instance = i.id ORDER BY guid"); if (!result) diff --git a/src/server/game/Instances/InstanceSaveMgr.cpp b/src/server/game/Instances/InstanceSaveMgr.cpp index c07861a541..a07d9700b1 100644 --- a/src/server/game/Instances/InstanceSaveMgr.cpp +++ b/src/server/game/Instances/InstanceSaveMgr.cpp @@ -273,7 +273,7 @@ void InstanceSaveManager::LoadInstances() // Delete invalid character_instance and group_instance references CharacterDatabase.DirectExecute("DELETE ci.* FROM character_instance AS ci LEFT JOIN characters AS c ON ci.guid = c.guid WHERE c.guid IS NULL"); - CharacterDatabase.DirectExecute("DELETE gi.* FROM group_instance AS gi LEFT JOIN groups AS g ON gi.guid = g.guid WHERE g.guid IS NULL"); + CharacterDatabase.DirectExecute("DELETE gi.* FROM group_instance AS gi LEFT JOIN `groups` AS g ON gi.guid = g.guid WHERE g.guid IS NULL"); // Delete invalid instance references CharacterDatabase.DirectExecute("DELETE i.* FROM instance AS i LEFT JOIN character_instance AS ci ON i.id = ci.instance LEFT JOIN group_instance AS gi ON i.id = gi.instance WHERE ci.guid IS NULL AND gi.guid IS NULL"); From da6af482f83beab252ecc7ad947a0b259f07c714 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Mon, 21 May 2018 23:21:28 +0200 Subject: [PATCH 02/49] DB/Quest: Investigate the Blue Recluse & Investigate the Alchemist Shop Closes #21950 --- .../world/3.3.5/2018_05_21_00_world_335.sql | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_21_00_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_21_00_world_335.sql b/sql/updates/world/3.3.5/2018_05_21_00_world_335.sql new file mode 100644 index 0000000000..0c6dd9878a --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_21_00_world_335.sql @@ -0,0 +1,19 @@ +-- +-- Quests "Investigate the Blue Recluse" & "Investigate the Alchemist Shop" +DELETE FROM `creature_text` WHERE `CreatureID` IN (5497,4568); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(5497,0,0,"Here, $n. Take a chest of containment coffers and a cantation of manifestation. You will need them for your mission.",12,7,100,25,0,0,2681,0,"Jennea Cannon"), +(4568,0,0,"Take a chest of containment coffers and a cantation of manifestation, $n. You will need them for your mission.",12,1,100,25,0,0,2682,0,"Anastasia Hartwell"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (5497,4568); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (5497,4568) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (549700,456800) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(5497,0,0,0,19,0,100,0,1920,0,0,0,80,549700,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jennea Cannon - On Quest 'Investigate the Blue Recluse' Taken - Run Script"), +(4568,0,0,0,19,0,100,0,1960,0,0,0,80,456800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Anastasia Hartwell - On Quest 'Investigate the Alchemist Shop' Taken - Run Script"), +(549700,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.96646,"Jennea Cannon - On Script - Set Orientation"), +(549700,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jennea Cannon - On Script - Say Line 0"), +(549700,9,2,0,0,0,100,0,10000,10000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.858,"Jennea Cannon - On Script - Set Orientation"), +(456800,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.77319,"Anastasia Hartwell - On Script - Set Orientation"), +(456800,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Anastasia Hartwell - On Script - Say Line 0"), +(456800,9,2,0,0,0,100,0,10000,10000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.05433,"Anastasia Hartwell - On Script - Set Orientation"); From 28fcefd16b275eab2e1dca2dae0ba72648ab1d37 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Mon, 21 May 2018 23:22:04 +0200 Subject: [PATCH 03/49] DB/Quest: Gathering Materials & Pristine Spider Silk Closes #21951 --- .../world/3.3.5/2018_05_21_01_world_335.sql | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_21_01_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_21_01_world_335.sql b/sql/updates/world/3.3.5/2018_05_21_01_world_335.sql new file mode 100644 index 0000000000..aef0bd7c40 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_21_01_world_335.sql @@ -0,0 +1,38 @@ +-- +-- Wynne Larson +DELETE FROM `creature_text` WHERE `CreatureID`=1309; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1309,0,0,"These are fine pieces, $n. Let me get started on your robe.",12,7,100,1,0,0,2647,0,"Wynne Larson"), +(1309,1,0,"That's it! It's all finished, $n.",12,7,100,1,0,0,2648,0,"Wynne Larson"), +(1309,2,0,"Ok, let's get to work!",12,7,100,0,0,0,2649,0,"Wynne Larson"), +(1309,3,0,"Now where did I put that silver spool...",12,7,100,0,0,0,2651,0,"Wynne Larson"), +(1309,4,0,"Aha! There it is.",12,7,100,0,0,0,2650,0,"Wynne Larson"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1309; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1309 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (130900,130901,130902,130903) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1309,0,0,0,20,0,100,0,1921,0,0,0,80,130900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Quest 'Gathering Materials' Finished - Run Script"), +(1309,0,1,0,20,0,100,0,1940,0,0,0,80,130901,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Quest 'Pristine Spider Silk' Finished - Run Script"), +(1309,0,2,0,40,0,100,0,1,1309,0,0,80,130902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Waypoint 1 Reached - Run Script"), +(1309,0,3,0,40,0,100,0,2,1309,0,0,80,130903,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Waypoint 2 Reached - Run Script"), +(130900,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Remove Npc Flag Questgiver"), +(130900,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 0"), +(130900,9,2,0,0,0,100,0,4000,4000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Cast 'Create Mage's Robe'"), +(130900,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 1"), +(130900,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Add Npc Flag Questgiver"), +(130901,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Remove Npc Flag Questgiver"), +(130901,9,1,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 2"), +(130901,9,2,0,0,0,100,0,4000,4000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 3"), +(130901,9,3,0,0,0,100,0,2000,2000,0,0,53,0,1309,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Start Waypoint"), +(130902,9,0,0,0,0,100,0,0,0,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Pause Waypoint"), +(130902,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.80513,"Wynne Larson - On Script - Set Orientation"), +(130902,9,2,0,0,0,100,0,1000,1000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 4"), +(130902,9,3,0,0,0,100,0,3000,3000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Cast 'Create Mage's Robe'"), +(130903,9,0,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.846,"Wynne Larson - On Script - Set Orientation"), +(130903,9,1,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Add Npc Flag Questgiver"); + +DELETE FROM `waypoints` WHERE `entry`=1309; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(1309,1,-8964.6,824.703,109.447,""), +(1309,2,-8963,822.517,109.447,""); From 1383fdb4989f3d153704db160f053a91ad70d83a Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Mon, 21 May 2018 23:22:33 +0200 Subject: [PATCH 04/49] DB/Creature: Tabetha Closes #21955 --- .../world/3.3.5/2018_05_21_02_world_335.sql | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_21_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql b/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql new file mode 100644 index 0000000000..aef0bd7c40 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql @@ -0,0 +1,38 @@ +-- +-- Wynne Larson +DELETE FROM `creature_text` WHERE `CreatureID`=1309; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1309,0,0,"These are fine pieces, $n. Let me get started on your robe.",12,7,100,1,0,0,2647,0,"Wynne Larson"), +(1309,1,0,"That's it! It's all finished, $n.",12,7,100,1,0,0,2648,0,"Wynne Larson"), +(1309,2,0,"Ok, let's get to work!",12,7,100,0,0,0,2649,0,"Wynne Larson"), +(1309,3,0,"Now where did I put that silver spool...",12,7,100,0,0,0,2651,0,"Wynne Larson"), +(1309,4,0,"Aha! There it is.",12,7,100,0,0,0,2650,0,"Wynne Larson"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1309; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1309 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (130900,130901,130902,130903) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1309,0,0,0,20,0,100,0,1921,0,0,0,80,130900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Quest 'Gathering Materials' Finished - Run Script"), +(1309,0,1,0,20,0,100,0,1940,0,0,0,80,130901,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Quest 'Pristine Spider Silk' Finished - Run Script"), +(1309,0,2,0,40,0,100,0,1,1309,0,0,80,130902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Waypoint 1 Reached - Run Script"), +(1309,0,3,0,40,0,100,0,2,1309,0,0,80,130903,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Waypoint 2 Reached - Run Script"), +(130900,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Remove Npc Flag Questgiver"), +(130900,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 0"), +(130900,9,2,0,0,0,100,0,4000,4000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Cast 'Create Mage's Robe'"), +(130900,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 1"), +(130900,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Add Npc Flag Questgiver"), +(130901,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Remove Npc Flag Questgiver"), +(130901,9,1,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 2"), +(130901,9,2,0,0,0,100,0,4000,4000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 3"), +(130901,9,3,0,0,0,100,0,2000,2000,0,0,53,0,1309,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Start Waypoint"), +(130902,9,0,0,0,0,100,0,0,0,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Pause Waypoint"), +(130902,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.80513,"Wynne Larson - On Script - Set Orientation"), +(130902,9,2,0,0,0,100,0,1000,1000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 4"), +(130902,9,3,0,0,0,100,0,3000,3000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Cast 'Create Mage's Robe'"), +(130903,9,0,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.846,"Wynne Larson - On Script - Set Orientation"), +(130903,9,1,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Add Npc Flag Questgiver"); + +DELETE FROM `waypoints` WHERE `entry`=1309; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(1309,1,-8964.6,824.703,109.447,""), +(1309,2,-8963,822.517,109.447,""); From 0c643e1cfc64b0e7de7fa6971bd94e03e8235f5a Mon Sep 17 00:00:00 2001 From: Killyana Date: Mon, 21 May 2018 23:36:16 +0200 Subject: [PATCH 05/49] DB: Typo --- .../world/3.3.5/2018_05_21_02_world_335.sql | 86 +++++++++++-------- 1 file changed, 52 insertions(+), 34 deletions(-) diff --git a/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql b/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql index aef0bd7c40..cf1dd0c678 100644 --- a/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql +++ b/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql @@ -1,38 +1,56 @@ --- --- Wynne Larson -DELETE FROM `creature_text` WHERE `CreatureID`=1309; +-- Tabetha +DELETE FROM `creature_text` WHERE `CreatureID`=6546 AND `GroupID` IN (1,2,3,4,5,6,7,8,9); INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES -(1309,0,0,"These are fine pieces, $n. Let me get started on your robe.",12,7,100,1,0,0,2647,0,"Wynne Larson"), -(1309,1,0,"That's it! It's all finished, $n.",12,7,100,1,0,0,2648,0,"Wynne Larson"), -(1309,2,0,"Ok, let's get to work!",12,7,100,0,0,0,2649,0,"Wynne Larson"), -(1309,3,0,"Now where did I put that silver spool...",12,7,100,0,0,0,2651,0,"Wynne Larson"), -(1309,4,0,"Aha! There it is.",12,7,100,0,0,0,2650,0,"Wynne Larson"); +(6546,1,0,"Ok, let's get this orb made...",12,0,100,0,0,0,2663,0,"Tabetha"), +(6546,2,0,"All right. It's made!",12,0,100,1,0,0,2664,0,"Tabetha"), +(6546,3,0,"Stand back, and ... hold your breath. I haven't done this in a while.",12,0,100,1,0,0,2708,0,"Tabetha"), +(6546,4,0,"It worked! Amazing! I guess I haven't lost my touch...",12,0,100,4,0,0,2709,0,"Tabetha"), +(6546,5,0,"Good luck out there, $n.",12,0,100,0,0,0,2624,0,"Tabetha"), +(6546,6,0,"I just have one thing to check...",12,0,100,0,0,0,2656,0,"Tabetha"), +(6546,7,0,"That's it! It worked!",12,0,100,4,0,0,2657,0,"Tabetha"), +(6546,8,0,"Thanks for your patience, $n.",12,0,100,2,0,0,2658,0,"Tabetha"), +(6546,9,0,"I'll just keep this here until we need it... ",12,0,100,1,0,0,2659,0,"Tabetha"); -UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1309; -DELETE FROM `smart_scripts` WHERE `entryorguid`=1309 AND `source_type`=0; -DELETE FROM `smart_scripts` WHERE `entryorguid` IN (130900,130901,130902,130903) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid`=6546 AND `source_type`=0 AND `id` IN (1,2,6,7,8,9,10); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (654604,654605,654606) AND `source_type`=9; INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(1309,0,0,0,20,0,100,0,1921,0,0,0,80,130900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Quest 'Gathering Materials' Finished - Run Script"), -(1309,0,1,0,20,0,100,0,1940,0,0,0,80,130901,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Quest 'Pristine Spider Silk' Finished - Run Script"), -(1309,0,2,0,40,0,100,0,1,1309,0,0,80,130902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Waypoint 1 Reached - Run Script"), -(1309,0,3,0,40,0,100,0,2,1309,0,0,80,130903,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Waypoint 2 Reached - Run Script"), -(130900,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Remove Npc Flag Questgiver"), -(130900,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 0"), -(130900,9,2,0,0,0,100,0,4000,4000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Cast 'Create Mage's Robe'"), -(130900,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 1"), -(130900,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Add Npc Flag Questgiver"), -(130901,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Remove Npc Flag Questgiver"), -(130901,9,1,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 2"), -(130901,9,2,0,0,0,100,0,4000,4000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 3"), -(130901,9,3,0,0,0,100,0,2000,2000,0,0,53,0,1309,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Start Waypoint"), -(130902,9,0,0,0,0,100,0,0,0,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Pause Waypoint"), -(130902,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.80513,"Wynne Larson - On Script - Set Orientation"), -(130902,9,2,0,0,0,100,0,1000,1000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Say Line 4"), -(130902,9,3,0,0,0,100,0,3000,3000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Cast 'Create Mage's Robe'"), -(130903,9,0,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.846,"Wynne Larson - On Script - Set Orientation"), -(130903,9,1,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wynne Larson - On Script - Add Npc Flag Questgiver"); +(6546,0,1,0,20,0,100,0,1957,0,0,0,41,0,600,0,0,0,0,14,28294,103680,0,0,0,0,0,"Tabetha - On Quest 'Mana Surges' Finished - Despawn Gameobject 'Mana Rift'"), +(6546,0,2,3,19,0,100,0,1957,0,0,0,70,600,0,0,0,0,0,14,28294,103680,0,0,0,0,0,"Tabetha - On Quest 'Mana Surges' Taken - Respawn Gameobject 'Mana Rift'"), +(6546,0,6,0,20,0,100,0,1957,0,0,0,80,654604,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Quest 'Mana Surges' Finished - Run Script"), +(6546,0,7,0,19,0,100,0,1952,0,0,0,80,654605,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Quest 'Mage's Wand' Taken - Run Script"), +(6546,0,8,0,19,0,100,0,1957,0,0,0,11,9079,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Quest 'Mana Surges' Taken - Cast 'Create Rift'"), +(6546,0,9,0,19,0,100,0,1957,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Quest 'Mana Surges' Taken - Say Line 5"), +(6546,0,10,0,20,0,100,0,1947,0,0,0,80,654606,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Quest 'Journey to the Marsh' Finished - Run Script"), +(654604,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Remove Npc Flag Questgiver+Gossip"), +(654604,9,1,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 1"), +(654604,9,2,0,0,0,100,0,0,0,0,0,11,9156,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Cast 'Create Mage's Orb'"), +(654604,9,3,0,0,0,100,0,5500,5500,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 2"), +(654604,9,4,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Add Npc Flag Questgiver+Gossip"), +(654605,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Remove Npc Flag Questgiver+Gossip"), +(654605,9,1,0,0,0,100,0,1000,1000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 3"), +(654605,9,2,0,0,0,100,0,3000,3000,0,0,11,32990,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Cast 'Enchanting Cast Visual'"), +(654605,9,3,0,0,0,100,0,6000,6000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 4"), +(654605,9,4,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Add Npc Flag Questgiver+Gossip"), +(654606,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Remove Npc Flag Questgiver+Gossip"), +(654606,9,1,0,0,0,100,0,0,0,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 6"), +(654606,9,2,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.499598,"Tabetha - On Script - Set Orientation"), +(654606,9,3,0,0,0,100,0,1000,1000,0,0,17,133,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Set Emote State 133"), +(654606,9,4,0,0,0,100,0,10000,10000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Set Emote State 0"), +(654606,9,5,0,0,0,100,0,500,500,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 7"), +(654606,9,6,0,0,0,100,0,4000,4000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.1293,"Tabetha - On Script - Set Orientation"), +(654606,9,7,0,0,0,100,0,0,0,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 8"), +(654606,9,9,0,0,0,100,0,5000,5000,0,0,1,9,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 9"), +(654606,9,10,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Add Npc Flag Questgiver+Gossip"); -DELETE FROM `waypoints` WHERE `entry`=1309; -INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES -(1309,1,-8964.6,824.703,109.447,""), -(1309,2,-8963,822.517,109.447,""); +-- Mana Rift +UPDATE `gameobject` SET `spawntimesecs`=-600, `state`=1 WHERE `guid`=28294; + +-- Mana Surge +DELETE FROM `smart_scripts` WHERE `entryorguid`=6550 AND `source_type`=0 AND `id`=3; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6550,0,3,0,54,0,100,0,0,0,0,0,11,9096,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mana Surge - On Just Summoned - Cast 'Rift SPawn Manifestation'"); + +-- Condition +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=6550 AND `ConditionTypeOrReference`=9; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22,2,6550,0,0,9,0,1957,0,0,0,0,0,"","SAI triggers only if player has quest 'Mana Surges' taken"); From 4a78b9b21551172bb5a19849daa9558439d8e62e Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 22 May 2018 02:16:47 +0200 Subject: [PATCH 06/49] rename files --- ...018_05_22_00_world_from_335_was_2018_05_21_00_world_335.sql} | 2 ++ ...018_05_22_01_world_from_335_was_2018_05_21_01_world_335.sql} | 2 ++ ...018_05_22_02_world_from_335_was_2018_05_21_02_world_335.sql} | 2 ++ 3 files changed, 6 insertions(+) rename sql/updates/world/{3.3.5/2018_05_21_00_world_335.sql => 4.3.4/2018_05_22_00_world_from_335_was_2018_05_21_00_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_21_01_world_335.sql => 4.3.4/2018_05_22_01_world_from_335_was_2018_05_21_01_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_21_02_world_335.sql => 4.3.4/2018_05_22_02_world_from_335_was_2018_05_21_02_world_335.sql} (99%) diff --git a/sql/updates/world/3.3.5/2018_05_21_00_world_335.sql b/sql/updates/world/4.3.4/2018_05_22_00_world_from_335_was_2018_05_21_00_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_21_00_world_335.sql rename to sql/updates/world/4.3.4/2018_05_22_00_world_from_335_was_2018_05_21_00_world_335.sql index 0c6dd9878a..3c15e724df 100644 --- a/sql/updates/world/3.3.5/2018_05_21_00_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_22_00_world_from_335_was_2018_05_21_00_world_335.sql @@ -1,3 +1,4 @@ +/* -- -- Quests "Investigate the Blue Recluse" & "Investigate the Alchemist Shop" DELETE FROM `creature_text` WHERE `CreatureID` IN (5497,4568); @@ -17,3 +18,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (456800,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.77319,"Anastasia Hartwell - On Script - Set Orientation"), (456800,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Anastasia Hartwell - On Script - Say Line 0"), (456800,9,2,0,0,0,100,0,10000,10000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.05433,"Anastasia Hartwell - On Script - Set Orientation"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_21_01_world_335.sql b/sql/updates/world/4.3.4/2018_05_22_01_world_from_335_was_2018_05_21_01_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_21_01_world_335.sql rename to sql/updates/world/4.3.4/2018_05_22_01_world_from_335_was_2018_05_21_01_world_335.sql index aef0bd7c40..4d3b41c1d8 100644 --- a/sql/updates/world/3.3.5/2018_05_21_01_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_22_01_world_from_335_was_2018_05_21_01_world_335.sql @@ -1,3 +1,4 @@ +/* -- -- Wynne Larson DELETE FROM `creature_text` WHERE `CreatureID`=1309; @@ -36,3 +37,4 @@ DELETE FROM `waypoints` WHERE `entry`=1309; INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (1309,1,-8964.6,824.703,109.447,""), (1309,2,-8963,822.517,109.447,""); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql b/sql/updates/world/4.3.4/2018_05_22_02_world_from_335_was_2018_05_21_02_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_21_02_world_335.sql rename to sql/updates/world/4.3.4/2018_05_22_02_world_from_335_was_2018_05_21_02_world_335.sql index cf1dd0c678..b3e9f289fb 100644 --- a/sql/updates/world/3.3.5/2018_05_21_02_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_22_02_world_from_335_was_2018_05_21_02_world_335.sql @@ -1,3 +1,4 @@ +/* -- Tabetha DELETE FROM `creature_text` WHERE `CreatureID`=6546 AND `GroupID` IN (1,2,3,4,5,6,7,8,9); INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -54,3 +55,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=6550 AND `ConditionTypeOrReference`=9; INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (22,2,6550,0,0,9,0,1957,0,0,0,0,0,"","SAI triggers only if player has quest 'Mana Surges' taken"); +*/ From bf103fa893714d76ebbd3d3d560fcc59fe9f2142 Mon Sep 17 00:00:00 2001 From: Killyana Date: Thu, 24 May 2018 04:25:40 +0200 Subject: [PATCH 07/49] DB/Gameobject: Remove legion template --- sql/updates/world/4.3.4/2018_05_23_00_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/4.3.4/2018_05_23_00_world.sql diff --git a/sql/updates/world/4.3.4/2018_05_23_00_world.sql b/sql/updates/world/4.3.4/2018_05_23_00_world.sql new file mode 100644 index 0000000000..2cc14f14bc --- /dev/null +++ b/sql/updates/world/4.3.4/2018_05_23_00_world.sql @@ -0,0 +1,2 @@ +-- Legion gob +DELETE FROM `gameobject_template` WHERE `entry`=214611; From 596ff24795c8b5d7d28573582138f8ff44ded8b4 Mon Sep 17 00:00:00 2001 From: Killyana Date: Thu, 24 May 2018 04:36:10 +0200 Subject: [PATCH 08/49] update file --- sql/updates/world/4.3.4/2018_05_23_00_world.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/updates/world/4.3.4/2018_05_23_00_world.sql b/sql/updates/world/4.3.4/2018_05_23_00_world.sql index 2cc14f14bc..1d9425f9bc 100644 --- a/sql/updates/world/4.3.4/2018_05_23_00_world.sql +++ b/sql/updates/world/4.3.4/2018_05_23_00_world.sql @@ -1,2 +1,3 @@ -- Legion gob DELETE FROM `gameobject_template` WHERE `entry`=214611; +DELETE FROM `gameobject_template_addon` WHERE `entry`=214611; From 9fc83800e4aa52cd144ebfee19d40cad6f3cb440 Mon Sep 17 00:00:00 2001 From: Killyana Date: Sat, 26 May 2018 21:38:18 +0200 Subject: [PATCH 09/49] DB: Fix some DB errors --- .../world/4.3.4/2018_05_26_00_world.sql | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 sql/updates/world/4.3.4/2018_05_26_00_world.sql diff --git a/sql/updates/world/4.3.4/2018_05_26_00_world.sql b/sql/updates/world/4.3.4/2018_05_26_00_world.sql new file mode 100644 index 0000000000..65fd075c1e --- /dev/null +++ b/sql/updates/world/4.3.4/2018_05_26_00_world.sql @@ -0,0 +1,64 @@ +-- +DELETE FROM `spell_dbc` WHERE `Id` IN (43981,42636,45433,90120,92943,90059,92948,89289,92951,94991,95858,92666,95884,98192,98846,98900,99288,98899,99551,99877,99878,107352,108859,110615,110614,110035,110034,110033,110032,103179,110515,84505,84506,90244,90245,86761,89691,89685,81358,96364,85892,85891,82094,89550,94641,90404,90372,94998,88469,89762,89781,89669,98867,89848,89249,95203); +INSERT INTO `spell_dbc` VALUES +(43981, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Glacier Water Basin serverside spell'), +(42636, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:2202 spellid0 serverside spell'), +(45433, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:2203 spellid0 serverside spell'), +(90120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3251 spellid0 serverside spell'), +(92943, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3251 spellid1 serverside spell'), +(90059, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3255 spellid0 serverside spell'), +(92948, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3255 spellid1 serverside spell'), +(89289, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3258 spellid0 serverside spell'), +(92951, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3258 spellid1 serverside spell'), +(94991, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3523 spellid1 serverside spell'), +(95858, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3579 spellid1 serverside spell'), +(92666, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3582 spellid0 serverside spell'), +(95884, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3582 spellid1 serverside spell'), +(98192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3741 spellid0 serverside spell'), +(98846, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3741 spellid1 serverside spell'), +(98900, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3749 spellid0 serverside spell'), +(99288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3749 spellid1 serverside spell'), +(98899, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3752 spellid0 serverside spell'), +(99551, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3752 spellid1 serverside spell'), +(99877, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3764 spellid0 serverside spell'), +(99878, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3764 spellid1 serverside spell'), +(107352, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4343 spellid0 serverside spell'), +(108859, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4343 spellid1 serverside spell'), +(110615, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4343 spellid2 serverside spell'), +(110614, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4343 spellid3 serverside spell'), +(110035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4444 spellid0 serverside spell'), +(110034, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4444 spellid1 serverside spell'), +(110033, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4444 spellid2 serverside spell'), +(110032, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4444 spellid3 serverside spell'), +(103179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4469 spellid0 serverside spell'), +(110515, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4469 spellid1 serverside spell'), +(84505, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Teleport to Stormwind serverside spell'), +(84506, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Teleport to Orgrimmar serverside spell'), +(90244, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Teleport to Vashj\'ir serverside spell'), +(90245, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Teleport to Vashj\'ir serverside spell'), +(86761, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Serverside spell for gobjid=206195'), +(89691, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'q25704 - Teleport to the Southsea Holdfast serverside spell'), +(89685, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'q25704 - Teleport to Tirth\'s Haunt serverside spell'), +(81358, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Serverside spell for gob=204422'), +(96364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Serverside spell for gob=208325'), +(85892, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'q27612 - Argent Portal serverside spell'), +(85891, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'q27612 - Argent Portal serverside spell'), +(82094, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'gob 204819 Periscope'), +(89550, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(94641, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(90404, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(90372, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(94998, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(88469, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(89762, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(89781, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(89669, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(98867, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(89848, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(89249, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'), +(95203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Quest reward speell'); + +DELETE FROM `gameobject_template` WHERE `entry` IN (181105,181106,181165,183510,183511,193171,193169,193170,188597,188598); +DELETE FROM `gameobject_template_addon` WHERE `entry` IN (181105,181106,181165,183510,183511,193171,193169,193170,188597,188598); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-143921) AND `source_type`=0; From f146bc15e4195ab5165e4f1a546a4e762abc7c66 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Wed, 23 May 2018 19:25:17 +0200 Subject: [PATCH 10/49] DB/Quest: Get the Scoop Closes #21956 --- .../world/3.3.5/2018_05_23_00_world_335.sql | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_23_00_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_23_00_world_335.sql b/sql/updates/world/3.3.5/2018_05_23_00_world_335.sql new file mode 100644 index 0000000000..ef31c19120 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_23_00_world_335.sql @@ -0,0 +1,41 @@ +-- Quest "Get the Scoop" +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (21211, 21212,21217); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=231; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,21211,0,0,0,9,0,1950,0,0,0,0,0,"","Show gossip option if quest 'Get the Scoop' is taken"), -- Goblin Pit Crewman +(15,21212,0,0,0,9,0,1950,0,0,0,0,0,"","Show gossip option if quest 'Get the Scoop' is taken"), -- Gnome Pit Crewman +(15,21217,0,0,0,9,0,1950,0,0,0,0,0,"","Show gossip option if quest 'Get the Scoop' is taken"), -- Race Master Kronkrider +(14,231,739,0,0,9,0,1950,0,0,1,0,0,"","Show gossip text 739 if quest 'Get the Scoop' is not taken"); -- "Plucky" Johnson + +DELETE FROM `gossip_menu` WHERE `MenuID` IN (281, 283,433); +DELETE FROM `gossip_menu` WHERE `MenuID`=231 AND `TextID`=739; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(281,779,0), -- Goblin Pit Crewman +(283,781,0), -- Gnome Pit Crewman +(433,930,0), -- Race Master Kronkrider +(231,739,0); -- "Plucky" Johnson + +DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (21211, 21212,21217); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(21211,0,0,"Where is Tirth's assistant?",2769,1,1,281,0,0,0,"",0,0), -- Goblin Pit Crewman +(21212,0,0,"Where is Tirth's assistant?",2779,1,1,283,0,0,0,"",0,0), -- Gnome Pit Crewman +(21217,0,0,"Where is Tirth's assistant?",2779,1,1,433,0,0,0,"",0,0); -- Race Master Kronkrider + +DELETE FROM `npc_text` WHERE `ID`=739; +INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_0`,`em0_1`,`em0_2`,`em0_3`,`em0_4`,`em0_5`) VALUES +(739,"Don't tell Tirth I'm still here. If he finds out I haven't left the Shimmering Flats, I'll be running his errands and cleaning his dirty laundry forever!","",2722,0,0,0,0,0,0,0,0); + +-- "Plucky" Johnson +DELETE FROM `smart_scripts` WHERE `entryorguid`=6626 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=662600 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6626,0,0,0,22,0,100,0,22,0,0,0,0,80,662600,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Received Emote 'Chicken' - Run Script"), +(6626,0,1,2,22,0,100,0,7,0,0,0,0,11,9192,2,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Received Emote 'Beckon' - Cast \"Plucky\" Resumes Human Form"), +(6626,0,2,3,61,0,100,0,0,0,0,0,0,82,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Received Emote 'Beckon' - Add NPC Flag Gossip"), +(6626,0,3,0,61,0,100,0,0,0,0,0,0,69,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Received Emote 'Beckon' - Move To Invoker"), +(6626,0,4,0,62,0,100,0,231,0,0,0,0,15,1950,0,0,0,0,0,7,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Gossip Option 0 Selected - Complete Quest 'Get the Scoop'"), +(6626,0,5,0,23,0,100,0,9192,0,1000,1000,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Has No Aura \"Plucky\" Resumes Human Form - Set NPC Flag 0"), +(662600,9,0,0,0,0,100,0,0,0,0,0,0,11,9192,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Script - Cast \"Plucky\" Resumes Human Form"), +(662600,9,1,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Script - Set Orientation"), +(662600,9,2,0,0,0,100,0,500,500,0,0,0,5,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Script - Play Emote 'Wave'"), +(662600,9,3,0,0,0,100,0,3500,3500,0,0,0,28,9192,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Script - Remove Aura \"Plucky\" Resumes Human Form"); From b82d234fdd581b48d58b6b4b2b05c28bd7f43986 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 24 May 2018 23:00:02 +0200 Subject: [PATCH 11/49] Core/DBLayer: Escape even more keywords --- src/server/game/Battlegrounds/ArenaTeamMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Battlegrounds/ArenaTeamMgr.cpp b/src/server/game/Battlegrounds/ArenaTeamMgr.cpp index 785874c6ed..f99ca50089 100644 --- a/src/server/game/Battlegrounds/ArenaTeamMgr.cpp +++ b/src/server/game/Battlegrounds/ArenaTeamMgr.cpp @@ -104,7 +104,7 @@ void ArenaTeamMgr::LoadArenaTeams() // 0 1 2 3 4 5 6 7 8 QueryResult result = CharacterDatabase.Query("SELECT arenaTeamId, name, captainGuid, type, backgroundColor, emblemStyle, emblemColor, borderStyle, borderColor, " // 9 10 11 12 13 14 - "rating, weekGames, weekWins, seasonGames, seasonWins, rank FROM arena_team ORDER BY arenaTeamId ASC"); + "rating, weekGames, weekWins, seasonGames, seasonWins, `rank` FROM arena_team ORDER BY arenaTeamId ASC"); if (!result) { From a4ad5205ccd211a44d057e0b40ccc2309a2daba7 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 27 May 2018 02:54:20 +0200 Subject: [PATCH 12/49] Core/DBLayer: Escape even more keywords --- src/server/game/Spells/SpellMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 4b6372acc3..1a529a9c5b 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -861,7 +861,7 @@ void SpellMgr::LoadSpellRanks() uint32 oldMSTime = getMSTime(); // 0 1 2 - QueryResult result = WorldDatabase.Query("SELECT first_spell_id, spell_id, `rank` from spell_ranks ORDER BY first_spell_id, rank"); + QueryResult result = WorldDatabase.Query("SELECT first_spell_id, spell_id, `rank` from spell_ranks ORDER BY first_spell_id, `rank`"); if (!result) { From fa6f91105f5cc705d490ab21dd9efa06c9bfe22c Mon Sep 17 00:00:00 2001 From: Gooyeth <566327+Gooyeth@users.noreply.github.com> Date: Sat, 26 May 2018 08:41:12 -0600 Subject: [PATCH 13/49] Core/Battleground: Fixed a problem that did not let Arenas queue if it was in queue of Random Battleground (#21963) --- src/server/game/Groups/Group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 02db1cd37e..5d27b620dc 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -2045,7 +2045,7 @@ GroupJoinBattlegroundResult Group::CanJoinBattlegroundQueue(Battleground const* if (member->InBattlegroundQueueForBattlegroundQueueType(bgQueueTypeId)) return ERR_BATTLEGROUND_JOIN_FAILED; // not blizz-like // don't let join if someone from the group is in bg queue random - if (member->InBattlegroundQueueForBattlegroundQueueType(bgQueueTypeIdRandom)) + if (bgOrTemplate->GetTypeID() != BATTLEGROUND_AA && member->InBattlegroundQueueForBattlegroundQueueType(bgQueueTypeIdRandom)) return ERR_IN_RANDOM_BG; // don't let join to bg queue random if someone from the group is already in bg queue if (bgOrTemplate->GetTypeID() == BATTLEGROUND_RB && member->InBattlegroundQueue()) From c5c3a24b3bbafce8756ec9f9af2eccbcad6c9b7a Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sat, 26 May 2018 22:10:09 +0200 Subject: [PATCH 14/49] DB/Creature: Princess Closes #21961 --- .../world/3.3.5/2018_05_26_00_world_335.sql | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_26_00_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_26_00_world_335.sql b/sql/updates/world/3.3.5/2018_05_26_00_world_335.sql new file mode 100644 index 0000000000..e66020ff15 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_26_00_world_335.sql @@ -0,0 +1,26 @@ +-- Pathing for Princess +UPDATE `creature` SET `position_x`=-9785.24, `position_y`=-880.61, `position_z`=39.6131, `MovementType`=2 WHERE `guid`=80849; +UPDATE `creature` SET `position_x`=-9785.44, `position_y`=-883.454, `position_z`=39.6473 WHERE `guid`=80850; +UPDATE `creature` SET `position_x`=-9781.22, `position_y`=-881.556, `position_z`=39.5677 WHERE `guid`=80848; + +DELETE FROM `creature_addon` WHERE `guid`=80849; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(80849,808490,0,0,0,0,""); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=80849; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(80849,80849,0,0,515,0,0), +(80849,80850,3,240,515,0,0), +(80849,80848,3,60,515,0,0); + +DELETE FROM `waypoint_data` WHERE `id`=808490; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(808490,1,-9785.24,-880.61,39.6131,0,0,0,0,100,0), +(808490,2,-9792.77,-872.876,39.5751,0,0,0,0,100,0), +(808490,3,-9793.2,-867.623,39.4678,0,0,0,0,100,0), +(808490,4,-9774.36,-847.313,39.7919,0,0,0,0,100,0), +(808490,5,-9767.83,-847.814,39.6107,0,0,0,0,100,0), +(808490,6,-9752.2,-863.369,39.4772,0,0,0,0,100,0), +(808490,7,-9753.51,-871.917,39.5511,0,0,0,0,100,0), +(808490,8,-9769.58,-886.229,39.4867,0,0,0,0,100,0), +(808490,9,-9776.63,-887.336,39.5384,0,0,0,0,100,0); From 836623ac31f578c019b6f2146d7c90d875ebe4e9 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sat, 26 May 2018 22:10:47 +0200 Subject: [PATCH 15/49] DB/Quest: The Missing Diplomat (Part 8) Closes #21964 --- .../world/3.3.5/2018_05_26_01_world_335.sql | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_26_01_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_26_01_world_335.sql b/sql/updates/world/3.3.5/2018_05_26_01_world_335.sql new file mode 100644 index 0000000000..20b5ee6ef3 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_26_01_world_335.sql @@ -0,0 +1,31 @@ +-- Old Town Thug +DELETE FROM `creature_text` WHERE `CreatureID` IN (4969,38867); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(4969,0,0,"Yeah, okay, boss. No problem.",12,0,100,0,0,0,1715,0,"Old Town Thug"), +(38867,0,0,"All right, boss. You sure though? Just seems like a waste of good practice.",12,0,100,0,0,0,1716,0,"Old Town Thug"), +(38867,1,0,"%s cracks his knuckles.",16,0,100,0,0,0,1717,0,"Old Town Thug"); + +UPDATE `smart_scripts` SET `event_param1`=18000, `event_param2`=18000 WHERE `entryorguid`=496900 AND `source_type`=9 AND `id`=2; + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=38867; +DELETE FROM `smart_scripts` WHERE `entryorguid`=38867 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(38867,0,0,1,54,0,100,0,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Old Town Thug - Just Summoned - Set Invinciblity"), +(38867,0,1,0,61,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,21,30,0,0,0,0,0,0,"Old Town Thug - Just Summoned - Start Attacking"), +(38867,0,2,0,38,0,100,1,1,1,0,0,0,80,496900,2,0,0,0,0,1,0,0,0,0,0,0,0,"Old Town Thug - On Data Set - Run Script"); + +-- Dashel Stonefist +UPDATE `smart_scripts` SET `action_param1`=38867 WHERE `entryorguid`=496100 AND `source_type`=9 AND `id`=4; +DELETE FROM `smart_scripts` WHERE `entryorguid`=496101 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(496101,9,0,0,0,0,100,0,0,0,0,0,0,15,1447,0,0,0,0,0,7,0,0,0,0,0,0,0,"Dashel Stonefist - On Script - Quest Credit 'The Missing Diplomat'"), +(496101,9,1,0,0,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,11,4969,30,0,0,0,0,0,"Dashel Stonefist - On Script - Set Data to Old Town Thug"), +(496101,9,2,0,0,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,11,38867,30,0,0,0,0,0,"Dashel Stonefist - On Script - Set Data to Old Town Thug"), +(496101,9,3,0,0,0,100,0,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dashel Stonefist - On Script - Evade"), +(496101,9,4,0,0,0,100,0,0,0,0,0,0,2,84,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dashel Stonefist - On Script - Set Faction 84"), +(496101,9,5,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 1"), +(496101,9,6,0,0,0,100,0,6000,6000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 2"), +(496101,9,7,0,0,0,100,0,0,0,0,0,0,42,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dashel Stonefist - On Script - Set Invincibility Off"), +(496101,9,8,0,0,0,100,0,4000,4000,0,0,0,1,0,0,0,0,0,0,19,4969,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 0 (Old Town Thug)"), +(496101,9,9,0,0,0,100,0,3000,3000,0,0,0,1,0,0,0,0,0,0,19,38867,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 0 (Old Town Thug)"), +(496101,9,10,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,19,38867,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 1 (Old Town Thug)"); From 3a9d239544c369af46839147b2bb3876911ac559 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sat, 26 May 2018 22:11:21 +0200 Subject: [PATCH 16/49] DB/Quest: In Search of Knowledge Closes #21965 --- .../world/3.3.5/2018_05_26_02_world_335.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_26_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_26_02_world_335.sql b/sql/updates/world/3.3.5/2018_05_26_02_world_335.sql new file mode 100644 index 0000000000..d175fdb9ff --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_26_02_world_335.sql @@ -0,0 +1,15 @@ +-- Daryn Lightwind +DELETE FROM `creature_text` WHERE `CreatureID`=7907; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7907,0,0,"Take a look around, $n. Perhaps you will find something that I have missed.",12,0,100,0,0,0,4042,0,"Daryn Lightwind"), +(7907,1,0,"%s gestures at the piles of books.",16,0,100,25,0,0,4043,0,"Daryn Lightwind"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7907; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7907 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=790700 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7907,0,0,0,20,0,100,0,2939,0,0,0,80,790700,0,0,0,0,0,1,0,0,0,0,0,0,0,"Daryn Lightwind - On Quest 'In Search of Knowledge' Finished - Run Script"), +(790700,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.127147,"Daryn Lightwind - On Script - Set Orientation"), +(790700,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Daryn Lightwind - On Script - Say Line 0"), +(790700,9,2,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Daryn Lightwind - On Script - Say Line 1"), +(790700,9,3,0,0,0,100,0,10000,10000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.82227,"Daryn Lightwind - On Script - Set Orientation"); From 24f63402dcef4192beb7b3ec8705675486bd0422 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sat, 26 May 2018 22:11:52 +0200 Subject: [PATCH 17/49] DB/Quest: Return to Troyas Closes #21966 --- .../world/3.3.5/2018_05_26_03_world_335.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_26_03_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_26_03_world_335.sql b/sql/updates/world/3.3.5/2018_05_26_03_world_335.sql new file mode 100644 index 0000000000..a07d156b61 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_26_03_world_335.sql @@ -0,0 +1,17 @@ +-- Troyas Moonbreeze +DELETE FROM `creature_text` WHERE `CreatureID`=7764; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7764,0,0,"Feralas: A History... Hmmmm... Let me examine this for a moment.",12,0,100,0,0,0,4039,0,"Troyas Moonbreeze"), +(7764,1,0,"%s skims the pages of the book.",16,0,100,0,0,0,4040,0,"Troyas Moonbreeze"), +(7764,2,0,"Amazing! I think I have found it, $n!",12,0,100,5,0,0,4041,0,"Troyas Moonbreeze"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7764; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7764 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=776400 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7764,0,0,0,20,0,100,0,2943,0,0,0,80,776400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Quest 'Return to Troyas' Finished - Run Script"), +(776400,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Remove Npc Flag Questgiver"), +(776400,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 0"), +(776400,9,2,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 1"), +(776400,9,3,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 2"), +(776400,9,4,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Add Npc Flag Questgiver"); From a725b58a1dd23bb96be7d1a1bdded9b8bdfe66bf Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 27 May 2018 02:57:58 +0200 Subject: [PATCH 18/49] rename files --- ...018_05_27_00_world_from_335_was_2018_05_23_00_world_335.sql} | 2 ++ ...018_05_27_01_world_from_335_was_2018_05_26_00_world_335.sql} | 2 ++ ...018_05_27_02_world_from_335_was_2018_05_26_01_world_335.sql} | 2 ++ ...018_05_27_03_world_from_335_was_2018_05_26_02_world_335.sql} | 2 ++ ...018_05_27_04_world_from_335_was_2018_05_26_03_world_335.sql} | 2 ++ 5 files changed, 10 insertions(+) rename sql/updates/world/{3.3.5/2018_05_23_00_world_335.sql => 4.3.4/2018_05_27_00_world_from_335_was_2018_05_23_00_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_26_00_world_335.sql => 4.3.4/2018_05_27_01_world_from_335_was_2018_05_26_00_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_26_01_world_335.sql => 4.3.4/2018_05_27_02_world_from_335_was_2018_05_26_01_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_26_02_world_335.sql => 4.3.4/2018_05_27_03_world_from_335_was_2018_05_26_02_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_26_03_world_335.sql => 4.3.4/2018_05_27_04_world_from_335_was_2018_05_26_03_world_335.sql} (99%) diff --git a/sql/updates/world/3.3.5/2018_05_23_00_world_335.sql b/sql/updates/world/4.3.4/2018_05_27_00_world_from_335_was_2018_05_23_00_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_23_00_world_335.sql rename to sql/updates/world/4.3.4/2018_05_27_00_world_from_335_was_2018_05_23_00_world_335.sql index ef31c19120..7cf73f9e0a 100644 --- a/sql/updates/world/3.3.5/2018_05_23_00_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_27_00_world_from_335_was_2018_05_23_00_world_335.sql @@ -1,3 +1,4 @@ +/* -- Quest "Get the Scoop" DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (21211, 21212,21217); DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=231; @@ -39,3 +40,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (662600,9,1,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Script - Set Orientation"), (662600,9,2,0,0,0,100,0,500,500,0,0,0,5,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Script - Play Emote 'Wave'"), (662600,9,3,0,0,0,100,0,3500,3500,0,0,0,28,9192,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Plucky\" Johnson - On Script - Remove Aura \"Plucky\" Resumes Human Form"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_26_00_world_335.sql b/sql/updates/world/4.3.4/2018_05_27_01_world_from_335_was_2018_05_26_00_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_26_00_world_335.sql rename to sql/updates/world/4.3.4/2018_05_27_01_world_from_335_was_2018_05_26_00_world_335.sql index e66020ff15..dfee02842f 100644 --- a/sql/updates/world/3.3.5/2018_05_26_00_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_27_01_world_from_335_was_2018_05_26_00_world_335.sql @@ -1,3 +1,4 @@ +/* -- Pathing for Princess UPDATE `creature` SET `position_x`=-9785.24, `position_y`=-880.61, `position_z`=39.6131, `MovementType`=2 WHERE `guid`=80849; UPDATE `creature` SET `position_x`=-9785.44, `position_y`=-883.454, `position_z`=39.6473 WHERE `guid`=80850; @@ -24,3 +25,4 @@ INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `positio (808490,7,-9753.51,-871.917,39.5511,0,0,0,0,100,0), (808490,8,-9769.58,-886.229,39.4867,0,0,0,0,100,0), (808490,9,-9776.63,-887.336,39.5384,0,0,0,0,100,0); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_26_01_world_335.sql b/sql/updates/world/4.3.4/2018_05_27_02_world_from_335_was_2018_05_26_01_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_26_01_world_335.sql rename to sql/updates/world/4.3.4/2018_05_27_02_world_from_335_was_2018_05_26_01_world_335.sql index 20b5ee6ef3..f6e131018b 100644 --- a/sql/updates/world/3.3.5/2018_05_26_01_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_27_02_world_from_335_was_2018_05_26_01_world_335.sql @@ -1,3 +1,4 @@ +/* -- Old Town Thug DELETE FROM `creature_text` WHERE `CreatureID` IN (4969,38867); INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -29,3 +30,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (496101,9,8,0,0,0,100,0,4000,4000,0,0,0,1,0,0,0,0,0,0,19,4969,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 0 (Old Town Thug)"), (496101,9,9,0,0,0,100,0,3000,3000,0,0,0,1,0,0,0,0,0,0,19,38867,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 0 (Old Town Thug)"), (496101,9,10,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,19,38867,0,0,0,0,0,0,"Dashel Stonefist - On Script - Say Line 1 (Old Town Thug)"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_26_02_world_335.sql b/sql/updates/world/4.3.4/2018_05_27_03_world_from_335_was_2018_05_26_02_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_26_02_world_335.sql rename to sql/updates/world/4.3.4/2018_05_27_03_world_from_335_was_2018_05_26_02_world_335.sql index d175fdb9ff..462f4d0309 100644 --- a/sql/updates/world/3.3.5/2018_05_26_02_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_27_03_world_from_335_was_2018_05_26_02_world_335.sql @@ -1,3 +1,4 @@ +/* -- Daryn Lightwind DELETE FROM `creature_text` WHERE `CreatureID`=7907; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -13,3 +14,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (790700,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Daryn Lightwind - On Script - Say Line 0"), (790700,9,2,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Daryn Lightwind - On Script - Say Line 1"), (790700,9,3,0,0,0,100,0,10000,10000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.82227,"Daryn Lightwind - On Script - Set Orientation"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_26_03_world_335.sql b/sql/updates/world/4.3.4/2018_05_27_04_world_from_335_was_2018_05_26_03_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_26_03_world_335.sql rename to sql/updates/world/4.3.4/2018_05_27_04_world_from_335_was_2018_05_26_03_world_335.sql index a07d156b61..e0a986ed8f 100644 --- a/sql/updates/world/3.3.5/2018_05_26_03_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_27_04_world_from_335_was_2018_05_26_03_world_335.sql @@ -1,3 +1,4 @@ +/* -- Troyas Moonbreeze DELETE FROM `creature_text` WHERE `CreatureID`=7764; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -15,3 +16,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (776400,9,2,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 1"), (776400,9,3,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 2"), (776400,9,4,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Add Npc Flag Questgiver"); +*/ From fdd6bbc1cf0e1bf86d594b8b288d6da102f49278 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 28 May 2018 11:54:20 +0200 Subject: [PATCH 19/49] Core/Spells: merged commit 2d10429a2d788d6b3aead19bd91ed662bad38751 in order to fix some crashes --- src/server/game/Spells/Auras/SpellAuras.cpp | 84 +++++++++++---------- 1 file changed, 43 insertions(+), 41 deletions(-) diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index da38bd6150..1377eafa4f 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -2331,66 +2331,68 @@ void UnitAura::Remove(AuraRemoveMode removeMode) void UnitAura::FillTargetMap(std::unordered_map& targets, Unit* caster) { + Unit* ref = caster; + if (!ref) + ref = GetUnitOwner(); + for (uint8 effIndex = 0; effIndex < MAX_SPELL_EFFECTS; ++effIndex) { if (!HasEffect(effIndex)) continue; - std::deque units; + std::vector units; + ConditionContainer* condList = m_spellInfo->Effects[effIndex].ImplicitTargetConditions; // non-area aura if (GetSpellInfo()->Effects[effIndex].Effect == SPELL_EFFECT_APPLY_AURA) - units.push_back(GetUnitOwner()); + { + if (!condList || sConditionMgr->IsObjectMeetToConditions(GetUnitOwner(), ref, *condList)) + units.push_back(GetUnitOwner()); + } else { - ASSERT(caster, "Area aura (Id: %u) has nullptr caster (%s)", m_spellInfo->Id, GetCasterGUID().ToString().c_str()); - ASSERT(GetCasterGUID() == GetUnitOwner()->GetGUID(), "Area aura (Id: %u) has owner (%s) different to caster (%s)", m_spellInfo->Id, GetUnitOwner()->GetGUID().ToString().c_str(), GetCasterGUID().ToString().c_str()); - // skip area update if owner is not in world! if (!GetUnitOwner()->IsInWorld()) continue; - float radius = GetSpellInfo()->Effects[effIndex].CalcRadius(caster); + if (GetUnitOwner()->HasUnitState(UNIT_STATE_ISOLATED)) + continue; - if (!GetUnitOwner()->HasUnitState(UNIT_STATE_ISOLATED)) + float radius = GetSpellInfo()->Effects[effIndex].CalcRadius(ref); + SpellTargetCheckTypes selectionType = TARGET_CHECK_DEFAULT; + switch (GetSpellInfo()->Effects[effIndex].Effect) { - switch (GetSpellInfo()->Effects[effIndex].Effect) + case SPELL_EFFECT_APPLY_AREA_AURA_PARTY: + selectionType = TARGET_CHECK_PARTY; + break; + case SPELL_EFFECT_APPLY_AREA_AURA_RAID: + selectionType = TARGET_CHECK_RAID; + break; + case SPELL_EFFECT_APPLY_AREA_AURA_FRIEND: + selectionType = TARGET_CHECK_ALLY; + break; + case SPELL_EFFECT_APPLY_AREA_AURA_ENEMY: + selectionType = TARGET_CHECK_ENEMY; + break; + case SPELL_EFFECT_APPLY_AREA_AURA_PET: + if (!condList || sConditionMgr->IsObjectMeetToConditions(GetUnitOwner(), ref, *condList)) + units.push_back(GetUnitOwner()); + // no break + case SPELL_EFFECT_APPLY_AREA_AURA_OWNER: { - case SPELL_EFFECT_APPLY_AREA_AURA_PARTY: - case SPELL_EFFECT_APPLY_AREA_AURA_RAID: - { - units.push_back(GetUnitOwner()); - Trinity::AnyGroupedUnitInObjectRangeCheck u_check(GetUnitOwner(), GetUnitOwner(), radius, m_spellInfo->Effects[effIndex].Effect == SPELL_EFFECT_APPLY_AREA_AURA_RAID, m_spellInfo->HasAttribute(SPELL_ATTR3_ONLY_TARGET_PLAYERS)); - Trinity::UnitListSearcher searcher(GetUnitOwner(), units, u_check); - Cell::VisitAllObjects(GetUnitOwner(), searcher, radius); - break; - } - case SPELL_EFFECT_APPLY_AREA_AURA_FRIEND: - { - units.push_back(GetUnitOwner()); - Trinity::AnyFriendlyUnitInObjectRangeCheck u_check(GetUnitOwner(), GetUnitOwner(), radius, m_spellInfo->HasAttribute(SPELL_ATTR3_ONLY_TARGET_PLAYERS)); - Trinity::UnitListSearcher searcher(GetUnitOwner(), units, u_check); - Cell::VisitAllObjects(GetUnitOwner(), searcher, radius); - break; - } - case SPELL_EFFECT_APPLY_AREA_AURA_ENEMY: - { - Trinity::AnyAoETargetUnitInObjectRangeCheck u_check(GetUnitOwner(), GetUnitOwner(), radius, m_spellInfo); // No GetCharmer in searcher - Trinity::UnitListSearcher searcher(GetUnitOwner(), units, u_check); - Cell::VisitAllObjects(GetUnitOwner(), searcher, radius); - break; - } - case SPELL_EFFECT_APPLY_AREA_AURA_PET: - units.push_back(GetUnitOwner()); - // no break - case SPELL_EFFECT_APPLY_AREA_AURA_OWNER: - { - if (Unit* owner = GetUnitOwner()->GetCharmerOrOwner()) - if (GetUnitOwner()->IsWithinDistInMap(owner, radius)) + if (Unit* owner = GetUnitOwner()->GetCharmerOrOwner()) + if (GetUnitOwner()->IsWithinDistInMap(owner, radius)) + if (!condList || sConditionMgr->IsObjectMeetToConditions(owner, ref, *condList)) units.push_back(owner); - break; - } + break; } } + + if (selectionType != TARGET_CHECK_DEFAULT) + { + Trinity::WorldObjectSpellAreaTargetCheck check(radius, GetUnitOwner(), ref, GetUnitOwner(), m_spellInfo, selectionType, condList); + Trinity::UnitListSearcher searcher(GetUnitOwner(), units, check); + Cell::VisitAllObjects(GetUnitOwner(), searcher, radius); + } } for (Unit* unit : units) From 10bf05843680508ec9c283db9bd431030a83c4ca Mon Sep 17 00:00:00 2001 From: Keader Date: Tue, 29 May 2018 11:38:37 -0300 Subject: [PATCH 20/49] Scripts/Magtheridon Lair: Fixed a case when channelers get hit kill and not start fight It's needed for cataclysm+ --- .../HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp index 281bff2449..16a3605ca6 100644 --- a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp @@ -345,6 +345,10 @@ class npc_hellfire_channeler : public CreatureScript void JustDied(Unit* /*killer*/) override { DoCastAOE(SPELL_SOUL_TRANSFER); + + // Channelers killed by "Hit Kill" need trigger combat event too. It's needed for Cata+ + if (Creature* magtheridon = _instance->GetCreature(DATA_MAGTHERIDON)) + magtheridon->AI()->DoAction(ACTION_START_CHANNELERS_EVENT); } void JustSummoned(Creature* summon) override From 476404914b1d5e13520aa3523afe4d5a7c2883e5 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Tue, 29 May 2018 21:34:54 +0200 Subject: [PATCH 21/49] DB/Quest: Alther's Mill Closes #21972 --- sql/updates/world/3.3.5/2018_05_29_00_world_335.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_29_00_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_29_00_world_335.sql b/sql/updates/world/3.3.5/2018_05_29_00_world_335.sql new file mode 100644 index 0000000000..16358d4440 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_29_00_world_335.sql @@ -0,0 +1,9 @@ +-- Lucius +DELETE FROM `creature_text` WHERE `CreatureID`=6966; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(6966,0,0,"Oh! I almost forgot! I slipped you a set of thieven' tools. You'll need those where you're going.",12,0,100,0,0,0,3562,0,"Lucius"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=6966; +DELETE FROM `smart_scripts` WHERE `entryorguid`=6966 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6966,0,0,0,19,0,100,0,2282,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lucius - On Quest 'Alther's Mill' Taken - Say Line 0"); From f76325e699b9a5f10fb4a2188de1d421f03559d6 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Tue, 29 May 2018 21:36:45 +0200 Subject: [PATCH 22/49] DB/Creature: Klaven Mortwake Closes #21973 --- sql/updates/world/3.3.5/2018_05_29_01_world_335.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_29_01_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_29_01_world_335.sql b/sql/updates/world/3.3.5/2018_05_29_01_world_335.sql new file mode 100644 index 0000000000..4d50bb7a07 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_29_01_world_335.sql @@ -0,0 +1,11 @@ +-- Klaven Mortwake +UPDATE `creature_text` SET `Emote`=5 WHERE `CreatureID`=7053 AND `GroupID`=2; +UPDATE `creature_text` SET `Emote`=11 WHERE `CreatureID`=7053 AND `GroupID`=1; +DELETE FROM `creature_text` WHERE `CreatureID`=7053 AND `GroupID`=5; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7053,5,0,"You cannot hide from me, rogue. I can smell your fear.",12,0,100,0,0,0,3092,0,"Klaven Mortwake"); + +UPDATE `smart_scripts` SET `action_param6`=2 WHERE `entryorguid`=7053 AND `source_type`=0 AND `id`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7053 AND `source_type`=0 AND `id`=3; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7053,0,3,0,4,0,100,0,0,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Klaven Mortwake - On Aggro - Say Line 5"); From 475497e2e8575a76dc4c6be52f2fab94858289df Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Tue, 29 May 2018 21:39:25 +0200 Subject: [PATCH 23/49] DB/Creature: Defias Tower Patroller Closes #21974 --- .../world/3.3.5/2018_05_29_02_world_335.sql | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_29_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_29_02_world_335.sql b/sql/updates/world/3.3.5/2018_05_29_02_world_335.sql new file mode 100644 index 0000000000..5514f73718 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_29_02_world_335.sql @@ -0,0 +1,87 @@ +-- Defias Tower Patroller +DELETE FROM `creature_text` WHERE `CreatureID`=7052; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7052,0,0,"Hey, Raven...",12,0,100,0,0,0,3126,0,"Defias Tower Patroller"), +(7052,1,0,"Yea?",12,0,100,0,0,0,3127,0,"Defias Tower Patroller"), +(7052,2,0,"Can we take a break? My feet are killing me and those ... those things down there are creeping me out.",12,0,100,6,0,0,3128,0,"Defias Tower Patroller"), +(7052,3,0,"I dunno, Jill. If Klaven comes down while we're slacking, we may end up as one of those things!",12,0,100,274,0,0,3129,0,"Defias Tower Patroller"), +(7052,4,0,"*Sigh* You're probably right, Raven. I'm going back on patrol....",12,0,100,1,0,0,3130,0,"Defias Tower Patroller"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7052; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-66988,-66991) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=705200 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-66991,0,0,0,11,0,100,0,0,0,0,0,80,705200,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Tower Patroller - On Respawn - Run Script"), +(-66991,0,1,0,40,0,100,0,30,705201,0,0,80,705200,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Tower Patroller - On Waypoint 30 Reached - Run Script"), +(-66988,0,0,0,38,0,100,0,1,1,0,0,53,0,705200,0,0,0,2,1,0,0,0,0,0,0,0,"Defias Tower Patroller - On Data Set - Start Waypoint"), +(-66988,0,1,0,40,0,100,0,24,705200,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.50239,"Defias Tower Patroller - On Waypoint 24 Reached - Set Orientation"), +(705200,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.36865,"Defias Tower Patroller - On Script - Set Orientation"), +(705200,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,10,66988,0,0,0,0,0,0,"Defias Tower Patroller - On Script - Say Line 0"), +(705200,9,2,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Tower Patroller - On Script - Say Line 1"), +(705200,9,3,0,0,0,100,0,2000,2000,0,0,1,2,0,0,0,0,0,10,66988,0,0,0,0,0,0,"Defias Tower Patroller - On Script - Say Line 2"), +(705200,9,4,0,0,0,100,0,6000,6000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defias Tower Patroller - On Script - Say Line 3"), +(705200,9,5,0,0,0,100,0,6000,6000,0,0,1,4,0,0,0,0,0,10,66988,0,0,0,0,0,0,"Defias Tower Patroller - On Script - Say Line 4"), +(705200,9,6,0,0,0,100,0,5000,5000,0,0,53,0,705201,0,0,0,2,1,0,0,0,0,0,0,0,"Defias Tower Patroller - On Script - Start Waypoint"), +(705200,9,7,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,66988,0,0,0,0,0,0,"Defias Tower Patroller - On Script - Set Data"); + +DELETE FROM `waypoints` WHERE `entry` IN (705200,705201); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(705200,1,-11149.1,554.466,55.8049,""), +(705200,2,-11144.7,556.683,55.1371,""), +(705200,3,-11140.4,556.894,53.8734,""), +(705200,4,-11136,554.83,52.5735,""), +(705200,5,-11131.7,549.872,50.3729,""), +(705200,6,-11130.7,546.131,49.4701,""), +(705200,7,-11131.7,549.872,50.3729,""), +(705200,8,-11136,554.83,52.5735,""), +(705200,9,-11140.4,556.894,53.8734,""), +(705200,10,-11144.7,556.683,55.1371,""), +(705200,11,-11149.1,554.466,55.8049,""), +(705200,12,-11152.3,552.681,55.8918,""), +(705200,13,-11149.1,554.466,55.8049,""), +(705200,14,-11144.7,556.683,55.1371,""), +(705200,15,-11140.4,556.894,53.8734,""), +(705200,16,-11136,554.83,52.5735,""), +(705200,17,-11131.7,549.872,50.3729,""), +(705200,18,-11130.7,546.131,49.4701,""), +(705200,19,-11131.7,549.872,50.3729,""), +(705200,20,-11136,554.83,52.5735,""), +(705200,21,-11140.4,556.894,53.8734,""), +(705200,22,-11144.7,556.683,55.1371,""), +(705200,23,-11149.1,554.466,55.8049,""), +(705200,24,-11152.5,552.716,55.8919,""), +(705201,1,-11151.1,551.26,55.8923,""), +(705201,2,-11140.5,543.668,56.3212,""), +(705201,3,-11142.6,541.549,55.92,""), +(705201,4,-11146,536.9,53.7638,""), +(705201,5,-11147,534.896,52.495,""), +(705201,6,-11147.6,532.728,52.4694,""), +(705201,7,-11147.6,535.236,52.5826,""), +(705201,8,-11145.2,538.529,54.7388,""), +(705201,9,-11141.9,543.463,56.2928,""), +(705201,10,-11139.4,542.983,56.6356,""), +(705201,11,-11138.4,539.196,57.9116,""), +(705201,12,-11138.3,535.496,59.8756,""), +(705201,13,-11137.9,539.928,57.7232,""), +(705201,14,-11139.9,543.434,56.4715,""), +(705201,15,-11149.7,550.018,55.9364,""), +(705201,16,-11140.5,543.668,56.3212,""), +(705201,17,-11142.6,541.549,55.92,""), +(705201,18,-11146,536.9,53.7638,""), +(705201,19,-11147,534.896,52.495,""), +(705201,20,-11147.6,532.728,52.4694,""), +(705201,21,-11147.6,535.236,52.5826,""), +(705201,22,-11145.2,538.529,54.7388,""), +(705201,23,-11141.9,543.463,56.2928,""), +(705201,24,-11139.4,542.983,56.6356,""), +(705201,25,-11138.4,539.196,57.9116,""), +(705201,26,-11138.3,535.496,59.8756,""), +(705201,27,-11137.9,539.928,57.7232,""), +(705201,28,-11139.9,543.434,56.4715,""), +(705201,29,-11149.7,550.018,55.9364,""), +(705201,30,-11151.1,551.26,55.8923,""); + +DELETE FROM `waypoint_data` WHERE `id` IN (669880,669910); +DELETE FROM `creature_addon` WHERE `guid` IN (66988,66991); +UPDATE `creature` SET `position_x`=-11152.5, `position_y`=552.716, `position_z`=55.8919, `orientation`=5.50239, `MovementType`=0 WHERE `guid`=66988; +UPDATE `creature` SET `position_x`=-11151.1, `position_y`=551.26, `position_z`=55.8923, `orientation`=2.36865, `MovementType`=0 WHERE `guid`=66991; From 805e7e7700e06b8e945c5eab67872b81423d5f0c Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Tue, 29 May 2018 21:40:18 +0200 Subject: [PATCH 24/49] DB/Creature: Doc Mixilpixil Closes #21975 --- .../world/3.3.5/2018_05_29_03_world_335.sql | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_29_03_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_29_03_world_335.sql b/sql/updates/world/3.3.5/2018_05_29_03_world_335.sql new file mode 100644 index 0000000000..d441f88176 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_29_03_world_335.sql @@ -0,0 +1,43 @@ +-- Doc Mixilpixil +DELETE FROM `creature_text` WHERE `CreatureID`=7207; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7207,0,0,"Just /lay down anywhere, $n. I promise, this won't hurt a bit!",12,0,100,0,0,0,3567,0,"Doc Mixilpixil"), +(7207,1,0,"%s prepares his syringe.",16,0,100,0,0,0,3563,0,"Doc Mixilpixil"), +(7207,2,0,"%s examines the blood in the bottle.",16,0,100,0,0,0,3564,0,"Doc Mixilpixil"), +(7207,3,0,"Very interesting!",12,0,100,0,0,0,3565,0,"Doc Mixilpixil"), +(7207,4,0,"%s seems to be talking to the squirrel and the statue. He periodically points in your direction.",16,0,100,0,0,0,3566,0,"Doc Mixilpixil"), +(7207,5,0,"This doesn't look good!",12,0,100,274,0,0,3568,0,"Doc Mixilpixil"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=7207 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (720700,720701) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7207,0,0,0,19,0,100,0,2608,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Quest 'The Touch of Zanzil (Part 2)' Taken - Say Line 0"), +(7207,0,1,0,22,0,100,0,61,15000,15000,0,0,80,720700,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Received Emote 'Lay Down' - Run Script"), +(7207,0,2,0,20,0,100,0,2608,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Quest 'The Touch of Zanzil (Part 2)' Finished - Remove Npc Flag Questgiver+Gossip"), +(7207,0,3,0,20,0,100,0,2608,0,0,0,0,53,0,7207,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Quest 'The Touch of Zanzil (Part 2)' Finished - Start Waypoint"), +(7207,0,4,0,40,0,100,0,1,7207,0,0,0,80,720701,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Waypoint 1 Reached - Run Script"), +(7207,0,5,0,40,0,100,0,2,7207,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.15905,"Doc Mixilpixil - On Waypoint 2 Reached - Set Orientation"), +(7207,0,6,0,40,0,100,0,2,7207,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Waypoint 2 Reached - Add Npc Flag Questgiver+Gossip"), +(7207,0,7,0,40,0,100,0,2,7207,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Waypoint 2 Reached - Say Line 5"), +(720700,9,0,0,0,0,100,0,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Remove Npc Flag Questgiver+Gossip"), +(720700,9,1,0,0,0,100,0,2000,2000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Say Line 1"), +(720700,9,2,0,0,0,100,0,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Set Flag Standstate 'Kneel'"), +(720700,9,3,0,0,0,100,0,6000,6000,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Set Emote State 233"), +(720700,9,4,0,0,0,100,0,2000,2000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Say Line 2"), +(720700,9,5,0,0,0,100,0,3000,3000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Say Line 3"), +(720700,9,6,0,0,0,100,0,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Add Npc Flag Questgiver+Gossip"), +(720700,9,7,0,0,0,100,0,0,0,0,0,0,15,2608,0,0,0,0,0,7,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Complete Quest 'The Touch of Zanzil (Part 2)'"), +(720701,9,0,0,0,0,100,0,0,0,0,0,0,54,17000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Pause Waypoint"), +(720701,9,1,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.291581,"Doc Mixilpixil - On Script - Set Orientation"), +(720701,9,2,0,0,0,100,0,1000,1000,0,0,0,17,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Set Emote State 1"), +(720701,9,3,0,0,0,100,0,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Say Line 4"), +(720701,9,4,0,0,0,100,0,15000,15000,0,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doc Mixilpixil - On Script - Set Emote State 0"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=7207; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22,2,7207,0,0,9,0,2608,0,0,0,0,0,"","SAI triggers only if quest 'The Touch of Zanzil (Part 2)' is taken"); + +DELETE FROM `waypoints` WHERE `entry`=7207; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(7207,1,-8806.36,338.259,95.0989,""), +(7207,2,-8805.56,331.968,95.0986,""); From 3e447d760b7377a4d0f095a0485d8bc19ffda95a Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Tue, 29 May 2018 21:41:41 +0200 Subject: [PATCH 25/49] DB/Quest: A Noble Brew (Part 2) Closes #21977 --- .../world/3.3.5/2018_05_29_04_world_335.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_29_04_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_29_04_world_335.sql b/sql/updates/world/3.3.5/2018_05_29_04_world_335.sql new file mode 100644 index 0000000000..710c5c32c7 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_29_04_world_335.sql @@ -0,0 +1,16 @@ +-- Lord Baurles K. Wishock +DELETE FROM `creature_text` WHERE `CreatureID`=1439; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1439,0,0,"My, that Black Claw stout packs quite a punch!",12,7,100,33,0,0,387,0,"Lord Baurles K. Wishock"), +(1439,1,0,"I feel... dizzy. It's so hot... in... here...",12,7,100,0,0,0,388,0,"Lord Baurles K. Wishock"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1439; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1439 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=143900 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1439,0,0,0,20,0,100,0,336,0,0,0,80,143900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Quest 'A Noble Brew (Part 2)' Finished - Run Script"), +(143900,9,0,0,0,0,100,0,0,0,0,0,5,7,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Play Emote 'Eat'"), +(143900,9,1,0,0,0,100,0,3000,3000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Say Line 0"), +(143900,9,2,0,0,0,100,0,4000,4000,0,0,17,64,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Set Emote State 'Stun'"), +(143900,9,3,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Say Line 1"), +(143900,9,4,0,0,0,100,0,5000,5000,0,0,11,2596,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Cast touch-of-the-black-claw"); From 98873f095db9d3c958211349ebd542d9e173ebaa Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Tue, 29 May 2018 21:42:24 +0200 Subject: [PATCH 26/49] DB/Quest: The Completed Orb of Noh'Orahil & The Completed Orb of Dar'Orahil Closes #21978 --- .../world/3.3.5/2018_05_29_05_world_335.sql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_29_05_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_29_05_world_335.sql b/sql/updates/world/3.3.5/2018_05_29_05_world_335.sql new file mode 100644 index 0000000000..7dd67a2f87 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_29_05_world_335.sql @@ -0,0 +1,21 @@ +-- Menara Voidrender +DELETE FROM `creature_text` WHERE `CreatureID`=6266; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(6266,1,0,"Ok, let's get this orb made...",12,0,100,0,0,0,2663,0,"Menara Voidrender"), +(6266,2,0,"All right. It's made!",12,0,100,1,0,0,2664,0,"Menara Voidrender"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=6266; +DELETE FROM `smart_scripts` WHERE `entryorguid`=6266 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=626600 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6266,0,0,0,19,0,100,0,4975,0,0,0,80,626600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Menara Voidrender - On Quest 'The Completed Orb of Noh'Orahil' Taken - Run Script"), +(6266,0,1,0,19,0,100,0,4964,0,0,0,80,626600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Menara Voidrender - On Quest 'The Completed Orb of Dar'Orahil' Taken - Run Script"), +(626600,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Remove Npc Flag Questgiver+Gossip"), +(626600,9,1,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 1"), +(626600,9,2,0,0,0,100,0,0,0,0,0,11,9156,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Cast 'Create Mage's Orb'"), +(626600,9,3,0,0,0,100,0,5500,5500,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Say Line 2"), +(626600,9,4,0,0,0,100,0,0,0,0,0,15,4975,0,0,0,0,0,7,0,0,0,0,0,0,0,"Tabetha - On Script - Complete Quest 'The Completed Orb of Noh'Orahil'"), +(626600,9,5,0,0,0,100,0,0,0,0,0,15,4964,0,0,0,0,0,7,0,0,0,0,0,0,0,"Tabetha - On Script - Complete Quest 'The Completed Orb of Dar'Orahil'"), +(626600,9,6,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Add Npc Flag Questgiver+Gossip"); + +UPDATE `quest_template_addon` SET `SpecialFlags`=2 WHERE `ID`=4964; From 44236f2d682e86c799070caaac88eef0a9480d91 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Tue, 29 May 2018 21:45:34 +0200 Subject: [PATCH 27/49] DB/Gossip: Menara Voidrender, Acolyte Wytula & Acolyte Magaz Closes #21979 --- .../world/3.3.5/2018_05_29_06_world_335.sql | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_29_06_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_29_06_world_335.sql b/sql/updates/world/3.3.5/2018_05_29_06_world_335.sql new file mode 100644 index 0000000000..188efff91b --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_29_06_world_335.sql @@ -0,0 +1,22 @@ +-- +DELETE FROM `gossip_menu` WHERE `MenuID`=2912 AND `TextID`=3591; +DELETE FROM `gossip_menu` WHERE `MenuID`=2913 AND `TextID`=3592; +DELETE FROM `gossip_menu` WHERE `MenuID`=2603 AND `TextID` IN (3594,3299); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(2912,3591,0), +(2913,3592,0), +(2603,3594,0), +(2603,3299,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup` IN (2912,2913,2603); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,2912,3591,0,0,14,0,1799,0,0,1,0,0,"","Show gossip text 3591 if quest 'Fragments of the Orb of Orahil' is taken"), +(14,2912,3591,0,0,8,0,4963,0,0,1,0,0,"","Show gossip text 3591 if quest 'Shard of an Infernal' is not rewarded"), +(14,2912,3591,0,0,8,0,4962,0,0,1,0,0,"","Show gossip text 3591 if quest 'Shard of a Felhound' is not rewarded"), +(14,2913,3592,0,0,14,0,1799,0,0,1,0,0,"","Show gossip text 3592 if quest 'Fragments of the Orb of Orahil' is taken"), +(14,2913,3592,0,0,8,0,4963,0,0,1,0,0,"","Show gossip text 3592 if quest 'Shard of an Infernal' is not rewarded"), +(14,2913,3592,0,0,8,0,4962,0,0,1,0,0,"","Show gossip text 3592 if quest 'Shard of a Felhound' is not rewarded"), +(14,2603,3594,0,0,14,0,1799,0,0,1,0,0,"","Show gossip text 3592 if quest 'Fragments of the Orb of Orahil' is taken"), +(14,2603,3594,0,0,8,0,4963,0,0,1,0,0,"","Show gossip text 3592 if quest 'Shard of an Infernal' is not rewarded"), +(14,2603,3298,0,0,15,0,1279,0,0,0,0,0,"","Show gossip text 3299 if if Player is not a Warlock"), +(14,2603,3299,0,0,15,0,256,0,0,0,0,0,"","Show gossip text 3299 if if Player is a Warlock"); From f46868630b3fa53f3968ef807a48aaf63448a7cb Mon Sep 17 00:00:00 2001 From: Aokromes Date: Wed, 30 May 2018 13:42:02 +0200 Subject: [PATCH 28/49] rename files --- ...018_05_30_00_world_from_335_was_2018_05_29_00_world_335.sql} | 2 ++ ...018_05_30_01_world_from_335_was_2018_05_29_01_world_335.sql} | 2 ++ ...018_05_30_02_world_from_335_was_2018_05_29_02_world_335.sql} | 2 ++ ...018_05_30_03_world_from_335_was_2018_05_29_03_world_335.sql} | 2 ++ ...018_05_30_04_world_from_335_was_2018_05_29_04_world_335.sql} | 2 ++ ...018_05_30_05_world_from_335_was_2018_05_29_05_world_335.sql} | 2 ++ ...018_05_30_06_world_from_335_was_2018_05_29_06_world_335.sql} | 2 ++ 7 files changed, 14 insertions(+) rename sql/updates/world/{3.3.5/2018_05_29_00_world_335.sql => 4.3.4/2018_05_30_00_world_from_335_was_2018_05_29_00_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_29_01_world_335.sql => 4.3.4/2018_05_30_01_world_from_335_was_2018_05_29_01_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_29_02_world_335.sql => 4.3.4/2018_05_30_02_world_from_335_was_2018_05_29_02_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_29_03_world_335.sql => 4.3.4/2018_05_30_03_world_from_335_was_2018_05_29_03_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_29_04_world_335.sql => 4.3.4/2018_05_30_04_world_from_335_was_2018_05_29_04_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_29_05_world_335.sql => 4.3.4/2018_05_30_05_world_from_335_was_2018_05_29_05_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_29_06_world_335.sql => 4.3.4/2018_05_30_06_world_from_335_was_2018_05_29_06_world_335.sql} (99%) diff --git a/sql/updates/world/3.3.5/2018_05_29_00_world_335.sql b/sql/updates/world/4.3.4/2018_05_30_00_world_from_335_was_2018_05_29_00_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_29_00_world_335.sql rename to sql/updates/world/4.3.4/2018_05_30_00_world_from_335_was_2018_05_29_00_world_335.sql index 16358d4440..87c483d2e7 100644 --- a/sql/updates/world/3.3.5/2018_05_29_00_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_30_00_world_from_335_was_2018_05_29_00_world_335.sql @@ -1,3 +1,4 @@ +/* -- Lucius DELETE FROM `creature_text` WHERE `CreatureID`=6966; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -7,3 +8,4 @@ UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=6966; DELETE FROM `smart_scripts` WHERE `entryorguid`=6966 AND `source_type`=0; INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (6966,0,0,0,19,0,100,0,2282,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lucius - On Quest 'Alther's Mill' Taken - Say Line 0"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_29_01_world_335.sql b/sql/updates/world/4.3.4/2018_05_30_01_world_from_335_was_2018_05_29_01_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_29_01_world_335.sql rename to sql/updates/world/4.3.4/2018_05_30_01_world_from_335_was_2018_05_29_01_world_335.sql index 4d50bb7a07..6bfa9d242e 100644 --- a/sql/updates/world/3.3.5/2018_05_29_01_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_30_01_world_from_335_was_2018_05_29_01_world_335.sql @@ -1,3 +1,4 @@ +/* -- Klaven Mortwake UPDATE `creature_text` SET `Emote`=5 WHERE `CreatureID`=7053 AND `GroupID`=2; UPDATE `creature_text` SET `Emote`=11 WHERE `CreatureID`=7053 AND `GroupID`=1; @@ -9,3 +10,4 @@ UPDATE `smart_scripts` SET `action_param6`=2 WHERE `entryorguid`=7053 AND `sourc DELETE FROM `smart_scripts` WHERE `entryorguid`=7053 AND `source_type`=0 AND `id`=3; INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (7053,0,3,0,4,0,100,0,0,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Klaven Mortwake - On Aggro - Say Line 5"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_29_02_world_335.sql b/sql/updates/world/4.3.4/2018_05_30_02_world_from_335_was_2018_05_29_02_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_29_02_world_335.sql rename to sql/updates/world/4.3.4/2018_05_30_02_world_from_335_was_2018_05_29_02_world_335.sql index 5514f73718..7745ed0e99 100644 --- a/sql/updates/world/3.3.5/2018_05_29_02_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_30_02_world_from_335_was_2018_05_29_02_world_335.sql @@ -1,3 +1,4 @@ +/* -- Defias Tower Patroller DELETE FROM `creature_text` WHERE `CreatureID`=7052; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -85,3 +86,4 @@ DELETE FROM `waypoint_data` WHERE `id` IN (669880,669910); DELETE FROM `creature_addon` WHERE `guid` IN (66988,66991); UPDATE `creature` SET `position_x`=-11152.5, `position_y`=552.716, `position_z`=55.8919, `orientation`=5.50239, `MovementType`=0 WHERE `guid`=66988; UPDATE `creature` SET `position_x`=-11151.1, `position_y`=551.26, `position_z`=55.8923, `orientation`=2.36865, `MovementType`=0 WHERE `guid`=66991; +*/ diff --git a/sql/updates/world/3.3.5/2018_05_29_03_world_335.sql b/sql/updates/world/4.3.4/2018_05_30_03_world_from_335_was_2018_05_29_03_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_29_03_world_335.sql rename to sql/updates/world/4.3.4/2018_05_30_03_world_from_335_was_2018_05_29_03_world_335.sql index d441f88176..f97e6e2783 100644 --- a/sql/updates/world/3.3.5/2018_05_29_03_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_30_03_world_from_335_was_2018_05_29_03_world_335.sql @@ -1,3 +1,4 @@ +/* -- Doc Mixilpixil DELETE FROM `creature_text` WHERE `CreatureID`=7207; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -41,3 +42,4 @@ DELETE FROM `waypoints` WHERE `entry`=7207; INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (7207,1,-8806.36,338.259,95.0989,""), (7207,2,-8805.56,331.968,95.0986,""); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_29_04_world_335.sql b/sql/updates/world/4.3.4/2018_05_30_04_world_from_335_was_2018_05_29_04_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_29_04_world_335.sql rename to sql/updates/world/4.3.4/2018_05_30_04_world_from_335_was_2018_05_29_04_world_335.sql index 710c5c32c7..881d710519 100644 --- a/sql/updates/world/3.3.5/2018_05_29_04_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_30_04_world_from_335_was_2018_05_29_04_world_335.sql @@ -1,3 +1,4 @@ +/* -- Lord Baurles K. Wishock DELETE FROM `creature_text` WHERE `CreatureID`=1439; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -14,3 +15,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (143900,9,2,0,0,0,100,0,4000,4000,0,0,17,64,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Set Emote State 'Stun'"), (143900,9,3,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Say Line 1"), (143900,9,4,0,0,0,100,0,5000,5000,0,0,11,2596,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Baurles K. Wishock - On Script - Cast touch-of-the-black-claw"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_29_05_world_335.sql b/sql/updates/world/4.3.4/2018_05_30_05_world_from_335_was_2018_05_29_05_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_29_05_world_335.sql rename to sql/updates/world/4.3.4/2018_05_30_05_world_from_335_was_2018_05_29_05_world_335.sql index 7dd67a2f87..6685d6c624 100644 --- a/sql/updates/world/3.3.5/2018_05_29_05_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_30_05_world_from_335_was_2018_05_29_05_world_335.sql @@ -1,3 +1,4 @@ +/* -- Menara Voidrender DELETE FROM `creature_text` WHERE `CreatureID`=6266; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -19,3 +20,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (626600,9,6,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tabetha - On Script - Add Npc Flag Questgiver+Gossip"); UPDATE `quest_template_addon` SET `SpecialFlags`=2 WHERE `ID`=4964; +*/ diff --git a/sql/updates/world/3.3.5/2018_05_29_06_world_335.sql b/sql/updates/world/4.3.4/2018_05_30_06_world_from_335_was_2018_05_29_06_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_29_06_world_335.sql rename to sql/updates/world/4.3.4/2018_05_30_06_world_from_335_was_2018_05_29_06_world_335.sql index 188efff91b..a0b675d384 100644 --- a/sql/updates/world/3.3.5/2018_05_29_06_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_30_06_world_from_335_was_2018_05_29_06_world_335.sql @@ -1,3 +1,4 @@ +/* -- DELETE FROM `gossip_menu` WHERE `MenuID`=2912 AND `TextID`=3591; DELETE FROM `gossip_menu` WHERE `MenuID`=2913 AND `TextID`=3592; @@ -20,3 +21,4 @@ INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry (14,2603,3594,0,0,8,0,4963,0,0,1,0,0,"","Show gossip text 3592 if quest 'Shard of an Infernal' is not rewarded"), (14,2603,3298,0,0,15,0,1279,0,0,0,0,0,"","Show gossip text 3299 if if Player is not a Warlock"), (14,2603,3299,0,0,15,0,256,0,0,0,0,0,"","Show gossip text 3299 if if Player is a Warlock"); +*/ From f31de9310096b7e862037f0d127af9726ebe6737 Mon Sep 17 00:00:00 2001 From: Killyana Date: Thu, 31 May 2018 08:39:51 +0200 Subject: [PATCH 29/49] DB/SAI: Power Converter Closes #21986 --- sql/updates/world/3.3.5/2018_05_31_00_world.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_31_00_world.sql diff --git a/sql/updates/world/3.3.5/2018_05_31_00_world.sql b/sql/updates/world/3.3.5/2018_05_31_00_world.sql new file mode 100644 index 0000000000..1deccbc47d --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_31_00_world.sql @@ -0,0 +1,5 @@ +-- +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=184906; +DELETE FROM `smart_scripts` WHERE `entryorguid`=184906 AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(184906,1,0,0,70,0,100,0,2,0,0,0,41,1500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Power Converter - On state changed - despawn"); From a98ec2583e2d909439bb31427b1551d45a74715b Mon Sep 17 00:00:00 2001 From: Killyana Date: Thu, 31 May 2018 08:54:45 +0200 Subject: [PATCH 30/49] DB/Condition: Lashh'an Channeling Closes #21983 --- sql/updates/world/3.3.5/2018_05_31_01_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_31_01_world.sql diff --git a/sql/updates/world/3.3.5/2018_05_31_01_world.sql b/sql/updates/world/3.3.5/2018_05_31_01_world.sql new file mode 100644 index 0000000000..68706279fb --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_31_01_world.sql @@ -0,0 +1,2 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=4 AND `SourceEntry`=36904; From 04fd1edd0a723763e6e1b0161ad631123248ad3d Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Thu, 31 May 2018 09:21:21 +0200 Subject: [PATCH 31/49] DB/Quest: The Completed Orb of Noh'Orahil & The Completed Orb of Dar'Orahil Closes #21984 --- sql/updates/world/3.3.5/2018_05_31_02_world_335.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_31_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_31_02_world_335.sql b/sql/updates/world/3.3.5/2018_05_31_02_world_335.sql new file mode 100644 index 0000000000..d31d13d843 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_31_02_world_335.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry` IN (4975,4964); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19,0,4975,0,0,8,0,4963,0,0,0,0,0,"","Quest 'The Completed Orb of Noh'Orahil' can only be taken if quest 'Shard of an Infernal' is rewarded"), +(19,0,4964,0,0,8,0,4962,0,0,0,0,0,"","Quest 'The Completed Orb of Dar'Orahil' can only be taken if quest 'Shard of a Felhound' is rewarded"); From 979806f2acb9a8882cd3fdf7d39f8720a4607007 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Thu, 31 May 2018 09:22:31 +0200 Subject: [PATCH 32/49] DB/Gossip: Lady Jaina Proudmoore Closes #21985 --- sql/updates/world/3.3.5/2018_05_31_03_world_335.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_05_31_03_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_05_31_03_world_335.sql b/sql/updates/world/3.3.5/2018_05_31_03_world_335.sql new file mode 100644 index 0000000000..3ccdbc07a7 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_05_31_03_world_335.sql @@ -0,0 +1,4 @@ +-- Lady Jaina Proudmoore +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=2465; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,2465,3158,0,0,8,0,1267,0,0,0,0,0,"","Show gossip text 3158 if quest 'The Missing Diplomat (Part 17)' is rewarded"); From 72123d38b806931ed81cc0013a8b5d80249aa6b6 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 31 May 2018 09:41:14 +0200 Subject: [PATCH 33/49] rename files --- .../2018_05_31_00_world_from_335_was_2018_05_31_00_world.sql} | 0 .../2018_05_31_01_world_from_335_was_2018_05_31_01_world.sql} | 0 ...018_05_31_02_world_from_335_was_2018_05_31_02_world_335.sql} | 2 ++ ...018_05_31_03_world_from_335_was_2018_05_31_03_world_335.sql} | 2 ++ 4 files changed, 4 insertions(+) rename sql/updates/world/{3.3.5/2018_05_31_00_world.sql => 4.3.4/2018_05_31_00_world_from_335_was_2018_05_31_00_world.sql} (100%) rename sql/updates/world/{3.3.5/2018_05_31_01_world.sql => 4.3.4/2018_05_31_01_world_from_335_was_2018_05_31_01_world.sql} (100%) rename sql/updates/world/{3.3.5/2018_05_31_02_world_335.sql => 4.3.4/2018_05_31_02_world_from_335_was_2018_05_31_02_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_05_31_03_world_335.sql => 4.3.4/2018_05_31_03_world_from_335_was_2018_05_31_03_world_335.sql} (98%) diff --git a/sql/updates/world/3.3.5/2018_05_31_00_world.sql b/sql/updates/world/4.3.4/2018_05_31_00_world_from_335_was_2018_05_31_00_world.sql similarity index 100% rename from sql/updates/world/3.3.5/2018_05_31_00_world.sql rename to sql/updates/world/4.3.4/2018_05_31_00_world_from_335_was_2018_05_31_00_world.sql diff --git a/sql/updates/world/3.3.5/2018_05_31_01_world.sql b/sql/updates/world/4.3.4/2018_05_31_01_world_from_335_was_2018_05_31_01_world.sql similarity index 100% rename from sql/updates/world/3.3.5/2018_05_31_01_world.sql rename to sql/updates/world/4.3.4/2018_05_31_01_world_from_335_was_2018_05_31_01_world.sql diff --git a/sql/updates/world/3.3.5/2018_05_31_02_world_335.sql b/sql/updates/world/4.3.4/2018_05_31_02_world_from_335_was_2018_05_31_02_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_05_31_02_world_335.sql rename to sql/updates/world/4.3.4/2018_05_31_02_world_from_335_was_2018_05_31_02_world_335.sql index d31d13d843..34ff8223ba 100644 --- a/sql/updates/world/3.3.5/2018_05_31_02_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_31_02_world_from_335_was_2018_05_31_02_world_335.sql @@ -1,5 +1,7 @@ +/* -- DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry` IN (4975,4964); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (19,0,4975,0,0,8,0,4963,0,0,0,0,0,"","Quest 'The Completed Orb of Noh'Orahil' can only be taken if quest 'Shard of an Infernal' is rewarded"), (19,0,4964,0,0,8,0,4962,0,0,0,0,0,"","Quest 'The Completed Orb of Dar'Orahil' can only be taken if quest 'Shard of a Felhound' is rewarded"); +*/ diff --git a/sql/updates/world/3.3.5/2018_05_31_03_world_335.sql b/sql/updates/world/4.3.4/2018_05_31_03_world_from_335_was_2018_05_31_03_world_335.sql similarity index 98% rename from sql/updates/world/3.3.5/2018_05_31_03_world_335.sql rename to sql/updates/world/4.3.4/2018_05_31_03_world_from_335_was_2018_05_31_03_world_335.sql index 3ccdbc07a7..196c280cad 100644 --- a/sql/updates/world/3.3.5/2018_05_31_03_world_335.sql +++ b/sql/updates/world/4.3.4/2018_05_31_03_world_from_335_was_2018_05_31_03_world_335.sql @@ -1,4 +1,6 @@ +/* -- Lady Jaina Proudmoore DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=2465; INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (14,2465,3158,0,0,8,0,1267,0,0,0,0,0,"","Show gossip text 3158 if quest 'The Missing Diplomat (Part 17)' is rewarded"); +*/ From c880aca82d392c0d066d171048ef1660a5da0fd6 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Fri, 1 Jun 2018 12:49:30 +0200 Subject: [PATCH 34/49] Tools/vmapextractor: Fixed undeclared identifier 'assert' on OSX --- src/tools/vmap4_extractor/wmo.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tools/vmap4_extractor/wmo.cpp b/src/tools/vmap4_extractor/wmo.cpp index 6e5fc2c80d..508de517fa 100644 --- a/src/tools/vmap4_extractor/wmo.cpp +++ b/src/tools/vmap4_extractor/wmo.cpp @@ -26,6 +26,7 @@ #include #undef min #undef max +#include "Errors.h" #include "mpqfile.h" extern uint16 *LiqType; @@ -379,7 +380,7 @@ int WMOGroup::ConvertToVMAPGroupWmo(FILE *output, WMORoot *rootWMO, bool precise // translate triangle indices to new numbers for (int i=0; i<3*nColTriangles; ++i) { - assert(MoviEx[i] < nVertices); + ASSERT(MoviEx[i] < nVertices); MoviEx[i] = IndexRenum[MoviEx[i]]; } @@ -396,7 +397,7 @@ int WMOGroup::ConvertToVMAPGroupWmo(FILE *output, WMORoot *rootWMO, bool precise if (IndexRenum[i] >= 0) check -= fwrite(MOVT+3*i, sizeof(float), 3, output); - assert(check==0); + ASSERT(check==0); delete [] MoviEx; delete [] IndexRenum; From 7a89b315bfdf359f64f86bb59bee1fad164b1a16 Mon Sep 17 00:00:00 2001 From: Maxwelllmj <36079273+Maxwelllmj@users.noreply.github.com> Date: Fri, 1 Jun 2018 21:38:07 +0800 Subject: [PATCH 35/49] Scripts/Karazhan: make Barnes properly start the Opera Event (#21970) Close: #21881 --- src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp index 9d99fe221d..ef28414ee0 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp @@ -354,6 +354,7 @@ public: break; case GOSSIP_ACTION_INFO_DEF + 2: CloseGossipMenuFor(player); + m_uiEventId = urand(EVENT_OZ, EVENT_RAJ); StartEvent(); break; case GOSSIP_ACTION_INFO_DEF + 3: From c33caac90b15b254437b1ff810a0ee7035ca3b6d Mon Sep 17 00:00:00 2001 From: Gooyeth Date: Sun, 3 Jun 2018 10:19:24 +0200 Subject: [PATCH 36/49] DB/Gossip: Grandmother - Karazhan Closes #21982 --- sql/updates/world/3.3.5/2018_06_03_00_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_06_03_00_world.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_00_world.sql b/sql/updates/world/3.3.5/2018_06_03_00_world.sql new file mode 100644 index 0000000000..e9b5eb78c2 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_06_03_00_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `gossip_menu_option` SET `OptionType`=1, `OptionNpcFlag`=1 WHERE `MenuID` IN (7441, 7442, 7443) AND `OptionID`=0; From 490d7367af7b412535e0f44280e0e2e1af9cbaef Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sun, 3 Jun 2018 10:23:02 +0200 Subject: [PATCH 37/49] DB/Gossip: Anchorite Delan Closes #21988 --- sql/updates/world/3.3.5/2018_06_03_01_world_335.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_06_03_01_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_01_world_335.sql b/sql/updates/world/3.3.5/2018_06_03_01_world_335.sql new file mode 100644 index 0000000000..be6c7bb537 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_06_03_01_world_335.sql @@ -0,0 +1,9 @@ +-- Anchorite Delan --> Fix gossip text +DELETE FROM `gossip_menu` WHERE `MenuID`=7364 AND `TextID`=8799; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(7364,8799,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7364; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,7364,8799,0,0,16,0,1024,0,0,0,0,0,"","Show gossip text if player is a Draenei"), +(14,7364,8798,0,0,16,0,767,0,0,0,0,0,"","Show gossip text if player is not a Draenei"); From 315c9d790fa495118befe1cee4e9a9746ebd9142 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sun, 3 Jun 2018 10:23:38 +0200 Subject: [PATCH 38/49] DB/Quest: Quest Emotes (Elwynn Forest & Westfall) Closes #21989 --- .../world/3.3.5/2018_06_03_02_world_335.sql | 1770 +++++++++++++++++ 1 file changed, 1770 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_06_03_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_02_world_335.sql b/sql/updates/world/3.3.5/2018_06_03_02_world_335.sql new file mode 100644 index 0000000000..6c44871467 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_06_03_02_world_335.sql @@ -0,0 +1,1770 @@ +-- Quest "Kobold Camp Cleanup" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=7; + +-- Quest "Investigate Echo Ridge" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=15; + +-- Quest "Skirmish at Echo Ridge" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=21; + +-- Quest "Brotherhood of Thieves" +DELETE FROM `quest_details` WHERE `ID`=18; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(18,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=18; + +-- Quest "Bounty on Garrick Padfoot" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6; + +-- Quest "Milly's Harvest" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3904; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3904; + +-- Quest "Grape Manifest" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3905; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=4 WHERE `ID`=3905; + +-- Quest "In Favor of the Light" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=5623; + +-- Quest "Garments of the Light" +DELETE FROM `quest_details` WHERE `ID`=5624; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5624,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=5624; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=5624; + +-- Quest "Report to Goldshire" +UPDATE `quest_offer_reward` SET `Emote2`=66 WHERE `ID`=54; + +-- Quest "Rest and Relaxation" +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=2158; + +-- Quest "The Fargodeep Mine" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=62; + +-- Quest "The Jasperlode Mine" +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=76; + +-- Quest "Report to Gryan Stoutmantle" +DELETE FROM `quest_details` WHERE `ID`=109; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(109,1,25,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=109; + +-- Quest "Westbrook Garrison Needs Help!" +DELETE FROM `quest_details` WHERE `ID`=239; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(239,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=239; + +-- Quest "Kobold Candles" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=60; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=60; + +-- Quest "Shipment to Stormwind" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=61; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=61; + +-- Quest "Gold Dust Exchange" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=47; + +-- Quest "A Fishy Peril" +DELETE FROM `quest_details` WHERE `ID`=40; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(40,5,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=40; + +-- Quest "Further Concerns" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=35; + +-- Quest "Protect the Frontier" +DELETE FROM `quest_details` WHERE `ID`=52; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(52,66,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=52; + +-- Quest "Report to Thomas" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=71; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=71; + +-- Quest "Cloth and Leather Armor" +DELETE FROM `quest_details` WHERE `ID`=59; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(59,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2 WHERE `ID`=59; + +-- Quest "Red Linen Goods" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=83; + +-- Quest "A Bundle of Trouble" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=5545; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=5545; + +-- Quest "Bounty on Murlocs" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=46; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=46; + +-- Quest "A Watchful Eye" +DELETE FROM `quest_details` WHERE `ID`=94; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(94,1,0,0,0,0,0,0,0,0); + +-- Quest "Tome of Divinity" +DELETE FROM `quest_details` WHERE `ID`=2998; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2998,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=2998; + +-- Quest "Tome of Divinity" +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=1641; + +-- Quest "Tome of Divinity" +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=6, `Emote3`=1, `Emote4`=1 WHERE `ID`=1642; + +-- Quest "Tome of Divinity (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=1643; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1643,2,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=1643; + +-- Quest "Tome of Divinity (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=1644; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1644,1,1,1,16,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1644; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1, `Emote4`=2 WHERE `ID`=1644; + +-- Quest "Tome of Divinity (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=1780; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1780,1,1,3,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=1780; + +-- Quest "Tome of Divinity (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=1781; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1781,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=33, `Emote2`=2, `Emote3`=1, `Emote4`=1 WHERE `ID`=1781; + +-- Quest "Tome of Divinity (Part 6)" +DELETE FROM `quest_details` WHERE `ID`=1786; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1786,1,1,1,1,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1, `Emote4`=1 WHERE `ID`=1786; + +-- Quest "Tome of Divinity (Part 7)" +DELETE FROM `quest_details` WHERE `ID`=1787; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1787,1,1,6,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1787; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=1787; + +-- Quest "Tome of Divinity (Part 8)" +DELETE FROM `quest_details` WHERE `ID`=1788; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1788,1,1,2,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1, `Emote4`=2 WHERE `ID`=1788; + +-- Quest "Give Gerard a Drink" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=16; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=16; + +-- Quest "Young Lovers" +DELETE FROM `quest_details` WHERE `ID`=106; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(106,18,20,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=5 WHERE `ID`=106; + +-- Quest "Speak with Gramma" +DELETE FROM `quest_details` WHERE `ID`=111; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(111,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=111; + +-- Quest "Note to William" +DELETE FROM `quest_details` WHERE `ID`=107; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(107,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=107; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=107; + +-- Quest "Collecting Kelp" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=112; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=112; + +-- Quest "The Escape" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=114; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=114; + +-- Quest "Princess Must Die!" +DELETE FROM `quest_details` WHERE `ID`=88; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(88,1,5,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=88; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=88; + +-- Quest "Lost Necklace" +DELETE FROM `quest_details` WHERE `ID`=85; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(85,1,0,0,0,0,0,0,0,0); + +-- Quest "Pie for Billy" +DELETE FROM `quest_details` WHERE `ID`=86; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(86,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=86; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=86; + +-- Quest "Back to Billy" +DELETE FROM `quest_details` WHERE `ID`=84; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(84,1,0,0,0,0,0,0,0,0); + +-- Quest "Goldtooth" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=3, `EmoteOnComplete`=3 WHERE `ID`=87; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=87; + +-- Quest "Riverpaw Gnoll Bounty" +DELETE FROM `quest_details` WHERE `ID`=11; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=11; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=11; + +-- Quest "Wanted: Hogger" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=176; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=176; + +-- Quest "The Collector" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=123; + +-- Quest "Manhunt" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=147; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=147; + +-- Quest "Elmore's Task" +DELETE FROM `quest_details` WHERE `ID`=1097; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1097,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=1097; + +-- Quest "Stormpike's Delivery" +DELETE FROM `quest_details` WHERE `ID`=353; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(353,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=353; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=353; + +-- Quest "Wine Shop Advert" +DELETE FROM `quest_details` WHERE `ID`=332; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(332,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2 WHERE `ID`=332; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=332; + +-- Quest "Harlan Needs a Resupply" +DELETE FROM `quest_details` WHERE `ID`=333; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(333,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=333; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=333; + +-- Quest "Package for Thurman" +DELETE FROM `quest_details` WHERE `ID`=334; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(334,1,1,0,0,0,0,0,0,0); + +-- Quest "Retrieval for Mauren" +DELETE FROM `quest_details` WHERE `ID`=1078; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1078,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=2, `EmoteOnComplete`=2 WHERE `ID`=1078; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=1078; + +-- Quest "The Color of Blood" +DELETE FROM `quest_details` WHERE `ID`=388; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(388,1,5,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=388; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=388; + +-- Quest "Quell The Uprising" +DELETE FROM `quest_details` WHERE `ID`=387; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(387,5,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=387; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=66 WHERE `ID`=387; + +-- Quest "Mazen's Behest" +DELETE FROM `quest_details` WHERE `ID`=1363; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1363,1,6,1,6,0,0,0,0,0); + +-- Quest "Mazen's Behest (Part 2)" +DELETE FROM `quest_template_addon` WHERE `ID`=1364; +INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES +(1364,0,0,0,1363,0,0,0,0,0,0,0,0,0,0,0,0); +DELETE FROM `quest_details` WHERE `ID`=1364; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1364,1,1,5,6,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1364; + +-- Quest "The Corruption Abroad" +DELETE FROM `quest_details` WHERE `ID`=3765; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3765,2,1,1,0,0,0,0,0,0); + +-- Quest "Speaking of Fortitude" +DELETE FROM `quest_details` WHERE `ID`=343; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(343,1,1,2,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=343; + +-- Quest "Brother Paxton" +DELETE FROM `quest_details` WHERE `ID`=344; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(344,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=344; + +-- Quest "Ink Supplies" +DELETE FROM `quest_details` WHERE `ID`=345; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(345,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=345; + +-- Quest "Rethban Ore" +DELETE FROM `quest_details` WHERE `ID`=347; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(347,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=347; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=347; + +-- Quest "Return to Kristoff" +DELETE FROM `quest_details` WHERE `ID`=346; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(346,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=346; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=346; + +-- Quest "Humble Beginnings" +DELETE FROM `quest_details` WHERE `ID`=399; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(399,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=399; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=399; + +-- Quest "Bring the Light" +DELETE FROM `quest_details` WHERE `ID`=3636; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3636,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=3636; + +-- Quest "Underground Assault" +DELETE FROM `quest_details` WHERE `ID`=2040; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2040,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2040; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=2040; + +-- Quest "Gyrodrillmatic Excavationators" +DELETE FROM `quest_details` WHERE `ID`=2928; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2928,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2928; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2928; + +-- Quest "Collecting Memories" +DELETE FROM `quest_details` WHERE `ID`=168; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(168,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=168; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=168; + +-- Quest "Oh Brother. . ." +DELETE FROM `quest_details` WHERE `ID`=167; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(167,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=167; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=167; + +-- Quest "Furlbrow's Deed" +UPDATE `quest_request_items` SET `EmoteOnComplete`=5 WHERE `ID`=184; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=184; + +-- Quest "The Forgotten Heirloom" +DELETE FROM `quest_details` WHERE `ID`=64; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(64,5,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=64; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=64; + +-- Quest "Poor Old Blanchy" +DELETE FROM `quest_details` WHERE `ID`=151; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(151,5,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=151; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=151; + +-- Quest "Westfall Stew" +DELETE FROM `quest_details` WHERE `ID`=36; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(36,1,6,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=36; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=36; + +-- Quest "Westfall Stew (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=38; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(38,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=38; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=38; + +-- Quest "Goretusk Liver Pie" +DELETE FROM `quest_details` WHERE `ID`=22; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(22,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=6 WHERE `ID`=22; + +-- Quest "The Killing Fields" +DELETE FROM `quest_details` WHERE `ID`=9; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(9,5,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=9; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=9; + +-- Quest "The People's Militia" +DELETE FROM `quest_details` WHERE `ID`=12; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(12,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=12; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=12; + +-- Quest "The People's Militia (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=13; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(13,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=13; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=13; + +-- Quest "The People's Militia (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=14; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(14,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=14; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=14; + +-- Quest "Patrolling Westfall" +DELETE FROM `quest_details` WHERE `ID`=102; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(102,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=102; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=102; + +-- Quest "A Swift Message" +DELETE FROM `quest_details` WHERE `ID`=6181; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6181,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6181; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6181; + +-- Quest "Continue to Stormwind" +DELETE FROM `quest_details` WHERE `ID`=6281; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6281,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6281; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6281; + +-- Quest "Dungar Longdrink" +DELETE FROM `quest_details` WHERE `ID`=6261; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6261,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=1 WHERE `ID`=6261; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6261; + +-- Quest "Return to Lewis" +DELETE FROM `quest_details` WHERE `ID`=6285; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6285,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6285; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=6285; + +-- Quest "Red Leather Bandanas" +DELETE FROM `quest_details` WHERE `ID`=153; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(153,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=153; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=153; + +-- Quest "Thunderbrew Lager" +DELETE FROM `quest_details` WHERE `ID`=117; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(117,94,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=94, `EmoteOnComplete`=94 WHERE `ID`=117; +UPDATE `quest_offer_reward` SET `Emote1`=94 WHERE `ID`=117; + +-- Quest "Sweet Amber" +DELETE FROM `quest_details` WHERE `ID`=48; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(48,94,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=94, `EmoteOnComplete`=94 WHERE `ID`=48; +UPDATE `quest_offer_reward` SET `Emote1`=33 WHERE `ID`=48; + +-- Quest "Sweet Amber (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=49; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(49,94,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=94, `EmoteOnComplete`=94 WHERE `ID`=49; +UPDATE `quest_offer_reward` SET `Emote1`=33 WHERE `ID`=49; + +-- Quest "Sweet Amber (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=50; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(50,94,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=94, `EmoteOnComplete`=94 WHERE `ID`=50; +UPDATE `quest_offer_reward` SET `Emote1`=33 WHERE `ID`=50; + +-- Quest "Sweet Amber (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=51; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(51,94,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=94, `EmoteOnComplete`=94 WHERE `ID`=51; +UPDATE `quest_offer_reward` SET `Emote1`=33 WHERE `ID`=51; + +-- Quest "Sweet Amber (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=53; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(53,94,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=94, `EmoteOnComplete`=94 WHERE `ID`=53; +UPDATE `quest_offer_reward` SET `Emote1`=94 WHERE `ID`=53; + +-- Quest "Keeper of the Flame" / "The Coastal Menace" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID` IN (103,104); + +-- Quest "The Defias Brotherhood" +DELETE FROM `quest_details` WHERE `ID`=65; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(65,1,25,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=65; + +-- Quest "The Defias Brotherhood (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=132; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(132,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=132; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=132; + +-- Quest "The Defias Brotherhood (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=135; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(135,6,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=135; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=135; + +-- Quest "The Defias Brotherhood (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=141; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(141,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=141; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=141; + +-- Quest "The Defias Brotherhood (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=142; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(142,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=142; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=25 WHERE `ID`=142; + +-- Quest "The Defias Brotherhood (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=155; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(155,6,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=155; + +-- Quest "The Defias Brotherhood (Part 6)" +DELETE FROM `quest_details` WHERE `ID`=166; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(166,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=166; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=166; + +-- Quest "Red Silk Bandanas" +DELETE FROM `quest_details` WHERE `ID`=214; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(214,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=214; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=214; + +-- Quest "Brother Anton" +DELETE FROM `quest_details` WHERE `ID`=6141; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6141,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6141; + +-- Quest "Lord Grayson Shadowbreaker" +DELETE FROM `quest_details` WHERE `ID` IN (7638,7670); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7638,1,1,0,0,0,0,0,0,0), +(7670,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=25 WHERE `ID` IN (7638,7670); + +-- Quest "Emphasis on Sacrifice" +DELETE FROM `quest_details` WHERE `ID`=7637; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7637,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=7637; + +-- Quest "To Show Due Judgment" +DELETE FROM `quest_details` WHERE `ID`=7639; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7639,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2 WHERE `ID`=7639; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=7639; + +-- Quest "Exorcising Terrordale" +DELETE FROM `quest_details` WHERE `ID`=7640; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7640,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=7640; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1 WHERE `ID`=7640; + +-- Quest "The Work of Grimand Elmore" +DELETE FROM `quest_details` WHERE `ID`=7641; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7641,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=3, `Emote2`=1 WHERE `ID`=7641; + +-- Quest "Collection of Goods" +DELETE FROM `quest_details` WHERE `ID`=7642; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7642,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=7642; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7642; + +-- Quest "Grimand's Finest Work" +DELETE FROM `quest_details` WHERE `ID`=7648; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7648,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=7648; + +-- Quest "Ancient Equine Spirit" +UPDATE `quest_template_addon` SET `PrevQuestID`=7648 WHERE `ID`=7643; +DELETE FROM `quest_details` WHERE `ID`=7643; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7643,1,1,0,0,0,0,0,0,0); + +-- Quest "Manna-Enriched Horse Feed" +DELETE FROM `quest_details` WHERE `ID`=7645; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7645,1,1,25,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=7645; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=6, `Emote3`=1 WHERE `ID`=7645; + +-- Quest "Blessed Arcanite Barding" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=7644; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=7644; + +-- Quest "The Divination Scryer" +DELETE FROM `quest_details` WHERE `ID`=7646; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7646,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=7646; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=7646; + +-- Quest "Judgment and Redemption" +DELETE FROM `quest_details` WHERE `ID`=7647; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7647,1,1,2,0,0,0,0,0,0); + +-- Quest "Again Into the Great Ossuary" +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=7666; + +-- Quest "The Tome of Valor" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=6, `Emote4`=1 WHERE `ID`=1793; + +-- Quest "The Tome of Valor (Part 2)" +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1, `Emote4`=6 WHERE `ID`=1649; + +-- Quest "The Tome of Valor (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=1650; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1650,21,1,1,1,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1, `Emote4`=24 WHERE `ID`=1650; + +-- Quest "The Tome of Valor (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=1651; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1651,1,1,1,5,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=1 WHERE `ID`=1651; + +-- Quest "The Tome of Valor (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=1652; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1652,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=4, `Emote3`=1 WHERE `ID`=1652; + +-- Quest "The Test of Righteousness" +DELETE FROM `quest_details` WHERE `ID`=1653; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1653,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1, `Emote4`=6 WHERE `ID`=1653; + +-- Quest "The Test of Righteousness (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=1654; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1654,6,2,1,6,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1654; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=1 WHERE `ID`=1654; + +-- Quest "The Test of Righteousness (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=1806; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1806,6,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=1806; + +-- Quest "A Warrior's Training" +DELETE FROM `quest_details` WHERE `ID`=1638; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1638,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=6 WHERE `ID`=1638; + +-- Quest "Bartleby the Drunk" +DELETE FROM `quest_details` WHERE `ID`=1639; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1639,1,6,11,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=3, `Emote2`=6 WHERE `ID`=1639; + +-- Quest "Beat Bartleby" +DELETE FROM `quest_details` WHERE `ID`=1640; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1640,5,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=1640; + +-- Quest "Bartleby's Mug" +DELETE FROM `quest_details` WHERE `ID`=1665; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1665,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1665; +UPDATE `quest_offer_reward` SET `Emote1`=273, `Emote2`=1 WHERE `ID`=1665; + +-- Quest "Marshal Haggard" +DELETE FROM `quest_details` WHERE `ID`=1666; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1666,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=5 WHERE `ID`=1666; + +-- Quest "Dead-tooth Jack" +DELETE FROM `quest_details` WHERE `ID`=1667; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1667,6,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1667; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=1667; + +-- Quest "Speak with Jennea" +DELETE FROM `quest_details` WHERE `ID`=1860; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1860,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1860; + +-- Quest "Mirror Lake" +DELETE FROM `quest_details` WHERE `ID`=1861; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1861,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1861; +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=1861; + +-- Quest "Report to Jennea" +DELETE FROM `quest_details` WHERE `ID`=1919; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1919,1,6,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1919; + +-- Quest "Investigate the Blue Recluse" +DELETE FROM `quest_details` WHERE `ID`=1920; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1920,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1920; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1 WHERE `ID`=1920; + +-- Quest "Gathering Materials" +DELETE FROM `quest_details` WHERE `ID`=1921; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1921,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=3, `EmoteOnComplete`=3 WHERE `ID`=1921; +UPDATE `quest_offer_reward` SET `Emote1`=273 WHERE `ID`=1921; + +-- Quest "Manaweave Robe" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1941; + +-- Quest "High Sorcerer Andromath" +DELETE FROM `quest_details` WHERE `ID`=1939; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1939,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=1939; + +-- Quest "Ur's Treatise on Shadow Magic" +DELETE FROM `quest_details` WHERE `ID`=1938; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1938,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1938; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1938; + +-- Quest "Pristine Spider Silk" +DELETE FROM `quest_details` WHERE `ID`=1940; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1940,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1940; +UPDATE `quest_offer_reward` SET `Emote1`=273 WHERE `ID`=1940; + +-- Quest "Astral Knot Garment" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=6, `Emote3`=11 WHERE `ID`=1942; + +-- Quest "Vital Supplies" +DELETE FROM `quest_details` WHERE `ID`=1477; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1477,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=1477; + +-- Quest "Supplies for Nethergarde" +DELETE FROM `quest_details` WHERE `ID`=1395; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1395,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=3, `EmoteOnComplete`=3 WHERE `ID`=1395; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=1395; + +-- Quest "Journey to the Marsh" +DELETE FROM `quest_details` WHERE `ID`=1947; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1947,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1947; + +-- Quest "Items of Power" +UPDATE `quest_template_addon` SET `PrevQuestID`=1947 WHERE `ID`=1948; +DELETE FROM `quest_details` WHERE `ID`=1948; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1948,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=3, `EmoteOnComplete`=3 WHERE `ID`=1948; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=6 WHERE `ID`=1948; + +-- Quest "Hidden Secrets" +DELETE FROM `quest_details` WHERE `ID`=1949; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1949,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=25 WHERE `ID`=1949; + +-- Quest "Get the Scoop" +DELETE FROM `quest_details` WHERE `ID`=1950; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1950,1,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=1950; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1950; + +-- Quest "Rituals of Power" +DELETE FROM `quest_details` WHERE `ID`=1951; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1951,6,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=2, `EmoteOnComplete`=2 WHERE `ID`=1951; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1951; + +-- Quest "Mage's Wand" +DELETE FROM `quest_details` WHERE `ID`=1952; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1952,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1952; + +-- Quest "Return to the Marsh" +DELETE FROM `quest_details` WHERE `ID`=1953; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1953,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1953; + +-- Quest "The Infernal Orb" +DELETE FROM `quest_details` WHERE `ID`=1954; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1954,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1954; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=5 WHERE `ID`=1954; + +-- Quest "The Exorcism" +DELETE FROM `quest_details` WHERE `ID`=1955; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1955,1,25,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1955; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1 WHERE `ID`=1955; + +-- Quest "Power in Uldaman" +DELETE FROM `quest_details` WHERE `ID`=1956; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1956,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1956; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1 WHERE `ID`=1956; + +-- Quest "Mana Surges" +DELETE FROM `quest_details` WHERE `ID`=1957; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1957,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1957; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=1957; + +-- Quest "Celestial Power" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1958; + +-- Quest "Tabetha's Task" +DELETE FROM `quest_details` WHERE `ID`=2861; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2861,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=6 WHERE `ID`=2861; + +-- Quest "Tiara of the Deep" +DELETE FROM `quest_details` WHERE `ID`=2846; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2846,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=2846; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=2846; + +-- Quest "Magecraft" +DELETE FROM `quest_details` WHERE `ID`=8250; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8250,1,0,0,0,0,0,0,0,0); + +-- Quest "A Meal Served Cold" +DELETE FROM `quest_details` WHERE `ID`=212; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(212,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=212; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=212; + +-- Quest "James Hyal" +DELETE FROM `quest_details` WHERE `ID`=1301; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1301,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1301; + +-- Quest "James Hyal (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=1302; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1302,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1302; + +-- Quest "Morgan Stern" +DELETE FROM `quest_details` WHERE `ID`=1260; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1260,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1260; + +-- Quest "The Perenolde Tiara" +DELETE FROM `quest_details` WHERE `ID`=543; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(543,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=543; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=543; + +-- Quest "Mayara Brightwing" +DELETE FROM `quest_details` WHERE `ID`=4766; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4766,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=4766; + +-- Quest "Tinkmaster Overspark" +DELETE FROM `quest_details` WHERE `ID`=2923; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2923,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=18, `Emote2`=6 WHERE `ID`=2923; + +-- Quest "Save Techbot's Brain!" +DELETE FROM `quest_details` WHERE `ID`=2922; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2922,1,5,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2922; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=2922; + +-- Quest "Seek out SI: 7" +DELETE FROM `quest_details` WHERE `ID`=2205; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2205,6,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2205; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=6 WHERE `ID`=2205; + +-- Quest "Snatch and Grab" +DELETE FROM `quest_details` WHERE `ID`=2206; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2206,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=25, `EmoteOnComplete`=25 WHERE `ID`=2206; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=2206; + +-- Quest "Mathias and the Defias" +DELETE FROM `quest_details` WHERE `ID`=2360; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2360,1,1,1,25,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=2360; + +-- Quest "Klaven's Tower" +DELETE FROM `quest_details` WHERE `ID`=2359; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2359,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2359; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=2359; + +-- Quest "The Touch of Zanzil" +DELETE FROM `quest_details` WHERE `ID`=2607; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2607,1,6,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=2607; + +-- Quest "The Touch of Zanzil (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=2608; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2608,1,11,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=22, `EmoteDelay1`=1500 WHERE `ID`=2608; + +-- Quest "The Touch of Zanzil (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=2609; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2609,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=2609; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5 WHERE `ID`=2609; + +-- Quest "A Simple Request" +DELETE FROM `quest_details` WHERE `ID`=8233; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8233,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=6 WHERE `ID`=8233; + +-- Quest "Sealed Azure Bag" +DELETE FROM `quest_details` WHERE `ID`=8234; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8234,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8234; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8234; + +-- Quest "Encoded Fragments" +DELETE FROM `quest_details` WHERE `ID`=8235; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8235,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8235; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8235; + +-- Quest "The Azure Key" +DELETE FROM `quest_details` WHERE `ID`=8236; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8236,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8236; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote1`=1 WHERE `ID`=8236; + +-- Quest "SI:7" +DELETE FROM `quest_details` WHERE `ID`=2300; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2300,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=2300; + +-- Quest "Redridge Rendezvous" +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=11 WHERE `ID`=2281; + +-- Quest "Alther's Mill" +UPDATE `quest_template_addon` SET `PrevQuestID`=2281 WHERE `ID`=2282; +DELETE FROM `quest_details` WHERE `ID`=2282; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2282,5,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2282; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote1`=25 WHERE `ID`=2282; + +-- Quest "Cenarion Aid" +DELETE FROM `quest_details` WHERE `ID`=8254; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8254,1,0,0,0,0,0,0,0,0); + +-- Quest "Of Coursers We Know" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=8255; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8255; + +-- Quest "The Ichor of Undeath" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=8256; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8256; + +-- Quest "Blood of Morphaz" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8257; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote1`=1 WHERE `ID`=8257; + +-- Quest "Gakin's Summons" +DELETE FROM `quest_details` WHERE `ID` IN (1685,1717); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1685,1,1,0,0,0,0,0,0,0), +(1717,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID` IN (1685,1717); + +-- Quest "The Slaughtered Lamb" +DELETE FROM `quest_details` WHERE `ID`=1715; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1715,1,5,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1715; + +-- Quest "Surena Caledon" +DELETE FROM `quest_details` WHERE `ID`=1688; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1688,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1688; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1688; + +-- Quest "The Binding" +DELETE FROM `quest_details` WHERE `ID`=1689; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1689,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1689; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1689; + +-- Quest "A Noble Brew" +DELETE FROM `quest_details` WHERE `ID`=335; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(335,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=335; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=335; + +-- Quest "A Noble Brew (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=336; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(336,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=336; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=336; + +-- Quest "You Have Served Us Well" +DELETE FROM `quest_details` WHERE `ID`=397; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(397,11,1,0,0,0,0,0,0,0); + +-- Quest "Knowledge of the Orb of Orahil" +DELETE FROM `quest_details` WHERE `ID` IN (4965,4967,4968,4969); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4965,21,1,0,0,0,0,0,0,0), +(4967,1,25,0,0,0,0,0,0,0), +(4968,21,1,0,0,0,0,0,0,0), +(4969,11,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID` IN (4965,4967,4968,4969); + +-- Quest "Fragments of the Orb of Orahil" +DELETE FROM `quest_details` WHERE `ID`=1799; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1799,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1799; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1799; + +-- Quest "Shard of an Infernal" +DELETE FROM `quest_details` WHERE `ID`=4963; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4963,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=4963; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1 WHERE `ID`=4963; + +-- Quest "Shard of a Felhound" +DELETE FROM `quest_details` WHERE `ID`=4962; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4962,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=4962; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1 WHERE `ID`=4962; + +-- Quest "Cleansing of the Orb of Orahil" +DELETE FROM `quest_details` WHERE `ID`=4961; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4961,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=4961; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=4961; + +-- Quest "Returning the Cleansed Orb" +DELETE FROM `quest_details` WHERE `ID`=4976; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4976,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=4976; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1 WHERE `ID`=4976; + +-- Quest "The Completed Orb of Noh'Orahil" +DELETE FROM `quest_details` WHERE `ID`=4975; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4975,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=4975; + +-- Quest "The Completed Orb of Dar'Orahil" +DELETE FROM `quest_details` WHERE `ID`=4964; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4964,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=4964; + +-- Quest "In Search of Menara Voidrender" +DELETE FROM `quest_details` WHERE `ID` IN (4736,4737,4738,4739); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4736,3,1,0,0,0,0,0,0,0), +(4737,1,25,0,0,0,0,0,0,0), +(4738,1,1,0,0,0,0,0,0,0), +(4739,25,1,0,0,500,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID` IN (4736,4737,4738,4739); + +-- Quest "Components for the Enchanted Gold Bloodrobe" +DELETE FROM `quest_details` WHERE `ID`=1796; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1796,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1796; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1796; + +-- Quest "Components for the Enchanted Gold Bloodrobe (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=4781; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4781,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=2, `EmoteOnComplete`=2 WHERE `ID`=4781; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=4781; + +-- Quest "Components for the Enchanted Gold Bloodrobe (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=4782; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4782,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=4782; + +-- Quest "Components for the Enchanted Gold Bloodrobe (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=4783; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4783,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=4783; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=6 WHERE `ID`=4783; + +-- Quest "Components for the Enchanted Gold Bloodrobe (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=4784; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4784,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=4784; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=4784; + +-- Quest "The Completed Robe" +DELETE FROM `quest_details` WHERE `ID`=4786; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4786,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=4786; + +-- Quest "Devourer of Souls" +DELETE FROM `quest_details` WHERE `ID`=1716; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1716,1,1,1,0,0,0,0,0,0); + +-- Quest "Heartswood" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1738; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1738; + +-- Quest "The Binding" +DELETE FROM `quest_details` WHERE `ID`=1739; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1739,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=11, `EmoteOnComplete`=11 WHERE `ID`=1739; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=1739; + +-- Quest "The Missing Diplomat" +DELETE FROM `quest_details` WHERE `ID`=1274; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1274,1,1,2,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=1274; + +-- Quest "The Missing Diplomat (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=1241; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1241,2,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=6, `EmoteDelay1`=1000 WHERE `ID`=1241; + +-- Quest "The Missing Diplomat (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=1242; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1242,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1242; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=11 WHERE `ID`=1242; + +-- Quest "The Missing Diplomat (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=1243; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1243,1,6,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1243; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=11, `Emote3`=6 WHERE `ID`=1243; + +-- Quest "The Missing Diplomat (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=1244; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1244,6,1,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=1244; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1244; + +-- Quest "The Missing Diplomat (Part 6)" +DELETE FROM `quest_details` WHERE `ID`=1245; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1245,5,1,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1245; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1245; + +-- Quest "The Missing Diplomat (Part 7)" +DELETE FROM `quest_details` WHERE `ID`=1246; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1246,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=14, `Emote2`=1 WHERE `ID`=1246; + +-- Quest "The Missing Diplomat (Part 8)" +DELETE FROM `quest_details` WHERE `ID`=1447; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1447,14,6,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=6 WHERE `ID`=1447; + +-- Quest "The Missing Diplomat (Part 9)" +DELETE FROM `quest_details` WHERE `ID`=1247; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1247,11,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=3, `Emote2`=1, `Emote3`=1 WHERE `ID`=1247; + +-- Quest "The Missing Diplomat (Part 10)" +DELETE FROM `quest_details` WHERE `ID`=1248; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1248,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=3, `Emote2`=1, `Emote3`=6, `Emote4`=1 WHERE `ID`=1248; + +-- Quest "The Missing Diplomat (Part 11)" +DELETE FROM `quest_details` WHERE `ID`=1249; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1249,6,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1, `Emote4`=6 WHERE `ID`=1249; + +-- Quest "The Missing Diplomat (Part 12)" +DELETE FROM `quest_details` WHERE `ID`=1250; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1250,18,1,1,5,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=1, `Emote4`=1 WHERE `ID`=1250; + +-- Quest "The Missing Diplomat (Part 13)" +DELETE FROM `quest_details` WHERE `ID`=1264; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1264,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=66, `Emote2`=1, `Emote3`=1 WHERE `ID`=1264; + +-- Quest "The Missing Diplomat (Part 14)" +DELETE FROM `quest_details` WHERE `ID`=1265; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1265,6,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=1265; + +-- Quest "The Missing Diplomat (Part 15)" +DELETE FROM `quest_details` WHERE `ID`=1266; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1266,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1, `Emote4`=1 WHERE `ID`=1266; + +-- Quest "The Missing Diplomat (Part 16)" +DELETE FROM `quest_details` WHERE `ID`=1324; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1324,5,14,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=1324; + +-- Quest "The Missing Diplomat (Part 17)" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1267; + +-- Quest "Yorus Barleybrew" +DELETE FROM `quest_details` WHERE `ID` IN (1698,10371); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1698,1,0,0,0,0,0,0,0,0), +(10371,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=25 WHERE `ID` IN (1698,10371); + +-- Quest "The Rethban Gauntlet" +DELETE FROM `quest_details` WHERE `ID`=1699; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1699,1,25,1,6,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=1699; + +-- Quest "The Shieldsmith" +DELETE FROM `quest_details` WHERE `ID`=1702; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1702,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=3 WHERE `ID`=1702; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=273 WHERE `ID`=1702; + +-- Quest "Fire Hardened Mail" +DELETE FROM `quest_details` WHERE `ID`=1701; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1701,1,1,6,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1701; +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=1701; + +-- Quest "Furen's Armor" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1782; + +-- Quest "Mathiel" +DELETE FROM `quest_details` WHERE `ID`=1703; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1703,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2 WHERE `ID`=1703; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=1703; + +-- Quest "Sunscorched Shells" +DELETE FROM `quest_details` WHERE `ID`=1710; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1710,1,6,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1710; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=1710; + +-- Quest "Mathiel's Armor" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=1711; + +-- Quest "Grimand Elmore" +DELETE FROM `quest_details` WHERE `ID`=1700; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1700,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2 WHERE `ID`=1700; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5 WHERE `ID`=1700; + +-- Quest "Burning Blood" +DELETE FROM `quest_details` WHERE `ID`=1705; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1705,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1705; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1705; + +-- Quest "Grimand's Armor" +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=1706; + +-- Quest "Klockmort Spannerspan" +DELETE FROM `quest_details` WHERE `ID`=1704; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1704,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2 WHERE `ID`=1704; +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=1704; + +-- Quest "Iron Coral" +DELETE FROM `quest_details` WHERE `ID`=1708; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1708,1,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=3, `EmoteOnComplete`=3 WHERE `ID`=1708; +UPDATE `quest_offer_reward` SET `Emote1`=273, `Emote2`=5 WHERE `ID`=1708; + +-- Quest "Klockmort's Creation" +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=5 WHERE `ID`=1709; + +-- Quest "The Islander" +DELETE FROM `quest_details` WHERE `ID`=1718; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1718,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=3 WHERE `ID`=1718; + +-- Quest "The Affray" +DELETE FROM `quest_details` WHERE `ID`=1719; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1719,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=1719; + +-- Quest "The Windwatcher" +DELETE FROM `quest_details` WHERE `ID`=1791; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1791,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=1791; + +-- Quest "Cyclonian" +DELETE FROM `quest_details` WHERE `ID`=1712; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1712,1,25,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=1712; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1712; + +-- Quest "The Summoning" +DELETE FROM `quest_details` WHERE `ID`=1713; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1713,1,6,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=5, `EmoteOnIncomplete`=5 WHERE `ID`=1713; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=1713; + +-- Quest "Whirlwind Weapon" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1792; + +-- Quest "A Troubled Spirit" +DELETE FROM `quest_details` WHERE `ID`=8417; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8417,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8417; + +-- Quest "Warrior Kinship" +DELETE FROM `quest_details` WHERE `ID`=8423; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8423,25,1,0,0,500,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=8423; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8423; + +-- Quest "War on the Shadowsworn" +DELETE FROM `quest_details` WHERE `ID`=8424; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8424,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=8424; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=8424; + +-- Quest "Voodoo Feathers" +DELETE FROM `quest_details` WHERE `ID`=8425; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8425,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=8425; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=8425; + +-- Quest "A Donation of Wool" / "A Donation of Silk" / "A Donation of Mageweave" / "A Donation of Runecloth" / "Additional Runecloth" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID` IN (7791,7792,7793,7794,7795,7796,7798,7799,7800,10352,10354,7802,7803,7804,7805,7806,7807,7808,7809,7811,7812,7813,7814,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7831,7832,7833,7834,7835,7836,7837,10356,10361,10357,10360,10359); +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID` IN (7791,7792,7793,7794,7798,7799,10352,10354,7802,7803,7804,7807,7808,7809,7813,7814,7817,7820,7821,7822,7826,7827,7831,7833,7834,7835,10356,10361,10362,10360,10359); +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID` IN (7795,7800,7805,7811,7818,7823,7824,7836,10357,10362); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID` IN (7796,7801,7806,7812,7819,7825,7832,7837,10358,10363); + +-- Quest "Malin's Request" +DELETE FROM `quest_details` WHERE `ID`=690; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(690,2,1,6,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=5, `EmoteOnIncomplete`=5 WHERE `ID`=690; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=690; + +-- Quest "The Unsent Letter" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=373; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=2, `Emote3`=1 WHERE `ID`=373; + +-- Quest "Bazil Thredd" +DELETE FROM `quest_details` WHERE `ID`=389; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(389,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5, `Emote3`=1, `Emote4`=1 WHERE `ID`=389; + +-- Quest "The Stockade Riots" +DELETE FROM `quest_details` WHERE `ID`=391; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(391,1,1,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=391; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=391; + +-- Quest "The Curious Visitor" +DELETE FROM `quest_details` WHERE `ID`=392; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(392,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=392; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=392; + +-- Quest "Shadow of the Past" +DELETE FROM `quest_details` WHERE `ID`=393; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(393,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=393; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=393; + +-- Quest "Look to an Old Friend" +DELETE FROM `quest_details` WHERE `ID`=350; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(350,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=11, `Emote4`=1 WHERE `ID`=350; + +-- Quest "Infiltrating the Castle" +DELETE FROM `quest_details` WHERE `ID`=2745; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2745,1,1,6,1,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=6, `Emote4`=5 WHERE `ID`=2745; + +-- Quest "Items of Some Consequence" +DELETE FROM `quest_details` WHERE `ID`=2746; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2746,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2746; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=2746; + +-- Quest "The Attack!" +DELETE FROM `quest_details` WHERE `ID`=434; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(434,1,1,6,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=434; + +-- Quest "The Head of the Beast" +DELETE FROM `quest_details` WHERE `ID`=394; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(394,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=11, `Emote4`=2 WHERE `ID`=394; + +-- Quest "Brotherhood's End" +DELETE FROM `quest_details` WHERE `ID`=395; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(395,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=395; + +-- Quest "An Audience with the King" +DELETE FROM `quest_details` WHERE `ID`=396; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(396,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=396; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=396; + +-- Quest "Travel to Darkshire" +DELETE FROM `quest_details` WHERE `ID`=9429; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(9429,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=9429; + +-- Quest "Stormwind Library" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=579; +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=579; + +-- Quest "An Old History Book" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=337; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=2 WHERE `ID`=337; + +-- Quest "Southshore" +DELETE FROM `quest_details` WHERE `ID`=538; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(538,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=538; + +-- Quest "Preserving Knowledge" +DELETE FROM `quest_details` WHERE `ID`=540; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(540,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=540; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=540; + +-- Quest "Return to Milton" +DELETE FROM `quest_details` WHERE `ID`=542; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(542,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=542; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=2, `Emote3`=1 WHERE `ID`=542; + +-- Quest "The Symbol of Life" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID` IN (1789,1790); + +-- Quest "Goblin Engineering" +DELETE FROM `quest_details` WHERE `ID` IN (3526,3629,3633,4181); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3526,1,1,0,0,0,0,0,0,0), +(3629,1,1,0,0,0,0,0,0,0), +(3633,1,1,0,0,0,0,0,0,0), +(4181,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=25, `Emote2`=1 WHERE `ID` IN (3526,3629,3633,4181); + +-- Quest "The Pledge of Secrecy" +DELETE FROM `quest_details` WHERE `ID` IN (3638,3640,3642); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3638,1,0,0,0,0,0,0,0,0), +(3640,1,0,0,0,0,0,0,0,0), +(3642,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID` IN (3638,3640,3642); +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID` IN (3638,3640,3642); + +-- Quest "Show Your Work" +DELETE FROM `quest_details` WHERE `ID` IN (3639,3641,3643); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3639,1,1,25,0,0,0,0,0,0), +(3641,1,1,25,0,0,0,0,0,0), +(3643,1,1,25,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID` IN (3639,3641,3643); + +-- Quest "Gnome Engineering" +DELETE FROM `quest_details` WHERE `ID` IN (3630,3632,3634,3635,3637); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3630,1,1,0,0,0,0,0,0,0), +(3632,1,1,0,0,0,0,0,0,0), +(3634,1,1,0,0,0,0,0,0,0), +(3635,1,1,0,0,0,0,0,0,0), +(3637,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID` IN (3630,3632,3634); +UPDATE `quest_request_items` SET `EmoteOnComplete`=3 WHERE `ID` IN (3635,3637); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID` IN (3630,3632,3634); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID` IN (3635,3637); + +-- Quest "The Origins of Smithing" +DELETE FROM `quest_details` WHERE `ID`=2758; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2758,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=2758; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=2758; + +-- Quest "The Old Ways" +DELETE FROM `quest_details` WHERE `ID`=2756; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2756,1,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=5, `EmoteOnIncomplete`=5 WHERE `ID`=2756; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=5 WHERE `ID`=2756; + +-- Quest "Booty Bay or Bust!" / "In Search of Galvan" +DELETE FROM `quest_details` WHERE `ID` IN (2757,2759); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2757,25,1,0,0,0,0,0,0,0), +(2759,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=25 WHERE `ID` IN (2757,2759); +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID` IN (2757,2759); + +-- Quest "The Mithril Order" +DELETE FROM `quest_details` WHERE `ID`=2760; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2760,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2, `EmoteOnIncomplete`=2 WHERE `ID`=2760; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2760; + +-- Quest "Smelt On, Smelt Off" +DELETE FROM `quest_details` WHERE `ID`=2761; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2761,1,6,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2761; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=2761; + +-- Quest "The Great Silver Deceiver" +DELETE FROM `quest_details` WHERE `ID`=2762; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2762,1,1,2,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2762; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=5 WHERE `ID`=2762; + +-- Quest "The Art of the Imbue" +DELETE FROM `quest_details` WHERE `ID`=2763; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2763,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2763; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=2763; + +-- Quest "Galvan's Finest Pupil" +DELETE FROM `quest_details` WHERE `ID`=2764; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2764,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=2 WHERE `ID`=2764; + +-- Quest "Expert Blacksmith!" +DELETE FROM `quest_details` WHERE `ID`=2765; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2765,1,1,2,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=2765; + +-- Quest "In Search of The Temple" +DELETE FROM `quest_details` WHERE `ID`=1448; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1448,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1448; + +-- Quest "To The Hinterlands" +DELETE FROM `quest_details` WHERE `ID`=1449; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1449,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5 WHERE `ID`=1449; + +-- Quest "Gryphon Master Talonaxe" +DELETE FROM `quest_details` WHERE `ID`=1450; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1450,1,25,6,5,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=1450; + +-- Quest "Rhapsody Shindigger" +DELETE FROM `quest_details` WHERE `ID`=1451; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1451,1,1,1,1,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=33, `Emote2`=14, `Emote3`=33, `Emote4`=5 WHERE `ID`=1451; + +-- Quest "Rhapsody's Kalimdor Kocktail" +DELETE FROM `quest_details` WHERE `ID`=1452; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1452,33,6,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=1452; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=33 WHERE `ID`=1452; + +-- Quest "Rhapsody's Tale" +DELETE FROM `quest_details` WHERE `ID`=1469; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1469,1,33,5,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=1469; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=1 WHERE `ID`=1469; + +-- Quest "Into The Temple of Atal'Hakkar" +DELETE FROM `quest_details` WHERE `ID`=1475; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1475,1,1,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1475; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=2 WHERE `ID`=1475; From be358024b530f54f68ef60dabbcc751370c41d43 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sun, 3 Jun 2018 10:24:11 +0200 Subject: [PATCH 39/49] DB/Quest: Gathering Materials (Horde) Closes #21990 --- .../world/3.3.5/2018_06_03_03_world_335.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_06_03_03_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_03_world_335.sql b/sql/updates/world/3.3.5/2018_06_03_03_world_335.sql new file mode 100644 index 0000000000..45a7222835 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_06_03_03_world_335.sql @@ -0,0 +1,16 @@ +-- Josef Gregorian +DELETE FROM `creature_text` WHERE `CreatureID`=4576; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(4576,0,0,"One moment while I stitch this together...",12,1,100,0,0,0,2761,0,"Josef Gregorian"), +(4576,1,0,"There. I am finished with your robe, $n.",12,1,100,1,0,0,2762,0,"Josef Gregorian"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4576; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4576 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=457600 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(4576,0,0,0,20,0,100,0,1961,0,0,0,80,457600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Quest 'Gathering Materials' Finished - Run Script"), +(457600,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Remove Npc Flag Questgiver"), +(457600,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Say Line 0"), +(457600,9,2,0,0,0,100,0,3000,3000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Cast 'Create Mage's Robe'"), +(457600,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Say Line 1"), +(457600,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Add Npc Flag Questgiver"); From 589c1ffc3343091613479aaa51dfd81c2ab77f85 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sun, 3 Jun 2018 10:25:06 +0200 Subject: [PATCH 40/49] DB/Quest: Laughing Sisters Closes #21991 --- .../world/3.3.5/2018_06_03_04_world_335.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_06_03_04_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_04_world_335.sql b/sql/updates/world/3.3.5/2018_06_03_04_world_335.sql new file mode 100644 index 0000000000..26f818f4ac --- /dev/null +++ b/sql/updates/world/3.3.5/2018_06_03_04_world_335.sql @@ -0,0 +1,16 @@ +-- Kil'hala +DELETE FROM `creature_text` WHERE `CreatureID`=3484; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(3484,0,0,"I shall now begin the robe...",12,1,100,0,0,0,2665,0,"Kil'hala"), +(3484,1,0,"Your robe is complete, $n.",12,1,100,1,0,0,2666,0,"Kil'hala"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=3484; +DELETE FROM `smart_scripts` WHERE `entryorguid`=3484 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=348400 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(3484,0,0,0,20,0,100,0,1945,0,0,0,80,348400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Quest 'Laughing Sisters' Finished - Run Script"), +(348400,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Remove Npc Flag Questgiver"), +(348400,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Say Line 0"), +(348400,9,2,0,0,0,100,0,3000,3000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Cast 'Create Mage's Robe'"), +(348400,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Say Line 1"), +(348400,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Add Npc Flag Questgiver"); From 24be1a64790d5705eee42760b0788dd006da39d6 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 3 Jun 2018 10:33:18 +0200 Subject: [PATCH 41/49] rename files --- .../2018_06_03_00_world_from_335_was_2018_06_03_00_world.sql} | 0 ...018_06_03_01_world_from_335_was_2018_06_03_01_world_335.sql} | 2 ++ ...018_06_03_02_world_from_335_was_2018_06_03_02_world_335.sql} | 2 ++ ...018_06_03_03_world_from_335_was_2018_06_03_03_world_335.sql} | 2 ++ ...018_06_03_04_world_from_335_was_2018_06_03_04_world_335.sql} | 2 ++ 5 files changed, 8 insertions(+) rename sql/updates/world/{3.3.5/2018_06_03_00_world.sql => 4.3.4/2018_06_03_00_world_from_335_was_2018_06_03_00_world.sql} (100%) rename sql/updates/world/{3.3.5/2018_06_03_01_world_335.sql => 4.3.4/2018_06_03_01_world_from_335_was_2018_06_03_01_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_06_03_02_world_335.sql => 4.3.4/2018_06_03_02_world_from_335_was_2018_06_03_02_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_06_03_03_world_335.sql => 4.3.4/2018_06_03_03_world_from_335_was_2018_06_03_03_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_06_03_04_world_335.sql => 4.3.4/2018_06_03_04_world_from_335_was_2018_06_03_04_world_335.sql} (99%) diff --git a/sql/updates/world/3.3.5/2018_06_03_00_world.sql b/sql/updates/world/4.3.4/2018_06_03_00_world_from_335_was_2018_06_03_00_world.sql similarity index 100% rename from sql/updates/world/3.3.5/2018_06_03_00_world.sql rename to sql/updates/world/4.3.4/2018_06_03_00_world_from_335_was_2018_06_03_00_world.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_01_world_335.sql b/sql/updates/world/4.3.4/2018_06_03_01_world_from_335_was_2018_06_03_01_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_06_03_01_world_335.sql rename to sql/updates/world/4.3.4/2018_06_03_01_world_from_335_was_2018_06_03_01_world_335.sql index be6c7bb537..6d298374a8 100644 --- a/sql/updates/world/3.3.5/2018_06_03_01_world_335.sql +++ b/sql/updates/world/4.3.4/2018_06_03_01_world_from_335_was_2018_06_03_01_world_335.sql @@ -1,3 +1,4 @@ +/* -- Anchorite Delan --> Fix gossip text DELETE FROM `gossip_menu` WHERE `MenuID`=7364 AND `TextID`=8799; INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES @@ -7,3 +8,4 @@ DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=73 INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (14,7364,8799,0,0,16,0,1024,0,0,0,0,0,"","Show gossip text if player is a Draenei"), (14,7364,8798,0,0,16,0,767,0,0,0,0,0,"","Show gossip text if player is not a Draenei"); +*/ diff --git a/sql/updates/world/3.3.5/2018_06_03_02_world_335.sql b/sql/updates/world/4.3.4/2018_06_03_02_world_from_335_was_2018_06_03_02_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_06_03_02_world_335.sql rename to sql/updates/world/4.3.4/2018_06_03_02_world_from_335_was_2018_06_03_02_world_335.sql index 6c44871467..3ed6d45a27 100644 --- a/sql/updates/world/3.3.5/2018_06_03_02_world_335.sql +++ b/sql/updates/world/4.3.4/2018_06_03_02_world_from_335_was_2018_06_03_02_world_335.sql @@ -1,3 +1,4 @@ +/* -- Quest "Kobold Camp Cleanup" UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=7; @@ -1768,3 +1769,4 @@ INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `Emot (1475,1,1,1,1,0,0,0,0,0); UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1475; UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=2 WHERE `ID`=1475; +*/ diff --git a/sql/updates/world/3.3.5/2018_06_03_03_world_335.sql b/sql/updates/world/4.3.4/2018_06_03_03_world_from_335_was_2018_06_03_03_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_06_03_03_world_335.sql rename to sql/updates/world/4.3.4/2018_06_03_03_world_from_335_was_2018_06_03_03_world_335.sql index 45a7222835..2a1964088d 100644 --- a/sql/updates/world/3.3.5/2018_06_03_03_world_335.sql +++ b/sql/updates/world/4.3.4/2018_06_03_03_world_from_335_was_2018_06_03_03_world_335.sql @@ -1,3 +1,4 @@ +/* -- Josef Gregorian DELETE FROM `creature_text` WHERE `CreatureID`=4576; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -14,3 +15,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (457600,9,2,0,0,0,100,0,3000,3000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Cast 'Create Mage's Robe'"), (457600,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Say Line 1"), (457600,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Josef Gregorian - On Script - Add Npc Flag Questgiver"); +*/ diff --git a/sql/updates/world/3.3.5/2018_06_03_04_world_335.sql b/sql/updates/world/4.3.4/2018_06_03_04_world_from_335_was_2018_06_03_04_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_06_03_04_world_335.sql rename to sql/updates/world/4.3.4/2018_06_03_04_world_from_335_was_2018_06_03_04_world_335.sql index 26f818f4ac..3b68b75966 100644 --- a/sql/updates/world/3.3.5/2018_06_03_04_world_335.sql +++ b/sql/updates/world/4.3.4/2018_06_03_04_world_from_335_was_2018_06_03_04_world_335.sql @@ -1,3 +1,4 @@ +/* -- Kil'hala DELETE FROM `creature_text` WHERE `CreatureID`=3484; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -14,3 +15,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (348400,9,2,0,0,0,100,0,3000,3000,0,0,11,9157,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Cast 'Create Mage's Robe'"), (348400,9,3,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Say Line 1"), (348400,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'hala - On Script - Add Npc Flag Questgiver"); +*/ From 4a8ad44c68ae1bf7dc5963f16ed217a514d491a3 Mon Sep 17 00:00:00 2001 From: Killyana Date: Sun, 3 Jun 2018 13:33:45 +0200 Subject: [PATCH 42/49] DB/Creature: Erunak Stonespeaker --- sql/updates/world/4.3.4/2018_06_03_05_world.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sql/updates/world/4.3.4/2018_06_03_05_world.sql diff --git a/sql/updates/world/4.3.4/2018_06_03_05_world.sql b/sql/updates/world/4.3.4/2018_06_03_05_world.sql new file mode 100644 index 0000000000..405a09ca61 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_06_03_05_world.sql @@ -0,0 +1,15 @@ +-- +DELETE FROM `creature` WHERE `guid`=252238; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(252238, 40825, 643, 5004, 5004, 3, 169, 0, 0, 0, -164.4549, 636.033, 286.4521, 3.106686, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26365); + +UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry` IN (40788,49082); +UPDATE `creature_template` SET `npcflag`=`npcflag`|16777216 WHERE `entry` IN (40825,49072); + +DELETE FROM `vehicle_template_accessory` WHERE `entry`=40825; +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES +(40825, 40788, 0, 0, 'Mindbender Ghur sha', 8, 0); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=40825 AND `spell_id`=69063; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(40825, 69063, 1, 0); From 9f6b236798ee0b3fc9ac12a3578a4f84142e778c Mon Sep 17 00:00:00 2001 From: Killyana Date: Sun, 3 Jun 2018 17:24:18 +0200 Subject: [PATCH 43/49] DB: Fix some Phases --- sql/updates/world/4.3.4/2018_06_03_06_world.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sql/updates/world/4.3.4/2018_06_03_06_world.sql diff --git a/sql/updates/world/4.3.4/2018_06_03_06_world.sql b/sql/updates/world/4.3.4/2018_06_03_06_world.sql new file mode 100644 index 0000000000..7db5ce65b7 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_06_03_06_world.sql @@ -0,0 +1,6 @@ +-- +UPDATE `gameobject` SET `PhaseId`=169, `phaseMask`=1 WHERE `guid`=200623; +UPDATE `gameobject` SET `PhaseId`=169 WHERE `phaseMask`=1 AND `PhaseId`=0 AND `PhaseGroup`=0; +UPDATE `creature` SET `PhaseId`=170 WHERE `phaseMask`=2 AND `PhaseId`=0 AND `PhaseGroup`=0; +UPDATE `creature` SET `PhaseId`=169 WHERE `phaseMask`=1 AND `PhaseId`=0 AND `PhaseGroup`=0; +UPDATE `creature` SET `PhaseId`=171 WHERE `phaseMask`=4 AND `PhaseId`=0 AND `PhaseGroup`=0; From daf271e28084820be24c1b4e518181e3e6f42ee4 Mon Sep 17 00:00:00 2001 From: Killyana Date: Sun, 3 Jun 2018 17:42:36 +0200 Subject: [PATCH 44/49] DB/GameObject: Add missing gob template --- sql/updates/world/4.3.4/2018_06_03_07_world.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/4.3.4/2018_06_03_07_world.sql diff --git a/sql/updates/world/4.3.4/2018_06_03_07_world.sql b/sql/updates/world/4.3.4/2018_06_03_07_world.sql new file mode 100644 index 0000000000..3ec29de92f --- /dev/null +++ b/sql/updates/world/4.3.4/2018_06_03_07_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `gameobject_template` WHERE `entry` = 208051; +INSERT INTO ``gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `VerifiedBuild`) VALUES +(208051, 8, 192, "Cooking Fire", "", "", "", 1, 4, 10, 0, 1, 0, 0, -1, -18019); From f25a52b64e17afd1a879b394ece072af5362d9b1 Mon Sep 17 00:00:00 2001 From: ZenoX92 Date: Sun, 3 Jun 2018 11:14:18 +0200 Subject: [PATCH 45/49] DB/Quest: A Gnome's Assistance Closes #21992 --- .../world/3.3.5/2018_06_03_05_world_335.sql | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_06_03_05_world_335.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_05_world_335.sql b/sql/updates/world/3.3.5/2018_06_03_05_world_335.sql new file mode 100644 index 0000000000..05d598b010 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_06_03_05_world_335.sql @@ -0,0 +1,33 @@ +-- J.D. Collie +DELETE FROM `creature_text` WHERE `CreatureID`=9117 AND `GroupID` IN (8,9); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(9117,8,0,"I know it'll work this time...",12,0,100,1,0,0,4839,0,"J.D. Collie"), +(9117,8,1,"This will be my best experiment yet!",12,0,100,1,0,0,4840,0,"J.D. Collie"), +(9117,8,2,"I know it'll work this time... My last 13 tries were just practice!",12,0,100,1,0,0,4842,0,"J.D. Collie"), +(9117,9,0,"Now, if I add the yellow ones...",12,0,100,0,0,0,4841,0,"J.D. Collie"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=9117 AND `source_type`=0 AND `id` IN (2,3,4); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (911701,911702,911703) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid`=911700 AND `source_type`=9 AND `id`=6; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(9117,0,2,0,20,0,100,0,3941,0,0,0,80,911701,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Quest 'A Gnome's Assistance' Finished - Run Script"), +(9117,0,3,0,40,0,100,0,1,9117,0,0,80,911702,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Waypoint 1 Reached - Run Script"), +(9117,0,4,0,40,0,100,0,2,9117,0,0,80,911703,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Waypoint 2 Reached - Run Script"), +(911701,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Remove Npc Flag Questgiver+Gossip"), +(911701,9,1,0,0,0,100,0,1000,1000,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Say Line 8"), +(911701,9,2,0,0,0,100,0,4000,4000,0,0,53,1,9117,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Start Waypoint"), +(911702,9,0,0,0,0,100,0,0,0,0,0,54,16000,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Pause Waypoint"), +(911702,9,1,0,0,0,100,0,1000,1000,0,0,1,9,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Say Line 9"), +(911702,9,2,0,0,0,100,0,3000,3000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Say Line 4"), +(911702,9,3,0,0,0,100,0,0,0,0,0,11,32990,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Cast 'Enchanting Cast Visual'"), +(911702,9,4,0,0,0,100,0,2000,2000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Say Line 5"), +(911702,9,5,0,0,0,100,0,4000,4000,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Say Line 6"), +(911702,9,6,0,0,0,100,0,3000,3000,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Say Line 7"), +(911703,9,0,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.872665,"J.D. Collie - On Script - Set Orientation"), +(911703,9,1,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Add Npc Flag Questgiver+Gossip"), +(911703,9,2,0,0,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - On Script - Say Line 3"); + +DELETE FROM `waypoints` WHERE `entry`=9117; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(9117,1,-6027.85,-1020.16,-217.056,""), +(9117,2,-6033.25,-1017.56,-217.055,""); From 751f8d223d4454f04543c5d84471716fa6f5eef0 Mon Sep 17 00:00:00 2001 From: Keader Date: Sun, 3 Jun 2018 11:51:12 -0300 Subject: [PATCH 46/49] DB/Spells: Fixed proc of Seal of Command (Illidari Concil) --- sql/updates/world/3.3.5/2018_06_03_06_world.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 sql/updates/world/3.3.5/2018_06_03_06_world.sql diff --git a/sql/updates/world/3.3.5/2018_06_03_06_world.sql b/sql/updates/world/3.3.5/2018_06_03_06_world.sql new file mode 100644 index 0000000000..3d1ac673d2 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_06_03_06_world.sql @@ -0,0 +1 @@ +UPDATE `spell_proc` SET `AttributesMask`=64 WHERE `SpellId`=41469; From 96bea3a7c4c1b1677ae80efcb2088e3b7b01bfd1 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 3 Jun 2018 17:56:28 +0200 Subject: [PATCH 47/49] rename files --- ...018_06_03_08_world_from_335_was_2018_06_03_05_world_335.sql} | 2 ++ .../2018_06_03_09_world_from_335_was_2018_06_03_06_world.sql} | 0 2 files changed, 2 insertions(+) rename sql/updates/world/{3.3.5/2018_06_03_05_world_335.sql => 4.3.4/2018_06_03_08_world_from_335_was_2018_06_03_05_world_335.sql} (99%) rename sql/updates/world/{3.3.5/2018_06_03_06_world.sql => 4.3.4/2018_06_03_09_world_from_335_was_2018_06_03_06_world.sql} (100%) diff --git a/sql/updates/world/3.3.5/2018_06_03_05_world_335.sql b/sql/updates/world/4.3.4/2018_06_03_08_world_from_335_was_2018_06_03_05_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_06_03_05_world_335.sql rename to sql/updates/world/4.3.4/2018_06_03_08_world_from_335_was_2018_06_03_05_world_335.sql index 05d598b010..f9a8afec19 100644 --- a/sql/updates/world/3.3.5/2018_06_03_05_world_335.sql +++ b/sql/updates/world/4.3.4/2018_06_03_08_world_from_335_was_2018_06_03_05_world_335.sql @@ -1,3 +1,4 @@ +/* -- J.D. Collie DELETE FROM `creature_text` WHERE `CreatureID`=9117 AND `GroupID` IN (8,9); INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -31,3 +32,4 @@ DELETE FROM `waypoints` WHERE `entry`=9117; INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (9117,1,-6027.85,-1020.16,-217.056,""), (9117,2,-6033.25,-1017.56,-217.055,""); +*/ diff --git a/sql/updates/world/3.3.5/2018_06_03_06_world.sql b/sql/updates/world/4.3.4/2018_06_03_09_world_from_335_was_2018_06_03_06_world.sql similarity index 100% rename from sql/updates/world/3.3.5/2018_06_03_06_world.sql rename to sql/updates/world/4.3.4/2018_06_03_09_world_from_335_was_2018_06_03_06_world.sql From 92e868cf5dce2546d33ff9875392a9fc21607a28 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 3 Jun 2018 18:01:27 +0200 Subject: [PATCH 48/49] Scripts/Pets: Lil' Ragnaros --- .../world/4.3.4/2018_06_03_10_world.sql | 1 + src/server/scripts/Pet/pet_generic.cpp | 87 +++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 sql/updates/world/4.3.4/2018_06_03_10_world.sql diff --git a/sql/updates/world/4.3.4/2018_06_03_10_world.sql b/sql/updates/world/4.3.4/2018_06_03_10_world.sql new file mode 100644 index 0000000000..081201f699 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_06_03_10_world.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `ScriptName`= 'npc_pet_gen_lil_ragnaros' WHERE `entry`= 51600; diff --git a/src/server/scripts/Pet/pet_generic.cpp b/src/server/scripts/Pet/pet_generic.cpp index 2d50dbbaba..a9e654f2f2 100644 --- a/src/server/scripts/Pet/pet_generic.cpp +++ b/src/server/scripts/Pet/pet_generic.cpp @@ -320,10 +320,97 @@ class npc_pet_gen_mojo : public CreatureScript } }; +// Lil' Ragnaros +enum LilRagnaros +{ + SPELL_DND_LR_2 = 95804, // Root and emerge effect + SPELL_DND_SUMMON_BASIC_CAMPFIRE = 95811, + SPELL_DND_LR = 95802, + SPELL_SCORCHLING = 45887, + SPELL_DND_LR_1 = 95803, // Submerge effect + SPELL_DND_DESPAWN_BASIC_CAMPFIRE = 95813, + + EVENT_CHECK_PLAYER_DISTANCE = 1, +}; + +class npc_pet_gen_lil_ragnaros : public CreatureScript +{ + public: + npc_pet_gen_lil_ragnaros() : CreatureScript("npc_pet_gen_lil_ragnaros") { } + + struct npc_pet_gen_lil_ragnarosAI : public PetAI + { + npc_pet_gen_lil_ragnarosAI(Creature* creature) : PetAI(creature) + { + Initialize(); + } + + void Initialize() + { + _submerged = false; + } + + void IsSummonedBy(Unit* summoner) override + { + DoCastSelf(SPELL_DND_LR_2, true); + DoCastSelf(SPELL_DND_SUMMON_BASIC_CAMPFIRE, true); + DoCastSelf(SPELL_DND_LR, true); + DoCastSelf(SPELL_SCORCHLING, true); + _events.ScheduleEvent(EVENT_CHECK_PLAYER_DISTANCE, Seconds(1)); + } + + void UpdateAI(uint32 diff) override + { + _events.Update(diff); + + if (uint32 eventId = _events.ExecuteEvent()) + { + switch (eventId) + { + case EVENT_CHECK_PLAYER_DISTANCE: + if (Unit* owner = me->GetCharmerOrOwner()) + { + if (me->GetDistance(owner) >= 20.0f && !_submerged) + { + me->RemoveAllAuras(); + DoCastSelf(SPELL_DND_LR_1, true); + DoCastSelf(SPELL_DND_DESPAWN_BASIC_CAMPFIRE, true); + me->GetMotionMaster()->MoveFollow(owner, PET_FOLLOW_DIST, PET_FOLLOW_ANGLE); + _submerged = true; + } + else if (me->GetDistance(owner) <= 5.0f && _submerged) + { + me->RemoveAurasDueToSpell(SPELL_DND_LR_1); + DoCastSelf(SPELL_DND_LR_2, true); + DoCastSelf(SPELL_DND_SUMMON_BASIC_CAMPFIRE, true); + DoCastSelf(SPELL_DND_LR, true); + DoCastSelf(SPELL_SCORCHLING, true); + _submerged = false; + } + } + _events.Repeat(Seconds(1)); + break; + default: + break; + } + } + } + private: + EventMap _events; + bool _submerged; + }; + + CreatureAI* GetAI(Creature* creature) const override + { + return new npc_pet_gen_lil_ragnarosAI(creature); + } +}; + void AddSC_generic_pet_scripts() { new npc_pet_gen_baby_blizzard_bear(); new npc_pet_gen_egbert(); new npc_pet_gen_pandaren_monk(); new npc_pet_gen_mojo(); + new npc_pet_gen_lil_ragnaros(); } From fa09bac40d3fc512324248dde62e06918efab816 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 3 Jun 2018 18:03:16 +0200 Subject: [PATCH 49/49] Scripts/Pets: fixed a warning --- src/server/scripts/Pet/pet_generic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Pet/pet_generic.cpp b/src/server/scripts/Pet/pet_generic.cpp index a9e654f2f2..e843d07ceb 100644 --- a/src/server/scripts/Pet/pet_generic.cpp +++ b/src/server/scripts/Pet/pet_generic.cpp @@ -350,7 +350,7 @@ class npc_pet_gen_lil_ragnaros : public CreatureScript _submerged = false; } - void IsSummonedBy(Unit* summoner) override + void IsSummonedBy(Unit* /*summoner*/) override { DoCastSelf(SPELL_DND_LR_2, true); DoCastSelf(SPELL_DND_SUMMON_BASIC_CAMPFIRE, true);