diff --git a/revision_data.h.in.cmake b/revision_data.h.in.cmake index 724ea3c7e0..92ef6b3d55 100644 --- a/revision_data.h.in.cmake +++ b/revision_data.h.in.cmake @@ -9,7 +9,7 @@ #define _SOURCE_DIRECTORY R"(@CMAKE_SOURCE_DIR@)" #define _BUILD_DIRECTORY R"(@BUILDDIR@)" #define _MYSQL_EXECUTABLE R"(@MYSQL_EXECUTABLE@)" - #define _FULL_DATABASE "TDB_full_world_434.32_2018_07_15.sql" + #define _FULL_DATABASE "TDB_full_world_434.33_2018_08_15.sql" #define VER_COMPANYNAME_STR "TrinityCore Developers" #define VER_LEGALCOPYRIGHT_STR "(c)2008-2018 TrinityCore" #define VER_FILEVERSION 0,0,0 diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 4ed53d49dc..0b6235f820 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -244,12 +244,22 @@ INSERT INTO `battlenet_components` VALUES ('Bnet','Cmp1',3), ('Bnet','Win',26487), ('Bnet','Wn64',26487), -('Tool','Win',2736), +('Tool','Win',0), ('WoW','base',15595), ('WoW','enGB',15595), ('WoW','enUS',15595), ('WoW','Win',15595), -('WoW','Wn64',15595); +('WoW','Wn64',15595), +('WoW','deDE',15595), +('WoW','frFR',15595), +('WoW','esES',15595), +('WoW','esMX',15595), +('WoW','ptPT',15595), +('WoW','ptBR',15595), +('WoW','ruRU',15595), +('WoW','zhCN',15595), +('WoW','zhTW',15595); + /*!40000 ALTER TABLE `battlenet_components` ENABLE KEYS */; UNLOCK TABLES; @@ -1963,7 +1973,10 @@ INSERT INTO `updates` VALUES ('2018_06_15_00_auth.sql','28E2E814F529190BC9423E2A220970F60307DD22','ARCHIVED','2018-06-15 01:40:04',0), ('2018_06_23_00_auth.sql','BE35312C386A127D047E5A7CE0D14DB41D905F8E','ARCHIVED','2018-06-23 01:40:04',0), ('2018_07_15_00_auth.sql','47DA80411544E574DD26BA2990165AC579BE72AB','ARCHIVED','2018-07-15 01:40:04',0), -('2018_07_21_00_auth.sql','93185DC1BCA6A0225EA4CC4ACB1BA26F089E8131','ARCHIVED','2018-07-21 01:40:04',0); +('2018_07_21_00_auth.sql','93185DC1BCA6A0225EA4CC4ACB1BA26F089E8131','ARCHIVED','2018-07-21 01:40:04',0), +('2018_08_15_00_auth.sql','22DC7AA7A1D2B04C62B2EEBFF4562DDDC412B456','ARCHIVED','2018-08-15 01:40:04',0), +('2018_08_16_00_auth.sql','FF00C2A63E8F1E43442C083F2682E100FB39AA5C','ARCHIVED','2018-08-16 01:40:04',0), +('2018_08_17_00_auth.sql','0C9921DCEF92D0C66524299A2F0B86EBB1B7020E','ARCHIVED','2018-08-17 01:40:04',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql index fe36deb8fc..0ef10c67dd 100644 --- a/sql/base/characters_database.sql +++ b/sql/base/characters_database.sql @@ -2961,7 +2961,8 @@ INSERT INTO `updates` VALUES ('2018_05_15_00_characters.sql','1FC906E4C7E86DCA67243F0768A94825A2C9E323','ARCHIVED','2018-05-15 00:00:00',0), ('2018_06_15_00_characters.sql','084C438D587E555D1FBCFC86A2A19570BD0B470A','ARCHIVED','2018-06-15 00:00:00',0), ('2018_07_09_00_characters.sql','6F3EA22DD5E4CD9F9C60C4332B147E3DBF2E8A44','ARCHIVED','2018-07-09 18:19:18',0), -('2018_07_15_00_characters.sql','1EB34168BC396A8264C7467AACD1F0A3B036B22D','ARCHIVED','2018-07-15 00:00:00',0); +('2018_07_15_00_characters.sql','1EB34168BC396A8264C7467AACD1F0A3B036B22D','ARCHIVED','2018-07-15 00:00:00',0), +('2018_08_15_00_characters.sql','592D9F32E96E1A14C8F340E8D085F8F5105B063F','ARCHIVED','2018-08-15 00:00:00',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/updates/auth/4.3.4/2018_07_15_00_auth.sql b/sql/old/4.3.4/auth/32_2018_07_15/2018_07_15_00_auth.sql similarity index 100% rename from sql/updates/auth/4.3.4/2018_07_15_00_auth.sql rename to sql/old/4.3.4/auth/32_2018_07_15/2018_07_15_00_auth.sql diff --git a/sql/updates/auth/4.3.4/2018_07_21_00_auth.sql b/sql/old/4.3.4/auth/32_2018_07_15/2018_07_21_00_auth.sql similarity index 100% rename from sql/updates/auth/4.3.4/2018_07_21_00_auth.sql rename to sql/old/4.3.4/auth/32_2018_07_15/2018_07_21_00_auth.sql diff --git a/sql/updates/characters/4.3.4/2018_07_15_00_characters.sql b/sql/old/4.3.4/characters/32_2018_07_15/2018_07_15_00_characters.sql similarity index 100% rename from sql/updates/characters/4.3.4/2018_07_15_00_characters.sql rename to sql/old/4.3.4/characters/32_2018_07_15/2018_07_15_00_characters.sql diff --git a/sql/updates/world/4.3.4/2018_07_15_00.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_15_00.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_15_00.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_15_00.sql diff --git a/sql/updates/world/4.3.4/2018_07_16_00_world_from_335_was_2018_07_15_00_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_16_00_world_from_335_was_2018_07_15_00_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_16_00_world_from_335_was_2018_07_15_00_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_16_00_world_from_335_was_2018_07_15_00_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_16_01_world_from_335_was_2018_07_15_01_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_16_01_world_from_335_was_2018_07_15_01_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_16_01_world_from_335_was_2018_07_15_01_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_16_01_world_from_335_was_2018_07_15_01_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_16_02_world_from_335_was_2018_07_15_02_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_16_02_world_from_335_was_2018_07_15_02_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_16_02_world_from_335_was_2018_07_15_02_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_16_02_world_from_335_was_2018_07_15_02_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_16_03_world_from_335_was_2018_07_15_03_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_16_03_world_from_335_was_2018_07_15_03_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_16_03_world_from_335_was_2018_07_15_03_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_16_03_world_from_335_was_2018_07_15_03_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_16_04.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_16_04.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_16_04.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_16_04.sql diff --git a/sql/updates/world/4.3.4/2018_07_18_00_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_18_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_18_00_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_18_00_world.sql diff --git a/sql/updates/world/4.3.4/2018_07_21_00_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_21_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_21_00_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_21_00_world.sql diff --git a/sql/updates/world/4.3.4/2018_07_21_01_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_21_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_21_01_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_21_01_world.sql diff --git a/sql/updates/world/4.3.4/2018_07_21_02_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_21_02_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_21_02_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_21_02_world.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_00_world_from_335_was_2018_07_18_01_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_00_world_from_335_was_2018_07_18_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_00_world_from_335_was_2018_07_18_01_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_00_world_from_335_was_2018_07_18_01_world.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_01_world_from_335_was_2018_07_18_02_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_01_world_from_335_was_2018_07_18_02_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_01_world_from_335_was_2018_07_18_02_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_01_world_from_335_was_2018_07_18_02_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_02_world_from_335_was_2018_07_18_03_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_02_world_from_335_was_2018_07_18_03_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_02_world_from_335_was_2018_07_18_03_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_02_world_from_335_was_2018_07_18_03_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_03_world_from_335_was_2018_07_18_04_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_03_world_from_335_was_2018_07_18_04_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_03_world_from_335_was_2018_07_18_04_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_03_world_from_335_was_2018_07_18_04_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_04_world_from_335_was_2018_07_22_00_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_04_world_from_335_was_2018_07_22_00_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_04_world_from_335_was_2018_07_22_00_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_04_world_from_335_was_2018_07_22_00_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_05_world_from_335_was_2018_07_22_01_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_05_world_from_335_was_2018_07_22_01_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_05_world_from_335_was_2018_07_22_01_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_05_world_from_335_was_2018_07_22_01_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_06_world_from_335_was_2018_07_22_02_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_06_world_from_335_was_2018_07_22_02_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_06_world_from_335_was_2018_07_22_02_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_06_world_from_335_was_2018_07_22_02_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_07_world_from_335_was_2018_07_22_03_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_07_world_from_335_was_2018_07_22_03_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_07_world_from_335_was_2018_07_22_03_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_07_world_from_335_was_2018_07_22_03_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_08_world_from_335_was_2018_07_22_04_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_08_world_from_335_was_2018_07_22_04_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_08_world_from_335_was_2018_07_22_04_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_08_world_from_335_was_2018_07_22_04_world.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_09_world_from_335_was_2018_07_22_05_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_09_world_from_335_was_2018_07_22_05_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_09_world_from_335_was_2018_07_22_05_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_09_world_from_335_was_2018_07_22_05_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_10_world_from_335_was_2018_07_22_06_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_10_world_from_335_was_2018_07_22_06_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_10_world_from_335_was_2018_07_22_06_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_10_world_from_335_was_2018_07_22_06_world.sql diff --git a/sql/updates/world/4.3.4/2018_07_23_11_world_from_335_was_2018_07_22_07_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_23_11_world_from_335_was_2018_07_22_07_world_335.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_23_11_world_from_335_was_2018_07_22_07_world_335.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_23_11_world_from_335_was_2018_07_22_07_world_335.sql diff --git a/sql/updates/world/4.3.4/2018_07_25_00_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_25_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2018_07_25_00_world.sql rename to sql/old/4.3.4/world/32_2018_07_15/2018_07_25_00_world.sql diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_00_world_from_335_was_2018_07_25_00_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_00_world_from_335_was_2018_07_25_00_world.sql new file mode 100644 index 0000000000..e520ca224b --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_00_world_from_335_was_2018_07_25_00_world.sql @@ -0,0 +1,7 @@ +UPDATE `creature_template` SET `ScriptName`='npc_pet_gen_soul_trader' WHERE `entry`=27914; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_ethereal_pet_aura','spell_ethereal_pet_onsummon','spell_ethereal_pet_aura_remove','spell_steal_essence_visual'); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(50051,'spell_ethereal_pet_aura'), +(50052,'spell_ethereal_pet_onsummon'), +(50055,'spell_ethereal_pet_aura_remove'), +(50101,'spell_steal_essence_visual'); diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_01_world_from_335_was_2018_07_27_00_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_01_world_from_335_was_2018_07_27_00_world_335.sql new file mode 100644 index 0000000000..847cc682c2 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_01_world_from_335_was_2018_07_27_00_world_335.sql @@ -0,0 +1,2 @@ +-- +-- UPDATE `creature_text` SET `Text`="%s goes into a frenzy!", `BroadcastTextId`=1191 WHERE `CreatureID`=10882 AND `GroupID`=0; diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_02_world_from_335_was_2018_07_27_01_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_02_world_from_335_was_2018_07_27_01_world_335.sql new file mode 100644 index 0000000000..c1832ff791 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_02_world_from_335_was_2018_07_27_01_world_335.sql @@ -0,0 +1,14 @@ +/* +-- +-- Quest "Replacement Phial" +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry`=3375; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19,0,3375,0,0,14,0,2200,0,0,1,0,0,"","Quest 'Replacement Phial' can only be taken if quest 'Back to Uldaman' is taken"), +(19,0,3375,0,0,28,0,2204,0,0,1,0,0,"","Quest 'Replacement Phial' can only be taken if quest 'Restoring the Necklace' is not completed"), +(19,0,3375,0,0,8,0,2204,0,0,1,0,0,"","Quest 'Replacement Phial' can only be taken if quest 'Restoring the Necklace' is not rewarded"), +(19,0,3375,0,0,2,0,7667,1,1,1,0,0,"","Quest 'Replacement Phial' can only be taken if player does not have item 'Talvash's Phial of Scrying'"); + +DELETE FROM `quest_template_addon` WHERE `ID`=3375; +INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES +(3375,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_03_world_from_335_was_2018_07_27_02_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_03_world_from_335_was_2018_07_27_02_world_335.sql new file mode 100644 index 0000000000..e0fb834762 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_03_world_from_335_was_2018_07_27_02_world_335.sql @@ -0,0 +1,43 @@ +/* +-- Talvash del Kissel +DELETE FROM `creature_text` WHERE `CreatureID`=6826 AND `GroupID` IN (1,2,3,4,5); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(6826,1,0,"Let me grab a spell focus from inside my home here, and then we'll get started!",12,7,100,0,0,0,3121,0,"Talvash del Kissel"), +(6826,2,0,"Bah, it isn't here. Where did I have that blasted thing at last?",12,7,100,6,0,0,3122,0,"Talvash del Kissel"), +(6826,3,0,"That's right, it's over by the bed. Heh, sorry about that!",12,7,100,0,0,0,3123,0,"Talvash del Kissel"), +(6826,4,0,"Fantastic then! Let's get this thing fixed for you.",12,7,100,0,0,0,3124,0,"Talvash del Kissel"), +(6826,5,0,"Success! Huzzah! The power source restored the necklace!",12,7,100,4,0,0,3125,0,"Talvash del Kissel"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=6826 AND `source_type`=0 AND `id` IN (2,3,4,5,6,7); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (682600,682601,682602) 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 +(6826,0,2,0,20,0,100,0,2204,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Quest 'Restoring the Necklace' Finished - Remove Npc Flag Questgiver+Gossip"), +(6826,0,3,0,20,0,100,0,2204,0,0,0,53,0,6826,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Quest 'Restoring the Necklace' Finished - Start Waypoint"), +(6826,0,4,0,20,0,100,0,2204,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Quest 'Restoring the Necklace' Finished - Say Line 1"), +(6826,0,5,0,40,0,100,0,3,6826,0,0,80,682600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Waypoint 3 Reached - Run Script"), +(6826,0,6,0,40,0,100,0,5,6826,0,0,80,682601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Waypoint 5 Reached - Run Script"), +(6826,0,7,0,40,0,100,0,10,6826,0,0,80,682602,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Waypoint 10 Reached - Run Script"), +(682600,9,0,0,0,0,100,0,0,0,0,0,54,8000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Pause Waypoint"), +(682600,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,5.02135,"Talvash del Kissel - On Script - Set Orientation"), +(682600,9,2,0,0,0,100,0,3000,3000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 2"), +(682600,9,3,0,0,0,100,0,5000,5000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 3"), +(682601,9,0,0,0,0,100,0,0,0,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Pause Waypoint"), +(682601,9,2,0,0,0,100,0,4000,4000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 4"), +(682602,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,3.31613,"Talvash del Kissel - On Script - Set Orientation"), +(682602,9,1,0,0,0,100,0,1000,1000,0,0,11,9795,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Cast 'Talvash's Necklace Repair'"), +(682602,9,2,0,0,0,100,0,6000,6000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 5"), +(682602,9,3,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Add Npc Flag Questgiver+Gossip"); + +DELETE FROM `waypoints` WHERE `entry`=6826; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(6826,1,-4586.89,-997.797,503.658,""), +(6826,2,-4582.68,-996.563,503.658,""), +(6826,3,-4575.23,-998.552,503.658,""), +(6826,4,-4575.04,-995.529,503.657,""), +(6826,5,-4576.11,-992.451,503.657,""), +(6826,6,-4575.04,-995.529,503.657,""), +(6826,7,-4575.64,-997.129,503.657,""), +(6826,8,-4578.79,-998.015,503.657,""), +(6826,9,-4586.89,-997.797,503.658,""), +(6826,10,-4588.3,-1001.21,503.657,""); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_04_world_from_335_was_2018_07_27_03_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_04_world_from_335_was_2018_07_27_03_world_335.sql new file mode 100644 index 0000000000..1e55ceeacd --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_04_world_from_335_was_2018_07_27_03_world_335.sql @@ -0,0 +1,68 @@ +/* +-- +-- Tidelord Rrurgaz +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16072; +DELETE FROM `smart_scripts` WHERE `entryorguid`=16072 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 +(16072,0,0,0,0,0,100,0,2000,4000,14000,21000,0,11,16244,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Demoralizing Shout'"), +(16072,0,1,0,0,0,100,0,5000,7000,19000,22000,0,11,16509,0,0,0,0,0,5,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Rend'"), +(16072,0,2,0,0,0,100,0,7000,9000,8000,12000,0,11,17207,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Whirlwind'"), +(16072,0,3,0,0,0,100,0,9000,12000,14000,17000,0,11,15588,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Thunderclap'"); + +-- Strashaz Warrior +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4364; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4364 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 +(4364,0,0,0,0,0,100,0,5000,7000,12000,15000,0,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Warrior - In Combat - Cast 'Hamstring'"), +(4364,0,1,0,0,0,100,0,4000,9000,8000,12000,0,11,16856,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Warrior - In Combat - Cast 'Mortal Strike'"), +(4364,0,2,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Strashaz Warrior - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Strashaz Sorceress +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4370; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4370 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 +(4370,0,0,0,0,0,100,0,0,0,3000,5000,0,11,12737,64,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Sorceress - In Combat - Cast 'Frostbolt'"), +(4370,0,1,0,0,0,100,0,12000,16000,16000,21000,0,11,15499,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Sorceress - In Combat - Cast 'Frost Shock'"), +(4370,0,2,0,9,0,100,0,0,8,12000,15000,0,11,15532,0,0,0,0,0,1,0,0,0,0,0,0,0,"Strashaz Sorceress - Within 0-8 Range - Cast 'Frost Nova'"), +(4370,0,3,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Strashaz Sorceress - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Strashaz Siren +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4371; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4371 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 +(4371,0,0,0,0,0,100,0,0,0,3000,5000,0,11,15587,64,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Siren - In Combat - Cast 'Mind Blast'"), +(4371,0,1,0,0,0,100,0,11000,15000,21000,26000,0,11,15654,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Siren - In Combat - Cast 'Shadow Word: Pain'"), +(4371,0,2,0,0,0,100,0,8000,12000,16000,22000,0,11,7645,0,0,0,0,0,6,0,0,0,0,0,0,0,"Strashaz Siren - In Combat - Cast 'Dominate Mind'"), +(4371,0,3,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Strashaz Siren - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Strashaz Myrmidon +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4368; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4368 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 +(4368,0,0,0,0,0,100,0,5000,7000,11000,14000,0,11,15284,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Myrmidon - In Combat - Cast 'Cleave'"), +(4368,0,1,0,0,0,100,0,7000,11000,9000,13000,0,11,18812,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Myrmidon - In Combat - Cast 'Knockdown'"), +(4368,0,2,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Strashaz Myrmidon - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Strashaz Serpent Guard +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4366; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4366 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 +(4366,0,0,0,0,0,100,0,5000,7000,7000,11000,0,11,12057,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Serpent Guard - In Combat - Cast 'Strike'"), +(4366,0,1,0,0,0,100,0,4000,9000,18000,24000,0,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Serpent Guard - In Combat - Cast 'Disarm'"), +(4366,0,2,0,0,0,100,0,7000,12000,21000,25000,0,11,16509,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Serpent Guard - In Combat - Cast 'Rend'"), +(4366,0,3,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Strashaz Serpent Guard - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Strashaz Hydra +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4374; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4374 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 +(4374,0,0,0,25,0,100,0,0,0,0,0,0,11,8876,0,0,0,0,0,1,0,0,0,0,0,0,0,"Strashaz Hydra - On Reset - Cast 'Thrash'"), +(4374,0,1,0,0,0,100,0,5000,9000,12000,21000,0,11,16128,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Hydra - In Combat - Cast 'Infected Bite'"); + +-- Doctor Weavil +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15552; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15552 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 +(15552,0,0,0,0,0,100,0,8000,14000,8000,14000,0,11,25774,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doctor Weavil - In Combat - Cast 'Mind Shatter'"), +(15552,0,1,0,0,0,100,0,15000,15000,120000,120000,0,11,25772,0,0,0,0,0,2,0,0,0,0,0,0,0,"Doctor Weavil - In Combat - Cast 'Mental Domination'"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_05_world_from_335_was_2018_07_27_04_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_05_world_from_335_was_2018_07_27_04_world_335.sql new file mode 100644 index 0000000000..88190b5f23 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_05_world_from_335_was_2018_07_27_04_world_335.sql @@ -0,0 +1,1065 @@ +/* +-- +-- Quest "A New Threat" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=170; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=170; + +-- Quest "A Refugee's Quandary" +DELETE FROM `quest_details` WHERE `ID`=3361; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3361,5,0,0,0,0,0,0,0,0); + +-- Quest "The Boar Hunter" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=183; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=183; + +-- Quest "The Troll Cave" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=182; +UPDATE `quest_offer_reward` SET `Emote1`=5, `RewardText`="Argh! Those Light-blasted trolls!$B$B$B$BA group of them came in the night and stole my journal! I knew better than to trust that good-for-nothing appr..." WHERE `ID`=182; + +-- Quest "The Stolen Journal" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=218; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=218; + +-- Quest "Scalding Mornbrew Delivery" +DELETE FROM `quest_details` WHERE `ID`=3364; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3364,5,0,0,0,0,0,0,0,0); + +-- Quest "Senir's Observations" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=66, `EmoteOnComplete`=66 WHERE `ID`=282; + +-- Quest "Supplies to Tannok" +UPDATE `quest_request_items` SET `EmoteOnComplete`=3 WHERE `ID`=2160; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=2160; + +UPDATE `creature_template` SET `ScriptName`="" WHERE `entry`=6806; -- Tannok Frosthammer is not an innkeeper + +-- Quest "Speak with Bink" +DELETE FROM `quest_details` WHERE `ID`=1879; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1879,5,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1879; + +-- Quest "Mage-tastic Gizmonitor" +DELETE FROM `quest_details` WHERE `ID`=1880; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1880,1,1,20,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1880; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=2 WHERE `ID`=1880; + +-- Quest "In Favor of the Light" +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=5626; + +-- Quest "Garments of the Light" +DELETE FROM `quest_details` WHERE `ID`=5625; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5625,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1, `RewardText`="Well done, $n. You got the Light inside you, that's for sure.$B$BHere, take this robe. It'll denote your role in the church and help people recognize you as a $c--wear it if you want.$B$BLater, there will be more tests that you'll have to go through. Do what you can to learn about your abilities and what you're capable of. Try your hand at a fight or two alone, and then again with other travelers.$B$BBut don't fret none... you're as powerful as they come." WHERE `ID`=5625; + +-- Quest "Tools for Steelgrill" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=400; + +-- Quest "Beer Basted Boar Ribs" +DELETE FROM `quest_details` WHERE `ID`=384; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(384,1,6,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=384; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=384; + +-- Quest "Stocking Jetsteam" +DELETE FROM `quest_details` WHERE `ID`=317; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(317,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=317; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=317; + +-- Quest "The Grizzled Den" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=313; + +-- Quest "Evershine" +DELETE FROM `quest_details` WHERE `ID`=318; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(318,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=318; + +-- Quest "A Favor for Evershine" +DELETE FROM `quest_details` WHERE `ID`=319; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(319,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=319; + +-- Quest "Ammo for Rumbleshot" +DELETE FROM `quest_details` WHERE `ID`=5541; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5541,1,5,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=5541; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=5541; + +-- Quest "Operation Recombobulation" +DELETE FROM `quest_details` WHERE `ID`=412; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(412,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=412; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=412; + +-- Quest "Tundra MacGrann's Stolen Stash" +DELETE FROM `quest_details` WHERE `ID`=312; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(312,1,6,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=312; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=312; + +-- Quest "The Perfect Stout" +DELETE FROM `quest_details` WHERE `ID`=315; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(315,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=315; + +-- Quest "Rejold's New Brew" +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=415; + +-- Quest "Distracting Jarven" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=308; + +-- Quest "Return to Bellowfiz" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=320; + +-- Quest "Return to Marleth" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=311; + +-- Quest "Protecting the Herd" +DELETE FROM `quest_details` WHERE `ID`=314; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(314,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=314; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=314; + +-- Quest "Those Blasted Troggs!" +DELETE FROM `quest_details` WHERE `ID`=432; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(432,5,15,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=15 WHERE `ID`=432; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=5 WHERE `ID`=432; + +-- Quest "A Pilot's Revenge" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=417; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=417; + +-- Quest "Shimmer Stout" +UPDATE `quest_request_items` SET `EmoteOnComplete`=3 WHERE `ID`=413; +UPDATE `quest_offer_reward` SET `Emote1`=7, `Emote2`=4 WHERE `ID`=413; + +-- Quest "Stout to Kadrell" +DELETE FROM `quest_details` WHERE `ID`=414; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(414,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=2 WHERE `ID`=414; +UPDATE `quest_offer_reward` SET `Emote1`=7, `Emote2`=5 WHERE `ID`=414; + +-- Quest "The Reports" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=291; + +-- Quest "Deeprun Rat Roundup" +DELETE FROM `quest_details` WHERE `ID`=6661; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6661,25,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=6661; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6661; + +-- Quest "Me Brother, Nipsy" +DELETE FROM `quest_details` WHERE `ID`=6662; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6662,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6662; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6662; + +-- Quest "The New Frontier" +DELETE FROM `quest_details` WHERE `ID` IN (1000,1004,1015,1018,1019,1047); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1000,15,5,1,0,0,0,0,0,0), +(1004,15,5,1,0,0,0,0,0,0), +(1015,15,5,1,0,0,0,0,0,0), +(1018,15,5,1,0,0,0,0,0,0), +(1019,15,5,1,0,0,0,0,0,0), +(1047,15,5,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID` IN (1015,1019,1047); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID` IN (1000,1004,1018); + +UPDATE `quest_template_addon` SET `NextQuestID`=6761 WHERE `ID` IN (1015,1019,1047); +UPDATE `quest_template_addon` SET `NextQuestID`=1123 WHERE `ID` IN (1000,1004,1018); + +-- Quest "The New Frontier (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=6761; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6761,1,1,5,25,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=6761; + +-- Quest "Rabine Saturna" +DELETE FROM `quest_details` WHERE `ID` IN (6762,1123); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6762,1,1,1,0,0,0,0,0,0), +(1123,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID` IN (6762,1123); + +-- Quest "Wasteland" +DELETE FROM `quest_details` WHERE `ID`=1124; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1124,1,6,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=1 WHERE `ID`=1124; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=1124; + +-- Quest "The Spirits of Southwind" +DELETE FROM `quest_details` WHERE `ID`=1125; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1125,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=1125; + +-- Quest "Hive in the Tower" +DELETE FROM `quest_details` WHERE `ID`=1126; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1126,1,1,25,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1126; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=1126; + +-- Quest "Umber, Archivist" +DELETE FROM `quest_details` WHERE `ID`=6844; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6844,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=1 WHERE `ID`=6844; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=6, `Emote3`=1 WHERE `ID`=6844; + +-- Quest "Uncovering Past Secrets" +DELETE FROM `quest_details` WHERE `ID`=6845; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6845,1,1,6,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=6845; + +-- Quest "Under the Chitin Was..." +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=1 WHERE `ID`=1185; + +-- Quest "The Brassbolts Brothers" +DELETE FROM `quest_details` WHERE `ID`=1179; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1179,6,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=5 WHERE `ID`=1179; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=1179; + +-- Quest "Arrows Are For Sissies" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=7342; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=7342; + +-- Quest "The Smoldering Ruins of Thaurissan" +DELETE FROM `quest_details` WHERE `ID`=3702; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3702,6,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=3702; + +-- Quest "The Smoldering Ruins of Thaurissan (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=3701; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3701,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=3701; +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=3701; + +-- Quest "Kharan Mighthammer" +DELETE FROM `quest_details` WHERE `ID`=4341; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4341,6,5,18,5,0,0,0,3000,0); +UPDATE `quest_offer_reward` SET `Emote1`=20 WHERE `ID`=4341; + +-- Quest "Kharan Mighthammer" +DELETE FROM `quest_details` WHERE `ID`=4341; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4341,6,5,18,5,0,0,0,3000,0); +UPDATE `quest_offer_reward` SET `Emote1`=16 WHERE `ID`=4341; + +-- Quest "Kharan's Tale" +DELETE FROM `quest_details` WHERE `ID`=4342; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4342,20,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=4342; + +-- Quest "The Bearer of Bad News" +DELETE FROM `quest_details` WHERE `ID`=4361; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4361,5,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=36 WHERE `ID`=4361; + +-- Quest "The Fate of the Kingdom" +DELETE FROM `quest_details` WHERE `ID`=4362; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4362,1,1,5,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=18 WHERE `ID`=4362; + +-- Quest "The Princess's Surprise" +DELETE FROM `quest_details` WHERE `ID`=4363; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4363,5,25,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=4363; + +-- Quest "A Little Slime Goes a Long Way" +DELETE FROM `quest_details` WHERE `ID`=4512; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4512,5,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=4512; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=1 WHERE `ID`=4512; + +-- Quest "A Little Slime Goes a Long Way (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=4513; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4513,5,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=4513; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=4, `Emote3`=1 WHERE `ID`=4513; + +-- Quest "Mythology of the Titans" +DELETE FROM `quest_details` WHERE `ID`=1050; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1050,1,1,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=1050; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=2 WHERE `ID`=1050; + +-- Quest "Powder to Ironband" +UPDATE `quest_details` SET `Emote1`=5 WHERE `ID`=302; + +-- Quest "The Lost Dwarves" +DELETE FROM `quest_details` WHERE `ID`=2398; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2398,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=2398; + +-- Quest "The Hidden Chamber" +DELETE FROM `quest_details` WHERE `ID`=2240; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2240,1,5,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5, `Emote3`=1 WHERE `ID`=2240; + +-- Quest "Reclaimed Treasures" +DELETE FROM `quest_details` WHERE `ID`=1360; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1360,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1360; +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=1360; + +-- Quest "Knowledge in the Deeps" +DELETE FROM `quest_details` WHERE `ID`=971; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(971,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=971; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=971; + +-- Quest "Passing the Burden" +DELETE FROM `quest_details` WHERE `ID`=3448; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3448,6,1,0,0,0,0,0,0,0); + +-- Quest "Arcane Runes" +DELETE FROM `quest_details` WHERE `ID`=3449; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3449,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=4 WHERE `ID`=3449; + +-- Quest "An Easy Pickup" +DELETE FROM `quest_details` WHERE `ID`=3450; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3450,1,1,0,0,0,0,0,0,0); + +-- Quest "Signal for Pickup" +DELETE FROM `quest_details` WHERE `ID`=3451; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3451,6,1,1,0,0,0,0,0,0); + +-- Quest "Signal for Pickup" +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=3483; + +-- Quest "Return to Tymor" +DELETE FROM `quest_details` WHERE `ID`=3461; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3461,1,1,6,0,0,0,0,0,0); + +-- Quest "Klockmort's Essentials" +DELETE FROM `quest_details` WHERE `ID`=2925; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2925,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=273 WHERE `ID`=2925; + +-- Quest "Essential Artificials" +DELETE FROM `quest_details` WHERE `ID`=2924; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2924,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=2924; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=2924; + +-- Quest "The Grand Betrayal" +DELETE FROM `quest_details` WHERE `ID`=2929; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2929,5,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=2929; + +-- Quest "The Day After" +DELETE FROM `quest_details` WHERE `ID`=2927; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2927,6,1,5,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=2927; + +-- Quest "Gnogaine" +DELETE FROM `quest_details` WHERE `ID`=2926; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2926,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=5, `EmoteOnIncomplete`=5 WHERE `ID`=2926; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2926; + +-- Quest "The Only Cure is More Green Glow" +DELETE FROM `quest_details` WHERE `ID`=2962; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2962,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=1, `EmoteOnIncomplete`=1 WHERE `ID`=2962; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2962; + +-- Quest "Speak with Shoni" +DELETE FROM `quest_details` WHERE `ID`=2041; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2041,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=2041; + +-- Quest "Sully Balloo's Letter" +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=637; + +-- Quest "Sara Balloo's Plea" +DELETE FROM `quest_details` WHERE `ID`=683; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(683,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=683; + +-- Quest "A King's Tribute" +DELETE FROM `quest_details` WHERE `ID`=686; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(686,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5 WHERE `ID`=686; + +-- Quest "A King's Tribute (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=689; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(689,6,6,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=689; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=689; + +-- Quest "A King's Tribute (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=700; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(700,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=700; + +-- Quest "Supplying the Front" +DELETE FROM `quest_details` WHERE `ID`=1578; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1578,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1578; +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=1578; + +-- Quest "Gearing Redridge" +DELETE FROM `quest_details` WHERE `ID`=1618; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1618,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1618; +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=1618; + +-- Quest "Imperial Plate Armor" +DELETE FROM `quest_details` WHERE `ID` IN (10891,10892); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(10891,1,0,0,0,0,0,0,0,0), +(10892,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID` IN (10891,10892); + +-- Quest "A Blue Light Bargain" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=7652; + +-- Quest "Imperial Plate Belt" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=7653; +UPDATE `quest_offer_reward` SET `Emote1`=1, `RewardText`="A pleasure doin' business with ya.$B$BAnd $N, wipe that look of disgust off yer face." WHERE `ID`=7653; + +-- Quest "Imperial Plate Boots" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=11, `EmoteOnComplete`=11 WHERE `ID`=7654; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7654; + +-- Quest "Imperial Plate Bracer" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=7655; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7655; + +-- Quest "Imperial Plate Chest" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `CompletionText`="For the chest piece plans, I'll be needin' 30 thorium bars.$B$BOh boy, there you go again. Are you gonna be runnin' to yer blue Gods, askin' why they have forsaken you?!? Toughen up, Nancy! Nobody ever said life's fair." WHERE `ID`=7656; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7656; + +-- Quest "Imperial Plate Helm" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=7657; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7657; + +-- Quest "Imperial Plate Leggings" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=7658; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7658; + +-- Quest "Imperial Plate Shoulders" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=7659; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7659; + +-- Quest "The Pledge of Secrecy" +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID` IN (3640,3642,3638); + +-- Quest "Membership Card Renewal" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID` IN (3646,3647,3644,3645); + +-- Quest "I Know A Guy..." +DELETE FROM `quest_details` WHERE `ID` IN (6612,6611); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6612,1,1,273,0,0,0,0,0,0), +(6611,6,274,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=33, `Emote2`=5, `EmoteDelay2`=1000 WHERE `ID` IN (6612,6611); + +-- Quest "Clamlette Surprise" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=6610; +UPDATE `quest_offer_reward` SET `Emote1`=25 WHERE `ID`=6610; + +-- Quest "Alliance Trauma" +DELETE FROM `quest_details` WHERE `ID`=6625; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6625,1,1,5,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6625; + +-- Quest "Triage" +DELETE FROM `quest_details` WHERE `ID`=6624; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6624,1,1,1,1,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=6624; + +-- Quest "The Platinum Discs" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2279; +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=2279; + +-- Quest "The Platinum Discs (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=2439; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2439,4,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=2439; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2439; + +-- Quest "Portents of Uldum" +DELETE FROM `quest_details` WHERE `ID`=2963; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2963,2,1,5,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=2963; + +-- Quest "Seeing What Happens" +DELETE FROM `quest_details` WHERE `ID`=2946; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2946,1,1,1,0,0,0,0,0,0); + +-- Quest "Return to Ironforge" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=2977; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=2977; + +-- Quest "A Future Task" +DELETE FROM `quest_details` WHERE `ID`=2964; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2964,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=2964; + +-- Quest "Road to Salvation" +DELETE FROM `quest_details` WHERE `ID`=2218; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2218,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=2 WHERE `ID`=2218; + +-- Quest "Simple Subterfugin'" +DELETE FROM `quest_details` WHERE `ID`=2238; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2238,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=2 WHERE `ID`=2238; + +-- Quest "Onin's Report" +DELETE FROM `quest_details` WHERE `ID`=2239; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2239,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=2239; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=2239; + +-- Quest "To Hulfdan!" +DELETE FROM `quest_details` WHERE `ID`=2299; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2299,6,5,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=25 WHERE `ID`=2299; + +-- Quest "Kingly Shakedown" +DELETE FROM `quest_details` WHERE `ID`=2298; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2298,1,5,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2298; + +-- Quest "Tome of Divinity" +DELETE FROM `quest_details` WHERE `ID`=2997; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2997,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=2997; + +-- Quest "Tome of Divinity" +DELETE FROM `quest_details` WHERE `ID`=3000; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3000,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=3000; + +-- Quest "Tome of Divinity" +DELETE FROM `quest_details` WHERE `ID`=2999; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2999,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=2999; + +-- Quest "Tome of Divinity" +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=1645; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry`=1645; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19,0,1645,0,0,14,0,2997,0,0,0,0,0,"","Quest 'Tome of Divinity (1645)' can only be taken if quest 'Tome of Divinity (2997)' is not taken"), +(19,0,1645,0,0,14,0,3000,0,0,0,0,0,"","Quest 'Tome of Divinity (1645)' can only be taken if quest 'Tome of Divinity (3000)' is not taken"), +(19,0,1645,0,0,14,0,2999,0,0,0,0,0,"","Quest 'Tome of Divinity (1645)' can only be taken if quest 'Tome of Divinity (2999)' is not taken"); + +-- Quest "Tome of Divinity" +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=6, `Emote3`=1, `Emote4`=1 WHERE `ID`=1645; + +-- Quest "Tome of Divinity (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=1647; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1647,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=2, `Emote3`=1 WHERE `ID`=1647; + +-- Quest "Tome of Divinity (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=1648; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1648,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1648; +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1, `Emote4`=2 WHERE `ID`=1648; + +-- Quest "Tome of Divinity (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=1778; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1778,1,3,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=1778; + +-- Quest "Tome of Divinity (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=1779; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1779,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=33, `Emote2`=2, `Emote3`=1, `Emote4`=1 WHERE `ID`=1779; + +-- Quest "Tome of Divinity (Part 6)" +DELETE FROM `quest_details` WHERE `ID`=1783; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1783,1,1,1,6,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1, `Emote4`=1 WHERE `ID`=1783; + +-- Quest "Tome of Divinity (Part 7)" +DELETE FROM `quest_details` WHERE `ID`=1784; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1784,1,1,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=1784; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=1784; + +-- Quest "Tome of Divinity (Part 8)" +DELETE FROM `quest_details` WHERE `ID`=1785; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1785,1,1,2,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1, `Emote4`=2 WHERE `ID`=1785; + +-- Quest "Taming the Beast" +DELETE FROM `quest_details` WHERE `ID` IN (6064,6084,6085,6086); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6064,1,0,0,0,0,0,0,0,0), +(6084,1,0,0,0,0,0,0,0,0), +(6085,1,0,0,0,0,0,0,0,0), +(6086,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID` IN (6064); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID` IN (6084,6085); +UPDATE `quest_offer_reward` SET `Emote1`=273 WHERE `ID`=6064; +UPDATE `quest_offer_reward` SET `Emote1`=25 WHERE `ID`=6084; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6085; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=6086; + +-- Quest "I Got Nothin' Left!" +DELETE FROM `quest_details` WHERE `ID`=6609; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6609,5,25,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6609; + +-- Quest "Nat Pagle, Angler Extreme" +DELETE FROM `quest_details` WHERE `ID`=6607; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6607,1,1,5,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=6607; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=6607; + +-- Quest "The Shattered Necklace" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2198; +UPDATE `quest_offer_reward` SET `Emote1`=25 WHERE `ID`=2198; + +-- Quest "Lore for a Price" +DELETE FROM `quest_details` WHERE `ID`=2199; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2199,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2199; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=2199; + +-- Quest "Back to Uldaman" +DELETE FROM `quest_details` WHERE `ID`=2200; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2200,1,0,0,0,0,0,0,0,0); + +-- Quest "Replacement Phial" +DELETE FROM `quest_details` WHERE `ID`=3375; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3375,6,5,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=3375; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3375; + +-- Quest "Find the Gems" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2201; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2201; + +-- Quest "Restoring the Necklace" +DELETE FROM `quest_details` WHERE `ID`=2204; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2204,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2204; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2204; + +-- Quest "Restoring the Necklace" +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=2361; + +-- Quest "An Earnest Proposition" +DELETE FROM `quest_details` WHERE `ID` IN (8905,8906,8907,8908,8909,8910,8911,8912,10492,8913,8914,8915,8916,8917,8918,8919,8920,10493); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8905,2,1,1,0,0,0,0,0,0), +(8906,2,1,1,0,0,0,0,0,0), +(8907,2,1,1,0,0,0,0,0,0), +(8908,2,1,1,0,0,0,0,0,0), +(8909,2,1,1,0,0,0,0,0,0), +(8910,2,1,1,0,0,0,0,0,0), +(8911,2,1,1,0,0,0,0,0,0), +(8912,2,1,1,0,0,0,0,0,0), +(10492,2,1,1,0,0,0,0,0,0), +(8913,2,1,1,0,0,0,0,0,0), +(8914,2,1,1,0,0,0,0,0,0), +(8915,2,1,1,0,0,0,0,0,0), +(8916,2,1,1,0,0,0,0,0,0), +(8917,2,1,1,0,0,0,0,0,0), +(8918,2,1,1,0,0,0,0,0,0), +(8919,2,1,1,0,0,0,0,0,0), +(8920,2,1,1,0,0,0,0,0,0), +(10493,2,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8905,8906,8907,8908,8909,8910,8911,8912,10492,8913,8914,8915,8916,8917,8918,8919,8920,10493); +UPDATE `quest_offer_reward` SET `Emote1`=273, `Emote2`=1 WHERE `ID` IN (8905,8906,8907,8908,8909,8910,8911,8912,10492,8913,8914,8915,8916,8917,8918,8919,8920,10493); + +-- Quest "A Supernatural Device" +DELETE FROM `quest_details` WHERE `ID` IN (8922,8923); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8922,1,1,0,0,0,0,0,0,0), +(8923,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID` IN (8922,8923); +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=6 WHERE `ID` IN (8922,8923); + +-- Quest "The Ectoplasmic Distiller" +DELETE FROM `quest_details` WHERE `ID`=8921; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8921,5,6,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=8921; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=8921; + +-- Quest "Hunting for Ectoplasm" +DELETE FROM `quest_details` WHERE `ID`=8924; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8924,5,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8924; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8924; + +-- Quest "A Portable Power Source" +DELETE FROM `quest_details` WHERE `ID`=8925; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8925,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8925; +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=8925; + +-- Quest "A Shifty Merchant" +DELETE FROM `quest_details` WHERE `ID`=8928; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8928,1,1,25,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8928; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=8928; + +-- Quest "Return to Deliana" +DELETE FROM `quest_details` WHERE `ID`=8977; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8977,2,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=8977; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8977; + +-- Quest "Return to Mokvar" +DELETE FROM `quest_details` WHERE `ID`=8978; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8978,2,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=8978; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8978; + +-- Quest "Just Compensation" +DELETE FROM `quest_details` WHERE `ID` IN (8926,8931,8932,8933,8934,8935,8936,8937,10494,8927,8938,8939,8940,8941,8942,8943,8944,10495); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8926,1,1,0,0,0,0,0,0,0), +(8931,1,1,0,0,0,0,0,0,0), +(8932,1,1,0,0,0,0,0,0,0), +(8933,1,1,0,0,0,0,0,0,0), +(8934,1,1,0,0,0,0,0,0,0), +(8935,1,1,0,0,0,0,0,0,0), +(8936,1,1,0,0,0,0,0,0,0), +(8937,1,1,0,0,0,0,0,0,0), +(10494,1,1,0,0,0,0,0,0,0), +(8927,1,1,0,0,0,0,0,0,0), +(8938,1,1,0,0,0,0,0,0,0), +(8939,1,1,0,0,0,0,0,0,0), +(8940,1,1,0,0,0,0,0,0,0), +(8941,1,1,0,0,0,0,0,0,0), +(8942,1,1,0,0,0,0,0,0,0), +(8943,1,1,0,0,0,0,0,0,0), +(8944,1,1,0,0,0,0,0,0,0), +(10495,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8926,8931,8932,8933,8934,8935,8936,8937,10494,8927,8938,8939,8940,8941,8942,8943,8944,10495); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID` IN (8926,8931,8932,8933,8934,8935,8936,8937,10494,8927,8938,8939,8940,8941,8942,8943,8944,10495); + +-- Quest "A Supernatural Device" +DELETE FROM `quest_details` WHERE `ID` IN (8929,8930); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8929,1,1,0,0,0,0,0,0,0), +(8930,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID` IN (8929,8930); + +-- Quest "Dead Man's Plea" +DELETE FROM `quest_details` WHERE `ID`=8945; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8945,1,5,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=6 WHERE `ID`=8945; + +-- Quest "Proof of Life" +DELETE FROM `quest_details` WHERE `ID`=8946; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8946,1,1,2,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=8946; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=8946; + +-- Quest "Anthion's Strange Request" +DELETE FROM `quest_details` WHERE `ID`=8947; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8947,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8947; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8947; + +-- Quest "Anthion's Old Friend" +DELETE FROM `quest_details` WHERE `ID`=8948; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8948,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=8948; + +-- Quest "Falrin's Vendetta" +DELETE FROM `quest_details` WHERE `ID`=8949; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8949,1,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8949; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=8949; + +-- Quest "The Instigator's Enchantment" +DELETE FROM `quest_details` WHERE `ID`=8950; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8950,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=8950; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8950; + +-- Quest "The Challenge" +DELETE FROM `quest_details` WHERE `ID`=9015; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(9015,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=9015; +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=9015; + +-- Quest "Anthion's Parting Words" +DELETE FROM `quest_details` WHERE `ID` IN (8951,8952,8953,8954,8955,8956,8957,8958,8959,9016,9017,9018,9019,9020,9021,9022,10496,10497); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8951,1,1,1,2,0,0,0,0,0), +(8952,1,1,1,2,0,0,0,0,0), +(8953,1,1,1,2,0,0,0,0,0), +(8954,1,1,1,2,0,0,0,0,0), +(8955,1,1,1,2,0,0,0,0,0), +(8956,1,1,1,2,0,0,0,0,0), +(8957,1,1,1,2,0,0,0,0,0), +(8958,1,1,1,2,0,0,0,0,0), +(8959,1,1,1,2,0,0,0,0,0), +(9016,1,1,1,2,0,0,0,0,0), +(9017,1,1,1,2,0,0,0,0,0), +(9018,1,1,1,2,0,0,0,0,0), +(9019,1,1,1,2,0,0,0,0,0), +(9020,1,1,1,2,0,0,0,0,0), +(9021,1,1,1,2,0,0,0,0,0), +(9022,1,1,1,2,0,0,0,0,0), +(10496,1,1,1,2,0,0,0,0,0), +(10497,1,1,1,2,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID` IN (8951,8952,8953,8954,8955,8956,8957,8958,8959,9016,9017,9018,9019,9020,9021,9022); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID` IN (8951,8952,8953,8954,8955,8956,8958,8959); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID` IN (9016,9017,9018,9019,9020,9021,9022); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `RewardText`="This curse was bestowed upon us but for a mere medallion. Lord Valthalak certainly knows how to hold a grudge.$B$BWe'll endeavor to find the remaining pieces - hopefully before I meet an untimely demise. But before that, let us see about your reward." WHERE `ID`=8957; +DELETE FROM `quest_request_items` WHERE `ID` IN (10496,10497); +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`, `VerifiedBuild`) VALUES +(10496,1,1,"You're back, $N. You must tell me all about what you've found out. But first let us arrange for your reward.",0), +(10497,1,1,"You've returned and I see in your eyes that you've much to tell me, $N. Let us take care of your reward first.",0); +DELETE FROM `quest_offer_reward` WHERE `ID` IN (10496,10497); +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(10496,5,1,0,0,0,0,0,0,"I can't believe our lives are all but forfeit all because of a stupid medallion! And you're sure Anthion mentioned Bodley?$B$BWell, you've done your job so let's get your reward out of the way.",0), +(10497,6,1,0,0,0,0,0,0,"This curse was bestowed upon us but for a mere medallion. Lord Valthalak certainly knows how to hold a grudge.$B$BWe'll endeavor to find the remaining pieces - hopefully before I meet an untimely demise. But before that, let us see about your reward.",0); + +-- Quest "Bodley's Unfortunate Fate" +DELETE FROM `quest_details` WHERE `ID` IN (8960,9032); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8960,6,1,1,0,0,0,0,0,0), +(9032,5,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=6, `Emote3`=1, `Emote4`=2 WHERE `ID` IN (8960,9032); + +-- Quest "Three Kings of Flame" +DELETE FROM `quest_details` WHERE `ID`=8961; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8961,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=8961; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=8961; + +-- Quest "Components of Importance" +DELETE FROM `quest_details` WHERE `ID` IN (8962,8963,8964,8965); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8962,1,1,1,0,0,0,0,0,0), +(8963,1,1,1,0,0,0,0,0,0), +(8964,1,1,1,0,0,0,0,0,0), +(8965,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8962,8963,8964,8965); +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1 WHERE `ID` IN (8962,8963,8964,8965); + +-- Quest "The Left Piece of Lord Valthalak's Amulet" +DELETE FROM `quest_details` WHERE `ID` IN (8966,8967,8968,8969); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8966,1,1,1,0,0,0,0,0,0), +(8967,1,1,1,0,0,0,0,0,0), +(8968,1,1,1,0,0,0,0,0,0), +(8969,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8966,8967,8968,8969); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID` IN (8966,8967,8968,8969); + +-- Quest "I See Alcaz Island In Your Future..." +DELETE FROM `quest_details` WHERE `ID`=8970; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8970,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=8970; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=8970; + +-- Quest "More Components of Importance" +DELETE FROM `quest_details` WHERE `ID` IN (8985,8986,8987,8988); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8985,1,1,1,0,0,0,0,0,0), +(8986,1,1,1,0,0,0,0,0,0), +(8987,1,1,1,0,0,0,0,0,0), +(8988,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8985,8986,8987,8988); +UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1 WHERE `ID` IN (8985,8986,8987,8988); + +-- Quest "The Right Piece of Lord Valthalak's Amulet" +DELETE FROM `quest_details` WHERE `ID` IN (8989,8990,8991,8992); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8989,1,1,1,0,0,0,0,0,0), +(8990,1,1,1,0,0,0,0,0,0), +(8991,1,1,1,0,0,0,0,0,0), +(8992,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8989,8990,8991,8992); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID` IN (8989,8990,8991,8992); + +-- Quest "Final Preparations" +DELETE FROM `quest_details` WHERE `ID`=8994; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8994,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=2, `EmoteOnComplete`=2 WHERE `ID`=8994; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=5 WHERE `ID`=8994; + +-- Quest "Final Preparations" +DELETE FROM `quest_details` WHERE `ID`=8995; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8995,1,1,1,1,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=15, `EmoteOnComplete`=15 WHERE `ID`=8995; + +-- Quest "Final Preparations" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=8996; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1, `Emote4`=2 WHERE `ID`=8996; + +-- Quest "Back to the Beginning" +DELETE FROM `quest_details` WHERE `ID` IN (8997,8998); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8997,1,1,0,0,0,0,0,0,0), +(8998,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID` IN (8997,8998); + +-- Quest "Saving the Best for Last" +DELETE FROM `quest_details` WHERE `ID` IN (8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,10498,10499); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8999,1,1,0,0,0,0,0,0,0), +(9000,1,1,0,0,0,0,0,0,0), +(9001,1,1,0,0,0,0,0,0,0), +(9002,1,1,0,0,0,0,0,0,0), +(9003,1,1,0,0,0,0,0,0,0), +(9004,1,1,0,0,0,0,0,0,0), +(9005,1,1,0,0,0,0,0,0,0), +(9006,1,1,0,0,0,0,0,0,0), +(9007,1,1,0,0,0,0,0,0,0), +(9008,1,1,0,0,0,0,0,0,0), +(9009,1,1,0,0,0,0,0,0,0), +(9010,1,1,0,0,0,0,0,0,0), +(9011,1,1,0,0,0,0,0,0,0), +(9012,1,1,0,0,0,0,0,0,0), +(9013,1,1,0,0,0,0,0,0,0), +(9014,1,1,0,0,0,0,0,0,0), +(10498,1,1,0,0,0,0,0,0,0), +(10499,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID` IN (8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014); +DELETE FROM `quest_request_items` WHERE `ID` IN (10498,10499); +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`, `VerifiedBuild`) VALUES +(10498,6,6,"As per our deal, are you ready to hand over your Wildheart pieces in exchange for your new Feralheart Cowl and Vest?",0), +(10499,6,6,"As per our deal, are you ready to hand over your Magister's pieces in exchange for your new Sorcerer's Crown and Robes?",0); +DELETE FROM `quest_offer_reward` WHERE `ID` IN (10498,10499); +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(10498,1,2,0,0,0,0,0,0,"I'm going to miss you, $N. I owe you such a debt of gratitude; I think I'll never be able to repay it.$B$BI hope that you enjoy your new head and chest armor, and that it protects you for a long time to come.",0), +(10499,1,2,0,0,0,0,0,0,"I will truly miss you, $N. There is a debt that I owe you, which I may never be able to repay.$B$BEnjoy your new head and chest armor. May it protect you for a long time to come, and help you to achieve even greater honor!",0); + +-- Quest "The Art of the Armorsmith" +DELETE FROM `quest_details` WHERE `ID`=5283; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5283,1,1,1,6,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=5283; +UPDATE `quest_offer_reward` SET `Emote1`=25, `Emote2`=1 WHERE `ID`=5283; + +-- Quest "The Art of the Armorsmith" +DELETE FROM `quest_details` WHERE `ID`=5301; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5301,1,1,1,6,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=5301; +UPDATE `quest_offer_reward` SET `Emote1`=25, `Emote2`=1 WHERE `ID`=5301; + +-- Quest "The Way of the Weaponsmith" +DELETE FROM `quest_details` WHERE `ID`=5284; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5284,1,1,1,25,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=5284; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=5284; + +-- Quest "The Way of the Weaponsmith" +DELETE FROM `quest_details` WHERE `ID`=5302; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5302,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=4, `EmoteOnComplete`=4 WHERE `ID`=5302; +UPDATE `quest_offer_reward` SET `Emote1`=25, `Emote2`=1 WHERE `ID`=5302; +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_06_world_from_335_was_2018_07_27_05_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_06_world_from_335_was_2018_07_27_05_world_335.sql new file mode 100644 index 0000000000..65798d4e15 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_06_world_from_335_was_2018_07_27_05_world_335.sql @@ -0,0 +1,359 @@ +/* +-- +-- Ma'ruk Wyrmscale +DELETE FROM `smart_scripts` WHERE `entryorguid`=2090 AND `source_type`=0 AND `id`=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 +(2090,0,0,0,4,0,100,0,0,0,0,0,0,11,9128,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ma'ruk Wyrmscale - On Aggro - Cast 'Battle Shout'"); + +-- Black Slime +DELETE FROM `smart_scripts` WHERE `entryorguid`=1030 AND `source_type`=0 AND `id`=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 +(1030,0,0,0,0,0,100,1,5000,9000,0,0,0,11,3335,0,0,0,0,0,1,0,0,0,0,0,0,0,"Black Slime - In Combat - Cast 'Dark Sludge' (No Repeat)"); + +-- Sludginn +DELETE FROM `smart_scripts` WHERE `entryorguid`=14433 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 +(14433,0,0,0,0,0,100,1,9000,11000,0,0,0,11,3335,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sludginn - In Combat - Cast 'Dark Sludge' (No Repeat)"), +(14433,0,1,0,0,0,100,0,5000,8000,21000,23000,0,11,3358,32,0,0,0,0,2,0,0,0,0,0,0,0,"Sludginn - In Combat - Cast 'Leech Poison'"); + +-- Mosshide Gnoll +DELETE FROM `smart_scripts` WHERE `entryorguid`=1007 AND `source_type`=0 AND `id` IN (1,2,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`, `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 +(1007,0,1,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Gnoll - On Reset - Cast 'Moss Hide'"), +(1007,0,2,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mosshide Gnoll - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Mosshide Mongrel +DELETE FROM `smart_scripts` WHERE `entryorguid`=1008 AND `source_type`=0 AND `id` IN (1,2,3,4); +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 +(1008,0,1,0,0,0,100,0,6000,13000,17000,24000,0,11,8016,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mosshide Mongrel - In Combat - Cast 'Spirit Decay'"), +(1008,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mongrel - On Reset - Cast 'Moss Hide'"), +(1008,0,3,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mosshide Mongrel - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Mosshide Fenrunner +DELETE FROM `smart_scripts` WHERE `entryorguid`=1010 AND `source_type`=0 AND `id` IN (1,2,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`, `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 +(1010,0,1,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Fenrunner - On Reset - Cast 'Moss Hide'"), +(1010,0,2,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mosshide Fenrunner - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Mosshide Mistweaver +UPDATE `smart_scripts` SET `event_param3`=3000, `event_param4`=5000 WHERE `entryorguid`=1009 AND `source_type`=0 AND `id`=2; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1009 AND `source_type`=0 AND `id` IN (0,3,4,5); +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 +(1009,0,0,0,1,0,100,0,1000,1000,1800000,1800000,0,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mistweaver - Out of Combat - Cast 'Frost Armor'"), +(1009,0,3,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mistweaver - On Reset - Cast 'Moss Hide'"), +(1009,0,4,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mosshide Mistweaver - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Mosshide Trapper +DELETE FROM `smart_scripts` WHERE `entryorguid`=1011 AND `source_type`=0 AND `id` IN (1,2,3,4); +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 +(1011,0,1,0,0,0,100,0,4000,11000,15000,22000,0,11,6533,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mosshide Trapper - In Combat - Cast 'Net'"), +(1011,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Trapper - On Reset - Cast 'Moss Hide'"), +(1011,0,3,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mosshide Trapper - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Mosshide Brute +DELETE FROM `smart_scripts` WHERE `entryorguid`=1012 AND `source_type`=0 AND `id`=2; +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 +(1012,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Brute - On Reset - Cast 'Moss Hide'"); + +-- Mosshide Alpha +DELETE FROM `smart_scripts` WHERE `entryorguid`=1014 AND `source_type`=0 AND `id` IN (1,2,3,4); +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 +(1014,0,1,0,4,0,100,0,0,0,0,0,0,11,9128,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Alpha - On Aggro - Cast 'Battle Shout'"), +(1014,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Alpha - On Reset - Cast 'Moss Hide'"), +(1014,0,3,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mosshide Alpha - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Mosshide Mystic +DELETE FROM `smart_scripts` WHERE `entryorguid`=1013 AND `source_type`=0 AND `id` IN (2,3,4,5,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`, `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 +(1013,0,2,0,0,0,100,0,8000,14000,18000,24000,0,11,11436,0,0,0,0,0,5,0,0,0,0,0,0,0,"Mosshide Mystic - In Combat - Cast 'Slow'"), +(1013,0,3,0,14,0,100,0,320,40,25000,30000,0,11,11986,0,0,0,0,0,7,0,0,0,0,0,0,0,"Mosshide Mystic - Friendly At 320 Health - Cast 'Healing Wave'"), +(1013,0,4,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mystic - On Reset - Cast 'Moss Hide'"), +(1013,0,5,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mosshide Mystic - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Leech Stalker +DELETE FROM `smart_scripts` WHERE `entryorguid`=1111 AND `source_type`=0 AND `id`=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 +(1111,0,0,0,0,0,100,0,5000,13000,21000,23000,0,11,3358,32,0,0,0,0,2,0,0,0,0,0,0,0,"Leech Stalker - In Combat - Cast 'Leech Poison'"); + +-- Cave Stalker +DELETE FROM `smart_scripts` WHERE `entryorguid`=4040 AND `source_type`=0 AND `id`=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 +(4040,0,0,0,0,0,100,0,5000,13000,21000,23000,0,11,3358,32,0,0,0,0,2,0,0,0,0,0,0,0,"Cave Stalker - In Combat - Cast 'Leech Poison'"); + +-- Leech Widow +DELETE FROM `smart_scripts` WHERE `entryorguid`=1112 AND `source_type`=0 AND `id`=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 +(1112,0,0,0,0,0,100,0,7000,11000,21000,22000,0,11,3388,32,0,0,0,0,2,0,0,0,0,0,0,0,"Leech Widow - In Combat - Cast 'Deadly Leech Poison'"); + +-- Red Whelp +DELETE FROM `smart_scripts` WHERE `entryorguid`=1042 AND `source_type`=0 AND `id`=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 +(1042,0,0,0,0,0,100,0,3000,11000,13000,21000,0,11,3356,0,0,0,0,0,2,0,0,0,0,0,0,0,"Red Whelp - In Combat - Cast 'Flame Lash'"); + +-- Black Ooze +DELETE FROM `smart_scripts` WHERE `entryorguid`=1032 AND `source_type`=0 AND `id`=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 +(1032,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Black Ooze - On Reset - Cast 'Rancid Blood'"); + +-- Crimson Ooze +DELETE FROM `smart_scripts` WHERE `entryorguid`=1031 AND `source_type`=0 AND `id`=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 +(1031,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Crimson Ooze - On Reset - Cast 'Rancid Blood'"); + +-- Monstrous Ooze +DELETE FROM `smart_scripts` WHERE `entryorguid`=1033 AND `source_type`=0 AND `id`=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 +(1033,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Monstrous Ooze - On Reset - Cast 'Rancid Blood'"); + +-- Rotting Ancestor +DELETE FROM `smart_scripts` WHERE `entryorguid`=1530 AND `source_type`=0 AND `id`=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 +(1530,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rotting Ancestor - On Reset - Cast 'Rancid Blood'"); + +-- Bleeding Horror +DELETE FROM `smart_scripts` WHERE `entryorguid`=1529 AND `source_type`=0 AND `id`=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 +(1529,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Horror - On Reset - Cast 'Rancid Blood'"); + +-- Highland Lashtail +DELETE FROM `smart_scripts` WHERE `entryorguid`=1016 AND `source_type`=0 AND `id`=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 +(1016,0,0,0,0,0,100,0,5000,11000,13000,19000,0,11,6607,2,0,0,0,0,2,0,0,0,0,0,0,0,"Highland Lashtail - In Combat - Cast 'Lash'"); +UPDATE `smart_scripts` SET `action_param2`=2 WHERE `action_type`=11 AND `action_param1`=6607; + +-- Highland Scytheclaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=1017 AND `source_type`=0 AND `id`=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 +(1017,0,0,0,0,0,100,0,4000,9000,12000,17000,0,11,3147,0,0,0,0,0,2,0,0,0,0,0,0,0,"Highland Scytheclaw - In Combat - Cast 'Rend Flesh'"); + +-- Highland Razormaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=1018 AND `source_type`=0 AND `id`=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 +(1018,0,0,0,0,0,100,0,5000,12000,15000,19000,0,11,3427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Highland Razormaw - In Combat - Cast 'Infected Wound'"); + +-- Elder Razormaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=1019 AND `source_type`=0 AND `id`=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 +(1019,0,0,0,0,0,100,0,4000,9000,11000,16000,0,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Elder Razormaw - In Combat - Cast 'Tendon Rip'"); + +-- Razormaw Matriarch +DELETE FROM `smart_scripts` WHERE `entryorguid`=1140 AND `source_type`=0 AND `id` IN (2,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`, `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 +(1140,0,2,0,12,0,100,1,0,20,0,0,0,11,7938,0,0,0,0,0,2,0,0,0,0,0,0,0,"Razormaw Matriarch - In Combat - Target Between 0-20% Health - Cast 'Fatal Bite' (No Repeat)"), +(1140,0,3,0,0,0,100,0,5000,8000,11000,16000,0,11,3147,0,0,0,0,0,2,0,0,0,0,0,0,0,"Razormaw Matriarch - In Combat - Cast 'Rend Flesh'"); + +-- Dark Iron Dwarf +DELETE FROM `smart_scripts` WHERE `entryorguid`=1051 AND `source_type`=0 AND `id`=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`, `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 +(1051,0,1,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Dwarf - In Combat - Cast 'Gift of Ragnaros'"); + +-- Dark Iron Rifleman +DELETE FROM `smart_scripts` WHERE `entryorguid`=6523 AND `source_type`=0 AND `id`=2; +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 +(6523,0,2,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Rifleman - In Combat - Cast 'Gift of Ragnaros'"); + +-- Dark Iron Demolitionist +DELETE FROM `smart_scripts` WHERE `entryorguid`=1054 AND `source_type`=0 AND `id`=2; +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 +(1054,0,2,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Demolitionist - In Combat - Cast 'Gift of Ragnaros'"); + +-- Dark Iron Saboteur +DELETE FROM `smart_scripts` WHERE `entryorguid`=1052 AND `source_type`=0 AND `id` IN (0,4); +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 +(1052,0,0,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Saboteur - In Combat - Cast 'Gift of Ragnaros'"), +(1052,0,4,0,4,0,15,0,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Iron Saboteur - On Aggro - Say Line 2"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1052 AND `GroupID`=2; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1052,2,0,"Never cross a Dark Iron, $C.",12,0,100,0,0,0,1934,0,"Dark Iron Saboteur"), +(1052,2,1,"Time to die, $C.",12,0,100,0,0,0,1935,0,"Dark Iron Saboteur"), +(1052,2,2,"Feel the power of the Dark Iron Dwarves!",12,0,100,0,0,0,1936,0,"Dark Iron Saboteur"); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=3204; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(3204,8329,0,"Sapper Explode"); + +-- Dark Iron Tunneler +DELETE FROM `smart_scripts` WHERE `entryorguid`=1053 AND `source_type`=0 AND `id` IN (1,2,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`, `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 +(1053,0,1,0,4,0,100,0,0,0,0,0,0,11,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Iron Tunneler - In Combat - Cast 'Defensive Stance'"), +(1053,0,2,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Tunneler - In Combat - Cast 'Gift of Ragnaros'"), +(1053,0,3,0,0,0,100,0,5000,9000,11000,15000,0,11,11971,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Tunneler - In Combat - Cast 'Sunder Armor'"); + +-- Balgaras the Foul +DELETE FROM `smart_scripts` WHERE `entryorguid`=1364 AND `source_type`=0 AND `id` IN (2,3,4); +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 +(1364,0,2,0,0,0,100,0,3000,5000,11000,13000,0,11,9081,0,0,0,0,0,1,0,0,0,0,0,0,0,"Balgaras the Foul - In Combat - Cast 'Shadow Bolt Volley'"), +(1364,0,3,0,0,0,100,0,8000,12000,13000,16000,0,11,11831,0,0,0,0,0,1,0,0,0,0,0,0,0,"Balgaras the Foul - In Combat - Cast 'Frost Nova'"), +(1364,0,4,0,0,0,100,0,11000,13000,181000,182000,0,11,3586,0,0,0,0,0,2,0,0,0,0,0,0,0,"Balgaras the Foul - In Combat - Cast 'Volatile Infection'"); + +-- Fen Creeper +DELETE FROM `smart_scripts` WHERE `entryorguid`=1040 AND `source_type`=0 AND `id`=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 +(1040,0,0,0,25,0,100,0,0,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fen Creeper - On Reset - Cast 'Sneak'"); + +-- Chimaera Matriarch +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=6167; +DELETE FROM `smart_scripts` WHERE `entryorguid`=6167 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 +(6167,0,0,0,0,0,100,0,3000,5000,7000,12000,0,11,3396,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chimaera Matriarch - In Combat - Cast 'Corrosive Poison'"); + +-- Condemned Cleric +DELETE FROM `smart_scripts` WHERE `entryorguid`=7070 AND `source_type`=0 AND `id`=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`, `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 +(7070,0,1,0,14,0,100,0,3000,40,18000,21000,0,11,15586,0,0,0,0,0,7,0,0,0,0,0,0,0,"Condemned Cleric - Friendly At 3000 Health - Cast 'Heal'"); + +-- Condemned Acolyte +DELETE FROM `smart_scripts` WHERE `entryorguid`=7068 AND `source_type`=0 AND `id`=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`, `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 +(7068,0,1,0,14,0,100,0,3000,40,18000,25000,0,11,25058,0,0,0,0,0,7,0,0,0,0,0,0,0,"Condemned Acolyte - Friendly At 3000 Health - Cast 'Renew'"); + +-- Dragonmaw Raider +DELETE FROM `smart_scripts` WHERE `entryorguid`=1034 AND `source_type`=0 AND `id`=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`, `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 +(1034,0,1,0,0,0,100,0,2000,13000,15000,26000,0,11,6533,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonmaw Raider - In Combat - Cast 'Net'"); + +-- Dragonmaw Swamprunner +DELETE FROM `smart_scripts` WHERE `entryorguid`=1035 AND `source_type`=0 AND `id`=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`, `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 +(1035,0,1,0,25,0,100,0,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Swamprunner - On Reset - Cast 'Poison Proc'"); + +-- Garneg Charskull +DELETE FROM `smart_scripts` WHERE `entryorguid`=2108 AND `source_type`=0 AND `id` IN (1,2,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`, `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 +(2108,0,1,0,0,0,100,0,1000,2000,4000,6000,0,11,184,32,0,0,0,0,1,0,0,0,0,0,0,0,"Garneg Charskull - In Combat - Cast 'Fire Shield II'"), +(2108,0,2,0,0,0,100,0,4000,6000,8000,12000,0,11,15039,0,0,0,0,0,2,0,0,0,0,0,0,0,"Garneg Charskull - In Combat - Cast 'Flame Shock'"), +(2108,0,3,0,0,0,100,0,9000,12000,18000,21000,0,11,6725,0,0,0,0,0,2,0,0,0,0,0,0,0,"Garneg Charskull - In Combat - Cast 'Flame Spike'"); + +-- Dragonmaw Bonewarder +DELETE FROM `smart_scripts` WHERE `entryorguid`=1057 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 +(1057,0,0,0,4,0,15,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - On Aggro - Say Line 0"), +(1057,0,1,0,1,0,100,1,1000,3000,0,0,0,11,8853,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - Out of Combat - Cast 'Summon Skeleton'"), +(1057,0,2,0,0,0,100,0,3000,6000,14000,19000,0,11,707,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - In Combat - Cast 'Immolate'"), +(1057,0,3,0,0,0,100,0,8000,14000,8000,14000,0,11,6205,32,0,0,0,0,5,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - In Combat - Cast 'Curse of Weakness'"), +(1057,0,4,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - Between 0-15% Health - Flee For Assist (No Repeat)"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1057; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1057,0,0,"Your bones will break under my boot, $r!",12,1,100,0,0,0,1938,0,"Dragonmaw Bonewarder"), +(1057,0,1,"Long live the Dragonmaw! Die you worthless $r!",12,1,100,0,0,0,1939,0,"Dragonmaw Bonewarder"), +(1057,0,2,"For the Dragonmaw!",12,1,100,0,0,0,1937,0,"Dragonmaw Bonewarder"); + +-- Dragonmaw Shadowwarder +DELETE FROM `smart_scripts` WHERE `entryorguid`=1038 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`, `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 +(1038,0,3,0,4,0,15,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Shadowwarder - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1038; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1038,0,0,"Your bones will break under my boot, $r!",12,1,100,0,0,0,1938,0,"Dragonmaw Shadowwarder"), +(1038,0,1,"Long live the Dragonmaw! Die you worthless $r!",12,1,100,0,0,0,1939,0,"Dragonmaw Shadowwarder"), +(1038,0,2,"For the Dragonmaw!",12,1,100,0,0,0,1937,0,"Dragonmaw Shadowwarder"); + +-- Dragonmaw Centurion +DELETE FROM `smart_scripts` WHERE `entryorguid`=1036 AND `source_type`=0 AND `id` IN (1,2,3,4); +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 +(1036,0,1,0,4,0,100,0,0,0,0,0,0,11,643,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Centurion - On Aggro - Cast 'Devotion Aura'"), +(1036,0,2,0,25,0,100,0,0,0,0,0,0,11,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Centurion - On Reset - Cast 'Defensive Stance'"), +(1036,0,3,0,0,0,100,0,5000,7000,11000,13000,0,11,1672,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonmaw Centurion - In Combat - Cast 'Shield Bash'"), +(1036,0,4,0,0,0,100,0,5000,13000,21000,29000,0,11,3419,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Centurion - In Combat - Cast 'Improved Blocking'"); + +-- Dragonmaw Battlemaster +DELETE FROM `smart_scripts` WHERE `entryorguid`=1037 AND `source_type`=0 AND `id` IN (0,2,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`, `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 +(1037,0,0,0,4,0,100,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Battlemaster - On Aggro - Say Line 0"), +(1037,0,2,3,0,0,100,0,9000,14000,19000,28000,0,11,3019,2,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Battlemaster - In Combat - Cast 'Frenzy'"), +(1037,0,3,0,61,0,100,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Battlemaster - In Combat - Say Line 1"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1037; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1037,0,0,"Your bones will break under my boot, $r!",12,1,100,0,0,0,1938,0,"Dragonmaw Shadowwarder"), +(1037,0,1,"Long live the Dragonmaw! Die you worthless $r!",12,1,100,0,0,0,1939,0,"Dragonmaw Shadowwarder"), +(1037,0,2,"For the Dragonmaw!",12,1,100,0,0,0,1937,0,"Dragonmaw Shadowwarder"), +(1037,1,0,"%s goes into a frenzy!",16,0,100,0,0,0,2384,0,"Dragonmaw Shadowwarder"); + +-- Chieftain Nek'rosh +UPDATE `smart_scripts` SET `action_param2`=2 WHERE `entryorguid`=2091 AND `source_type`=0 AND `id`=1; + +-- Mottled Scytheclaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=1022 AND `source_type`=0 AND `id`=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 +(1022,0,0,0,0,0,100,0,4000,12000,15000,23000,0,11,3147,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mottled Scytheclaw - In Combat - Cast 'Rend Flesh'"); + +-- Mottled Razormaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=1023 AND `source_type`=0 AND `id`=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 +(1023,0,0,0,0,0,100,0,5000,12000,15000,19000,0,11,3427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mottled Razormaw - In Combat - Cast 'Infected Wound'"); + +-- Sarltooth +DELETE FROM `smart_scripts` WHERE `entryorguid`=1353 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 +(1353,0,0,0,25,0,100,0,0,0,0,0,0,11,8876,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sarltooth - On Reset - Cast 'Thrash'"), +(1353,0,1,0,0,0,100,0,5000,9000,12000,16000,0,11,3427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sarltooth - In Combat - Cast 'Infected Wound'"); + +-- Bluegill Forager +DELETE FROM `smart_scripts` WHERE `entryorguid`=1026 AND `source_type`=0 AND `id` IN (0,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`,`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 +(1026,0,0,0,25,0,100,0,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bluegill Forager - On Reset - Cast 'Poison Proc'"), +(1026,0,1,0,0,0,100,0,5000,11000,13000,19000,0,11,14873,0,0,0,0,0,2,0,0,0,0,0,0,0,"Bluegill Forager - In Combat - Cast 'Sinister Strike'"); + +-- Bluegill Warrior +DELETE FROM `smart_scripts` WHERE `entryorguid`=1027 AND `source_type`=0 AND `id`=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 +(1027,0,0,0,4,0,100,0,0,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bluegill Warrior - On Aggro - Cast 'Battle Stance'"); + +-- Bluegill Muckdweller +DELETE FROM `smart_scripts` WHERE `entryorguid`=1028 AND `source_type`=0 AND `id`=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 +(1028,0,0,0,0,0,100,0,5000,7000,11000,14000,0,11,1777,2,0,0,0,0,2,0,0,0,0,0,0,0,"Bluegill Muckdweller - In Combat - Cast 'Gouge'"); + +-- Bluegill Oracle +DELETE FROM `smart_scripts` WHERE `entryorguid`=1029 AND `source_type`=0 AND `id`=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`, `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 +(1029,0,1,0,14,0,100,0,350,40,12000,24000,0,11,939,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bluegill Oracle - Friendly At 350 Health - Cast 'Healing Wave'"); + +-- Giant Wetlands Crocolisk +DELETE FROM `smart_scripts` WHERE `entryorguid`=2089 AND `source_type`=0 AND `id`=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 +(2089,0,0,0,0,0,100,0,6000,9000,12000,18000,0,11,3604,2,0,0,0,0,2,0,0,0,0,0,0,0,"Giant Wetlands Crocolisk - In Combat - Cast 'Tendon Rip'"); + +-- Cursed Sailor +DELETE FROM `smart_scripts` WHERE `entryorguid`=1157 AND `source_type`=0 AND `id`=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`,`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 +(1157,0,1,0,0,0,100,0,4000,15000,25000,32000,0,11,10651,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cursed Sailor - In Combat - Cast 'Curse of the Eye'"); + +-- Cursed Marine +UPDATE `smart_scripts` SET `event_param1`=4000, `event_param2`=15000, `event_param3`=25000, `event_param4`=32000, `action_param2`=0 WHERE `entryorguid`=1158 AND `source_type`=0 AND `id`=1; + +-- First Mate Snellig +UPDATE `smart_scripts` SET `event_param1`=6000, `event_param2`=9000, `event_param3`=11000, `event_param4`=14000 WHERE `entryorguid`=1159 AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `event_param1`=5000, `event_param2`=11000, `event_param3`=9000, `event_param4`=15000 WHERE `entryorguid`=1159 AND `source_type`=0 AND `id`=2; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1159 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`, `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 +(1159,0,3,0,4,0,20,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"First Mate Snellig - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1159; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1159,0,0,"Time to join us, $c.",12,0,100,0,0,0,1942,0,"First Mate Snellig"), +(1159,0,1,"Brains...",12,0,100,0,0,0,1940,0,"First Mate Snellig"), +(1159,0,2,"A living $r... soon to be a dead like me.",12,0,100,0,0,0,1941,0,"First Mate Snellig"); + +-- Mirelow +UPDATE `smart_scripts` SET `event_param1`=6000, `event_param2`=9000, `event_param3`=11000, `event_param4`=17000 WHERE `entryorguid`=14424 AND `source_type`=0 AND `id`=0; + +-- Red Wyrmkin +DELETE FROM `smart_scripts` WHERE `entryorguid`=1046 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 +(1046,0,0,0,0,0,100,0,1000,2000,4000,6000,0,11,15242,64,0,0,0,0,2,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Fireball'"), +(1046,0,1,0,0,0,100,0,8000,16000,21000,26000,0,11,18399,0,0,0,0,0,5,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Flamestrike'"), +(1046,0,2,0,0,0,100,0,4000,7000,16000,24000,0,11,14145,0,0,0,0,0,5,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Fire Blast'"), +(1046,0,3,0,0,0,100,0,7000,12000,8000,20000,0,11,15230,0,0,0,0,0,5,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Arcane Bolt'"); + +-- Fix bytes2 for some range-attacking creatures +UPDATE `creature_addon` SET `bytes2`=2 WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` IN (2103,6523)); +UPDATE `creature_template_addon` SET `bytes2`=2 WHERE `entry` IN (2103,6523); + +-- Fix spawn position for one creature +UPDATE `creature` SET `position_z`=40.336 WHERE `guid`=10886; +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_07_world_from_335_was_2018_07_29_00_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_07_world_from_335_was_2018_07_29_00_world_335.sql new file mode 100644 index 0000000000..fbde511e29 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_07_world_from_335_was_2018_07_29_00_world_335.sql @@ -0,0 +1,9 @@ +/* +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN(7053) AND `SourceGroup`=4; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 4, 7053, 0, 0, 1, 0, 1784, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed'), +(22, 4, 7053, 0, 1, 1, 0, 1785, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed'), +(22, 4, 7053, 0, 2, 1, 0, 1786, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed'), +(22, 4, 7053, 0, 3, 1, 0, 1787, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed'); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_08_world_from_335_was_2018_07_29_01_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_08_world_from_335_was_2018_07_29_01_world_335.sql new file mode 100644 index 0000000000..a751a6202b --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_07_29_08_world_from_335_was_2018_07_29_01_world_335.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `disables` WHERE `sourceType`=1 AND `entry`=526; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(1,526,0,"","","Deprecated quest"); diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_00_world_from_335_was_2018_08_02_00_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_00_world_from_335_was_2018_08_02_00_world_335.sql new file mode 100644 index 0000000000..6338912ae4 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_00_world_from_335_was_2018_08_02_00_world_335.sql @@ -0,0 +1,2 @@ +-- Captain Stoutfist +-- UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=2104; diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_01_world_from_335_was_2018_08_02_01_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_01_world_from_335_was_2018_08_02_01_world_335.sql new file mode 100644 index 0000000000..e7f443ad36 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_01_world_from_335_was_2018_08_02_01_world_335.sql @@ -0,0 +1,22 @@ +/* +-- Theldurin the Lost +DELETE FROM `creature_text` WHERE `CreatureID`=2785; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(2785,0,0,"%s begins searching through his pack...",16,0,100,0,0,0,870,0,"Theldurin the Lost"), +(2785,1,0,"Ah! There is my ratchet! Now let's re-attach these scroll fragments.",12,0,100,0,0,0,871,0,"Theldurin the Lost"), +(2785,2,0,"There we are, $n. The Scroll is fixed! Hooray!",12,0,100,4,0,0,872,0,"Theldurin the Lost"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2785; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2785 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=278500 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 +(2785,0,0,0,20,0,100,0,692,0,0,0,80,278500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Quest 'The Lost Fragments' Finished - Run Script"), +(278500,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,"Theldurin the Lost - On Script - Remove Npc Flag Questgiver+Gossip"), +(278500,9,1,0,0,0,100,0,0,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Set Emote State 69"), +(278500,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Say Line 0"), +(278500,9,3,0,0,0,100,0,6000,6000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Set Emote State 0"), +(278500,9,4,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Say Line 1"), +(278500,9,5,0,0,0,100,0,4000,4000,0,0,11,5017,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Cast 'Divining Trance'"), +(278500,9,6,0,0,0,100,0,7000,7000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Say Line 2"), +(278500,9,7,0,0,0,100,0,3000,3000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Add Npc Flag Questgiver+Gossip"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_02_world_from_335_was_2018_08_02_02_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_02_world_from_335_was_2018_08_02_02_world_335.sql new file mode 100644 index 0000000000..02fe174106 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_02_world_from_335_was_2018_08_02_02_world_335.sql @@ -0,0 +1,12 @@ +/* +-- Brumn Winterhoof +UPDATE `creature_template` SET `gossip_menu_id`=3069 WHERE `entry`=7869; + +DELETE FROM `gossip_menu` WHERE `MenuID`=3069; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(3069,3803,0); + +DELETE FROM `gossip_menu_option` WHERE `MenuID`=3069; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(3069,0,3,"I would like to train.",5597,5,16,0,0,0,0,"",0,0); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_03_world_from_335_was_2018_08_02_03_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_03_world_from_335_was_2018_08_02_03_world_335.sql new file mode 100644 index 0000000000..7a23d85efa --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_03_world_from_335_was_2018_08_02_03_world_335.sql @@ -0,0 +1,161 @@ +/* +-- Quest "The Greenwarden" +DELETE FROM `quest_details` WHERE `ID`=463; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(463,1,0,0,0,0,0,0,0,0); + +-- Quest "Daily Delivery" +DELETE FROM `quest_details` WHERE `ID`=469; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(469,3,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=469; + +-- Quest "In Search of The Excavation Team" +DELETE FROM `quest_details` WHERE `ID`=305; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(305,5,1,5,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=305; + +-- Quest "In Search of The Excavation Team" +DELETE FROM `quest_details` WHERE `ID`=306; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(306,5,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=306; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=6, `Emote3`=1 WHERE `ID`=306; + +-- Quest "Uncovering the Past" +DELETE FROM `quest_details` WHERE `ID`=299; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(299,1,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=299; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=299; + +-- Quest "Ormer's Revenge" +DELETE FROM `quest_details` WHERE `ID`=294; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(294,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=294; + +-- Quest "Ormer's Revenge (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=295; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(295,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=295; + +-- Quest "Ormer's Revenge (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=296; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(296,1,5,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=296; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=296; + +-- Quest "Digging Through the Ooze" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=470; + +-- Quest "The Third Fleet" +DELETE FROM `quest_details` WHERE `ID`=288; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(288,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=288; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=288; + +-- Quest "The Cursed Crew" +DELETE FROM `quest_details` WHERE `ID`=289; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(289,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=20, `EmoteOnComplete`=20 WHERE `ID`=296; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=289; + +-- Quest "Lifting the Curse" +DELETE FROM `quest_details` WHERE `ID`=290; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(290,1,1,0,0,0,0,0,0,0); + +-- Quest "The Eye of Paleth" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=292; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=292; + +-- Quest "Cleansing the Eye" +DELETE FROM `quest_details` WHERE `ID`=293; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(293,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=293; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=293; + +-- Quest "Young Crocolisk Skins" +DELETE FROM `quest_details` WHERE `ID`=484; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(484,2,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=484; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=484; + +-- Quest "Apprentice's Duties" +DELETE FROM `quest_details` WHERE `ID`=471; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(471,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=18, `EmoteOnComplete`=18 WHERE `ID`=471; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=11 WHERE `ID`=471; + +-- Quest "Apprentice's Duties" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=279; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=279; + +-- Quest "Return the Statuette" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=286; + +-- Quest "Report to Captain Stoutfist" +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=473; + +-- Quest "War Banners" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=464; + +-- Quest "Defeat Nek'rosh" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=474; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=474; + +-- Quest "Fall of Dun Modr" +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=472; + +-- Quest "A Grim Task" +DELETE FROM `quest_details` WHERE `ID`=304; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(304,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=304; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=304; + +-- Quest "The Dark Iron War" +DELETE FROM `quest_details` WHERE `ID`=303; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(303,1,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=303; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=303; + +-- Quest "The Fury Runs Deep" +DELETE FROM `quest_details` WHERE `ID`=378; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(378,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=378; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=378; + +-- Quest "The Thandol Span" +DELETE FROM `quest_details` WHERE `ID`=631; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(631,5,1,6,0,0,0,0,0,0); + +-- Quest "The Thandol Span (Part 2)" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=632; +UPDATE `quest_offer_reward` SET `Emote1`=18 WHERE `ID`=632; + +-- Quest "The Thandol Span (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=633; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(633,5,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=633; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=633; + +-- Quest "Plea To The Alliance" +DELETE FROM `quest_details` WHERE `ID`=634; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(634,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=634; +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_04_world_from_335_was_2018_08_02_04_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_04_world_from_335_was_2018_08_02_04_world_335.sql new file mode 100644 index 0000000000..d4de25fd2b --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_04_world_from_335_was_2018_08_02_04_world_335.sql @@ -0,0 +1,17 @@ +/* +-- Inspector Tarem +DELETE FROM `gossip_menu` WHERE `MenuID`=8761 AND `TextID`=11127; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(8761,11127,0); + +DELETE FROM `npc_text` WHERE `ID`=11127; +INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`) VALUES +(11127,"What are you doing here? Do you wish to defile the ashes of this slain family further? Leave this place. You are not welcome.","",22040,0,1); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=8761; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,8761,11127,0,0,6,0,67,0,0,0,0,0,"","Show text 11127 if Player is Horde"), +(14,8761,11126,0,0,6,0,469,0,0,0,0,0,"","Show text 11126 if Player is Alliance"); + +UPDATE `smart_scripts` SET `target_type`=1, `target_param1`=0, `target_param2`=0 WHERE `entryorguid`=23567 AND `source_type`=0 AND `id`=2; +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_05_world_from_335_was_2018_08_02_05_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_05_world_from_335_was_2018_08_02_05_world_335.sql new file mode 100644 index 0000000000..83cd262fdb --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_05_world_from_335_was_2018_08_02_05_world_335.sql @@ -0,0 +1,18 @@ +/* +-- Captain Nials +UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=2700; + +UPDATE `smart_scripts` SET `action_param1`=2 WHERE `entryorguid`=270000 AND `source_type`=9 AND `id` IN (0,9); + +-- Skuerto +UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=2789; + +-- Apprentice Kryten +-- DELETE FROM `gossip_menu` WHERE `MenuID`=2601 AND `TextID`=3294; + +-- Navigator Mehran +UPDATE `npc_text` SET `em0_0`=0, `em0_1`=274 WHERE `ID`=12209; + +-- Restless Apparition +UPDATE `creature_template` SET `npcflag`=0 WHERE `entry`=23861; +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_06_world_from_335_was_2018_08_06_00_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_06_world_from_335_was_2018_08_06_00_world_335.sql new file mode 100644 index 0000000000..897827004c --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_07_06_world_from_335_was_2018_08_06_00_world_335.sql @@ -0,0 +1,18 @@ +/* +DELETE FROM `smart_scripts` WHERE `entryorguid`=7665 AND `source_type`=0 AND `id`=2; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7666 AND `source_type`=0 AND `id`=6; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7667 AND `source_type`=0 AND `id`=5; + +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 +(7665, 0, 2, 0, 8, 0, 100, 0, 12938, 0, 0, 0, 0, 11, 12941, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grol the Destroyer - On Spellhit Fel Curse - Cast Fel Curse Effect'), +(7666, 0, 6, 0, 8, 0, 100, 0, 12938, 0, 0, 0, 0, 11, 12942, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Archmage Allistarj - On Spellhit Fel Curse - Cast Fel Curse Effect'), +(7667, 0, 5, 0, 8, 0, 100, 0, 12938, 0, 0, 0, 0, 11, 12943, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lady Sevine - On Spellhit Fel Curse - Cast Fel Curse Effect'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=12938; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 12938, 0, 0, 31, 0, 3, 7665, 0, 0, 0, 0, '', 'Fel Curse Targets Grol the Destroyer'), +(13, 1, 12938, 0, 1, 31, 0, 3, 7666, 0, 0, 0, 0, '', 'Fel Curse Targets Archmage Allistarj'), +(13, 1, 12938, 0, 2, 31, 0, 3, 7667, 0, 0, 0, 0, '', 'Fel Curse Targets Lady Sevine'), +(13, 1, 12938, 0, 3, 31, 0, 3, 7664, 0, 0, 0, 0, '', 'Fel Curse Targets Razelikh the Defiler'), +(13, 1, 12938, 0, 4, 31, 0, 3, 7668, 0, 0, 0, 0, '', 'Fel Curse Targets Servent of Razelikh'); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_00_world_from_335_was_2018_08_11_00_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_00_world_from_335_was_2018_08_11_00_world.sql new file mode 100644 index 0000000000..20ebe13a5e --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_00_world_from_335_was_2018_08_11_00_world.sql @@ -0,0 +1,4 @@ +-- +UPDATE `smart_scripts` SET `action_type`=134 WHERE `action_type` IN (85) AND `target_type` =1; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid` IN (27202) AND `source_type`=0 AND `id` IN (4,10); +UPDATE `smart_scripts` SET `action_param2`=2 WHERE `entryorguid` IN (27202) AND `source_type`=0 AND `id` IN (7); diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_01_world_from_335_was_2018_08_11_01_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_01_world_from_335_was_2018_08_11_01_world.sql new file mode 100644 index 0000000000..6271ce59a9 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_01_world_from_335_was_2018_08_11_01_world.sql @@ -0,0 +1,5 @@ +-- +UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (25416, 25418) AND `source_type`=0 AND `id` IN (4); +UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (20749) AND `source_type`=0 AND `id` IN (1); +UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (27229) AND `source_type`=0 AND `id` IN (0); +UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (18955) AND `source_type`=0 AND `id` IN (1); diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_02_world_from_335_was_2018_08_11_02_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_02_world_from_335_was_2018_08_11_02_world.sql new file mode 100644 index 0000000000..300cdb862b --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_02_world_from_335_was_2018_08_11_02_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `target_type`=23, target_param1=0 WHERE `entryorguid` IN (27899, 32331, 28665, 27959) AND `source_type`=0 AND `action_type` IN (1); diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_03_world_from_335_was_2018_08_11_03_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_03_world_from_335_was_2018_08_11_03_world.sql new file mode 100644 index 0000000000..b088f35657 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_03_world_from_335_was_2018_08_11_03_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `target_type`=24 WHERE `entryorguid` IN (25416,25418) AND `source_type`=0 AND `id` IN (4); diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_04_world_from_335_was_2018_08_11_04_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_04_world_from_335_was_2018_08_11_04_world_335.sql new file mode 100644 index 0000000000..81b44e7013 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_04_world_from_335_was_2018_08_11_04_world_335.sql @@ -0,0 +1,7 @@ +/* +-- Apprentice Kryten +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=2601; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,2601,3294,0,0,8,0,690,0,0,0,0,0,"","Show gossip text 3294 if quest 'Malin's Request' is rewarded"), +(14,2601,3294,0,0,14,0,691,0,0,0,0,0,"","Show gossip text 3294 if quest 'Worth Its Weight in Gold' is not taken"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_05_world_from_335_was_2018_08_11_05_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_05_world_from_335_was_2018_08_11_05_world_335.sql new file mode 100644 index 0000000000..54f65e38ff --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_05_world_from_335_was_2018_08_11_05_world_335.sql @@ -0,0 +1,12 @@ +/* +-- +DELETE FROM `quest_template_addon` WHERE `ID`=1268; +INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES +(1268,0,0,0,0,1276,-1323,0,0,0,0,0,0,0,0,0,0); -- Quest "Suspicious Hoofprints" + +UPDATE `quest_template_addon` SET `ExclusiveGroup`=-1323, `NextQuestID`=1276 WHERE `ID` IN (1323,1273); -- Quests "The Black Shield (Part 4)" / "Questioning Reethe" +UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=1276; -- Quest "The Black Shield (Part 5)" +UPDATE `quest_template_addon` SET `PrevQuestID`=1276 WHERE `ID`=11204; -- Quest "Return to Krog" +UPDATE `quest_template_addon` SET `ExclusiveGroup`=-11201, `NextQuestID`=11203 WHERE `ID` IN (11201,11200); -- Quests "The Grimtotem Plot" / "More than Coincidence" +UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=11203; -- Quest "Seek Out Tabetha" +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_06_world_from_335_was_2018_08_11_06_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_06_world_from_335_was_2018_08_11_06_world_335.sql new file mode 100644 index 0000000000..87c4e887c9 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_06_world_from_335_was_2018_08_11_06_world_335.sql @@ -0,0 +1,19 @@ +/* +-- Smiling Jim +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4895; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4895 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=489500 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 +(4895,0,0,0,1,0,100,0,45000,60000,150000,180000,80,489500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - Out of Combat - Run Script"), +(489500,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - On Script - Say Line 0"), +(489500,9,1,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - On Script - Say Line 1"), +(489500,9,2,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - On Script - Say Line 2"), +(489500,9,3,0,0,0,100,0,5000,5000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - On Script - Say Line 3"); + +DELETE FROM `creature_text` WHERE `CreatureID`=4895; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(4895,0,0,"He'll bring you mead, he'll bring you beer...",12,7,100,0,0,0,1632,0,"Smiling Jim"), +(4895,1,0,"A grinning face from ear to ear...",12,7,100,0,0,0,1633,0,"Smiling Jim"), +(4895,2,0,"He's served us all from year to year...",12,7,100,0,0,0,1634,0,"Smiling Jim"), +(4895,3,0,"We call him Smiling Jim...",12,7,100,11,0,0,1635,0,"Smiling Jim"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_07_world_from_335_was_2018_08_11_07_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_07_world_from_335_was_2018_08_11_07_world_335.sql new file mode 100644 index 0000000000..670bdd43ad --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_07_world_from_335_was_2018_08_11_07_world_335.sql @@ -0,0 +1,37 @@ +/* +-- Calia Hastings +UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=23566; -- She didn't have a gossip text in WotLK. Current text was added in Cata when she became a rogue trainer. + +DELETE FROM `creature_text` WHERE `CreatureID`=23566; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23566,0,0,"It would be a shame to let these leaflets go to waste, wouldn't it?",12,7,100,0,0,0,22105,0,"Calia Hastings"), +(23566,1,0,"With just a little creative editing, these are much more useful...",12,7,100,0,0,0,22107,0,"Calia Hastings"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23566; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23566 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2356600,2356601,2356602) 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 +(23566,0,0,0,20,0,100,0,11128,0,0,0,80,2356600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Quest 'Propaganda War' Finished - Run Script"), +(23566,0,1,0,40,0,100,0,3,23566,0,0,80,2356601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Waypoint 3 Reached - Run Script"), +(23566,0,2,0,40,0,100,0,7,23566,0,0,80,2356602,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Waypoint 7 Reached - Run Script"), +(2356600,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,"Calia Hastings - On Script - Remove Npc Flag Questgiver"), +(2356600,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,"Calia Hastings - On Script - Say Line 0"), +(2356600,9,2,0,0,0,100,0,5000,5000,0,0,53,0,23566,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Start Waypoint"), +(2356601,9,0,0,0,0,100,0,0,0,0,0,54,8000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Pause Waypoint"), +(2356601,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,1.27885,"Calia Hastings - On Script - Set Orientation"), +(2356601,9,2,0,0,0,100,0,1000,1000,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Set Emote State 69"), +(2356601,9,3,0,0,0,100,0,6000,6000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Set Emote State 0"), +(2356602,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.40855,"Calia Hastings - On Script - Set Orientation"), +(2356602,9,1,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Say Line 1"), +(2356602,9,2,0,0,0,100,0,3000,3000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Add Npc Flag Questgiver"); + +DELETE FROM `waypoints` WHERE `entry`=23566; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(23566,1,-3818.89,-4564.21,8.92453,""), +(23566,2,-3817,-4566.21,8.84672,""), +(23566,3,-3816.71,-4564.26,8.97426,""), +(23566,4,-3817,-4566.21,8.84672,""), +(23566,5,-3818.89,-4564.21,8.92453,""), +(23566,6,-3817.87,-4561.44,9.11807,""), +(23566,7,-3819.74,-4562.35,9.14216,""); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_08_world_from_335_was_2018_08_11_08_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_08_world_from_335_was_2018_08_11_08_world_335.sql new file mode 100644 index 0000000000..bddfeb6c6d --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_08_world_from_335_was_2018_08_11_08_world_335.sql @@ -0,0 +1,58 @@ +/* +-- World Invisible Trigger +SET @GUID1 := 3828; +SET @GUID2 := 37624; +SET @GUID3 := 38824; +DELETE FROM `creature` WHERE `guid` IN (@GUID1,@GUID2,@GUID3); +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(@GUID1,12999,1,0,0,1,1,0,0,-3759.97,-4557.44,9.0761,5.34286,300,0,0,7212,0,0,0,0,0,"",0), +(@GUID2,12999,1,0,0,1,1,0,0,-3758.24,-4556.73,11.3539,2.10228,300,0,0,7212,0,0,0,0,0,"",0), +(@GUID3,12999,1,0,0,1,1,0,0,-3758.42,-4551.63,10.8395,2.1337,300,0,0,7212,0,0,0,0,0,"",0); + +-- Guard Lasiter +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=30458; +UPDATE `creature_addon` SET `path_id`=0, `bytes2`=2 WHERE `guid`=30458; + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4973; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4973 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (497300,497301,497302,497303) 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 +(4973,0,0,0,25,0,100,0,0,0,0,0,0,53,0,4973,1,0,0,2,1,0,0,0,0,0,0,0,"Guard Lasiter - On Reset - Start Waypoint"), +(4973,0,1,0,40,0,100,0,1,4973,0,0,0,80,497300,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 1 Reached - Run Script"), +(4973,0,2,0,40,0,100,0,2,4973,0,0,0,80,497301,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 2 Reached - Run Script"), +(4973,0,3,0,40,0,100,0,3,4973,0,0,0,80,497302,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 3 Reached - Run Script"), +(4973,0,4,0,40,0,100,0,4,4973,0,0,0,80,497303,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 4 Reached - Run Script"), +(4973,0,5,0,0,0,100,0,0,0,2000,4000,0,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Guard Lasiter - In Combat - Cast Shoot"), +(4973,0,6,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Guard Lasiter - Between 0-15% Health - Flee For Assist (No Repeat)"), +(497300,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"), +(497300,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,5.36274,"Guard Lasiter - On Script - Set Orientation"), +(497300,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,@GUID1,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"), +(497300,9,3,0,0,0,100,0,6000,6000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Say Line 0"), +(497301,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"), +(497301,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,5.36274,"Guard Lasiter - On Script - Set Orientation"), +(497301,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,@GUID2,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"), +(497301,9,3,0,0,0,100,0,6000,6000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Say Line 1"), +(497302,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"), +(497302,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,5.36274,"Guard Lasiter - On Script - Set Orientation"), +(497302,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,@GUID3,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"), +(497302,9,3,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,"Guard Lasiter - On Script - Say Line 2"), +(497303,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"), +(497303,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,5.36274,"Guard Lasiter - On Script - Set Orientation"), +(497303,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,30524,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"), +(497303,9,3,0,0,0,100,0,6000,6000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Say Line 3"); + +DELETE FROM `creature_text` WHERE `CreatureID`=4973; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(4973,0,0,"Oops! That was a bit off. I didn't even hit the target!",12,7,100,0,0,0,1792,0,"Guard Lasiter"), +(4973,1,0,"That was a nice shot... but not perfect. Maybe a bit more to the left.",12,7,100,0,0,0,1789,0,"Guard Lasiter"), +(4973,2,0,"Barely hit the target that time. Hmmm,... maybe I need to adjust back to the right.",12,7,100,0,0,0,1790,0,"Guard Lasiter"), +(4973,3,0,"Whoa! Look at that bullseye!",12,7,100,0,0,0,1791,0,"Guard Lasiter"); + +DELETE FROM `waypoint_data` WHERE `id`=304580; +DELETE FROM `waypoints` WHERE `entry`=4973; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(4973,1,-3775.88,-4535.66,11.7979,""), +(4973,2,-3772.62,-4533.36,11.5873,""), +(4973,3,-3770.08,-4531.74,11.5426,""), +(4973,4,-3772.62,-4533.36,11.5873,""); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_09_world_from_335_was_2018_08_11_09_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_09_world_from_335_was_2018_08_11_09_world_335.sql new file mode 100644 index 0000000000..0196f760d0 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_09_world_from_335_was_2018_08_11_09_world_335.sql @@ -0,0 +1,28 @@ +/* +-- Evidence Marker --> Add missing spawns +SET @GUID1 := 38851; +SET @GUID2 := 42847; +SET @GUID3 := 42850; +DELETE FROM `creature` WHERE `guid` IN (@GUID1,@GUID2,@GUID3); +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(@GUID1,23583,1,0,0,1,1,0,0,-3700.58,-2534.09,68.7248,3.05433,300,0,0,41,0,0,0,0,0,"",0), +(@GUID2,23583,1,0,0,1,1,0,0,-3721.85,-2541.17,69.7589,3.05433,300,0,0,41,0,0,0,0,0,"",0), +(@GUID3,23583,1,0,0,1,1,0,0,-3734.45,-2530.79,73.2862,3.30957,300,0,0,41,0,0,0,0,0,"",0); + +DELETE FROM `creature_template_movement` WHERE `CreatureId`=23567; +INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`) VALUES +(23567,1,1,2,0); + +-- Fix "Reflective Dust" +UPDATE `creature_template_addon` SET `auras`="42171 42175" WHERE `entry`=23583; + +-- Fix rotation for some objects +UPDATE `gameobject` SET `rotation0`=0.556657, `rotation1`=-0.434788, `rotation2`=0.43101, `rotation3`=0.561536 WHERE `guid`=6376; -- Theramore Guard Badge +UPDATE `gameobject` SET `rotation0`=-0.105384, `rotation1`=0.677422, `rotation2`=0.042204, `rotation3`=0.726783 WHERE `guid`=6821; -- Black Shield + +-- Add condition for Inspector Tarem's gossip option +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8761; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,8761,0,0,0,8,0,11123,0,0,0,0,0,"","Show gossip option if quest 'Inspecting the Ruins' is rewarded"), +(15,8761,0,0,1,8,0,11124,0,0,0,0,0,"","Show gossip option if quest 'Inspecting the Ruins' is rewarded"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_10_world_from_335_was_2018_08_11_10_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_10_world_from_335_was_2018_08_11_10_world_335.sql new file mode 100644 index 0000000000..b27792846f --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_10_world_from_335_was_2018_08_11_10_world_335.sql @@ -0,0 +1,7 @@ +/* +-- +UPDATE `gameobject` SET `rotation2`=0.944089, `rotation3`=-0.329691 WHERE `guid`=42874; + +DELETE FROM `gameobject` WHERE `guid`=42873; +DELETE FROM `gameobject_addon` WHERE `guid`=42873; +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_11_world_from_335_was_2018_08_11_11_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_11_world_from_335_was_2018_08_11_11_world_335.sql new file mode 100644 index 0000000000..e83d749f57 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_11_world_from_335_was_2018_08_11_11_world_335.sql @@ -0,0 +1,14 @@ +/* +-- Acolyte Dellis +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=5386; +DELETE FROM `smart_scripts` WHERE `entryorguid`=5386 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 +(5386,0,0,0,1,0,100,0,1000,15000,100000,150000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Acolyte Dellis - Out of Combat - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=5386; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(5386,0,0,"It wasn't my fault, Master Mazen!",12,7,100,0,0,0,1828,0,"Acolyte Dellis"), +(5386,0,1,"It was a simple mistake. A wrong turn I tell you!",12,7,100,0,0,0,1829,0,"Acolyte Dellis"), +(5386,0,2,"The swamp was horrible! I was so... so... scared!",12,7,100,0,0,0,1830,0,"Acolyte Dellis"), +(5386,0,3,"I'm lucky to be alive!",12,7,100,0,0,0,1831,0,"Acolyte Dellis"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_12_world_from_335_was_2018_08_11_12_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_12_world_from_335_was_2018_08_11_12_world_335.sql new file mode 100644 index 0000000000..720d200ae4 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_12_world_from_335_was_2018_08_11_12_world_335.sql @@ -0,0 +1,75 @@ +/* +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (4962,4971,4963); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(4962,0,0,"Oh, it's on now! Bet you thought I'd be alone too, huh?!",12,7,100,0,0,0,5827,0,"Tapoke \"Slim\" Jahn"), +(4962,1,0,"Okay, okay! No need to get all violent. I'll talk. I'll talk!",12,7,100,0,0,0,1743,0,"Tapoke \"Slim\" Jahn"), +(4962,2,0,"I have a few notes from the job back at my place. I'll get them and then meet you back in the inn.",12,7,100,0,0,0,1744,0,"Tapoke \"Slim\" Jahn"), +(4971,0,0,"Whoa! This is way more than what I bargained for, you're on your own, Slim!",12,7,100,0,0,0,5828,0,"Slim's Friend"), +(4963,0,0,"I'm glad the commotions died down some around here. The last thing this place needs is another brawl.",12,7,100,0,0,0,4169,0,"Mikhail"); + +-- Waypoint +DELETE FROM `script_waypoint` WHERE `entry`=4962; +DELETE FROM `waypoints` WHERE `entry`=4962; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(4962,1,-3804.44,-828.048,10.0931,""), +(4962,2,-3803.93,-835.772,10.0777,""), +(4962,3,-3792.63,-835.671,9.65566,""), +(4962,4,-3772.43,-835.346,10.869,""), +(4962,5,-3765.94,-840.129,10.8856,""), +(4962,6,-3738.63,-830.997,11.0574,""), +(4962,7,-3690.22,-862.262,9.96045,""); + +-- Mikhail +UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=4963; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4963 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=496300 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 +(4963,0,0,0,11,0,100,0,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Respawn - Set Npc Flag Questgiver"), +(4963,0,1,0,19,0,100,0,1249,0,0,0,0,81,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Set Npc Flag Gossip"), +(4963,0,2,0,19,0,100,0,1249,0,0,0,0,45,1,1,0,0,0,0,10,10873,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Set Data to Tapoke \"Slim\" Jahn"), +(4963,0,3,0,19,0,100,0,1249,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Store Target"), +(4963,0,4,0,19,0,100,0,1249,0,0,0,0,100,1,0,0,0,0,0,10,10873,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Send Target to Tapoke \"Slim\" Jahn"), +(4963,0,5,0,38,0,100,0,1,1,0,0,0,80,496300,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Data Set - Run Script"), +(496300,9,0,0,0,0,100,0,10000,10000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Script - Say Line 0"), +(496300,9,1,0,0,0,100,0,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Script - Set Npc Flag Questgiver"); + +-- Tapoke "Slim" Jahn +UPDATE `creature` SET `spawntimesecs`=10 WHERE `guid`=10873; +UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=4962; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4962 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=496200 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 +(4962,0,0,0,38,0,100,1,1,1,0,0,0,11,1785,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Data Set - Cast 'Stealth'"), +(4962,0,1,0,38,0,100,1,1,1,0,0,0,53,0,4962,0,0,0,2,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Data Set - Start Waypoint"), +(4962,0,2,0,38,0,100,1,1,1,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Data Set - Set Invincibility at 1 HP"), +(4962,0,3,0,40,0,100,0,3,4962,0,0,0,28,1785,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 3 Reached - Remove Aura 'Stealth'"), +(4962,0,4,0,40,0,100,0,3,4962,0,0,0,2,168,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 3 Reached - Set Faction 168"), +(4962,0,5,0,40,0,100,0,7,4962,0,0,0,6,1249,0,0,0,0,0,12,1,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 7 Reached - Fail Quest 'The Missing Diplomat (Part 11)'"), +(4962,0,6,0,40,0,100,0,7,4962,0,0,0,45,1,1,0,0,0,0,10,9432,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 7 Reached - Set Data to Mikhail"), +(4962,0,7,0,40,0,100,0,7,4962,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 7 Reached - Despawn"), +(4962,0,8,0,4,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Aggro - Say Line 0"), +(4962,0,9,0,4,0,100,0,0,0,0,0,0,11,16457,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Aggro - Cast 'Call Friends'"), +(4962,0,10,0,2,0,100,1,0,20,0,0,0,80,496200,2,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - Between 0-20% Health - Run Script"), +(496200,9,0,0,0,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,19,4971,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Set Data to Slim's Friend"), +(496200,9,1,0,0,0,100,0,0,0,0,0,0,2,123,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Set Faction 123"), +(496200,9,2,0,0,0,100,0,0,0,0,0,0,27,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Stop Combat"), +(496200,9,3,0,0,0,100,0,5000,5000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Say Line 1"), +(496200,9,4,0,0,0,100,0,5000,5000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Say Line 2"), +(496200,9,5,0,0,0,100,0,6000,6000,0,0,0,15,1249,0,0,0,0,0,12,1,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Complete Quest 'The Missing Diplomat (Part 11)'"), +(496200,9,6,0,0,0,100,0,1000,1000,0,0,0,45,1,1,0,0,0,0,10,9432,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Set Data to Mikhail"), +(496200,9,7,0,0,0,100,0,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Despawn"); + +-- Slim's Friend +DELETE FROM `smart_scripts` WHERE `entryorguid`=4971 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=497100 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 +(4971,0,0,0,25,0,100,0,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Reset - Cast 'Poison Proc'"), +(4971,0,1,0,25,0,100,0,0,0,0,0,0,11,8601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Reset - Cast 'Slowing Poison'"), +(4971,0,2,0,67,0,100,0,3000,6000,0,0,0,11,2589,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slim's Friend - On Behind Target - Cast Backstab"), +(4971,0,3,0,38,0,100,1,1,1,0,0,0,80,497100,2,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Data Set - Run Script"), +(497100,9,0,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,"Slim's Friend - On Script - Evade"), +(497100,9,1,0,0,0,100,0,0,0,0,0,0,2,123,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Script - Set Faction 123"), +(497100,9,2,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Script - Say Line 0"), +(497100,9,3,0,0,0,100,0,6000,6000,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Script - Despawn"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_13_world_from_335_was_2018_08_11_13_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_13_world_from_335_was_2018_08_11_13_world_335.sql new file mode 100644 index 0000000000..68d0b16687 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_13_world_from_335_was_2018_08_11_13_world_335.sql @@ -0,0 +1,5 @@ +/* +-- +UPDATE `quest_template_addon` SET `NextQuestID`=1250 WHERE `ID`=1249; +UPDATE `quest_template_addon` SET `PrevQuestID`=1250 WHERE `ID`=1264; +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_14_world_from_335_was_2018_08_11_14_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_14_world_from_335_was_2018_08_11_14_world_335.sql new file mode 100644 index 0000000000..681358e994 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_14_world_from_335_was_2018_08_11_14_world_335.sql @@ -0,0 +1,32 @@ +/* +-- Renn McGill +UPDATE `creature_template` SET `unit_flags`=33536 WHERE `entry`=23569; + +DELETE FROM `gossip_menu_option` WHERE `MenuID`=8837; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(8837,0,0,"I don't have the Repaired Diving Gear anymore. Do you have a spare?",22482,1,1,0,0,0,0,"",0,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8837; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,8837,0,0,0,9,0,11140,0,0,0,0,0,"","Show gossip option if quest 'Recover the Cargo!' is taken"), +(15,8837,0,0,0,2,0,33040,1,1,1,0,0,"","Show gossip option if player does not have item 'Repaired Diving Gear'"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23569; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23569 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2356900 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 +(23569,0,0,1,62,0,100,0,8837,0,0,0,85,42670,0,0,0,0,0,7,0,0,0,0,0,0,0,"Renn McGill - On Gossip Option 0 Selected - Invoker Cast 'Replace Repaired Diving Gear'"), +(23569,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Renn McGill - On Gossip Option 0 Selected - Close Gossip"), +(23569,0,2,0,20,0,100,0,11140,0,0,0,80,2356900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Quest 'Recover the Cargo!' Finished - Run Script"), +(2356900,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,"Renn McGill - On Script - Remove Npc Flag Questgiver+Gossip"), +(2356900,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,"Renn McGill - On Script - Say Line 0"), +(2356900,9,2,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Script - Say Line 1"), +(2356900,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,"Renn McGill - On Script - Say Line 2"), +(2356900,9,4,0,0,0,100,0,6000,6000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Script - Add Npc Flag Questgiver+Gossip"); + +DELETE FROM `creature_text` WHERE `CreatureID`=23569; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23569,0,0,"Hmm... old coins... ugly jewelry...",12,7,100,0,0,0,22160,0,"Renn McGill"), +(23569,1,0,"More ugly jewelry... letters home... I'm beginning to give up hope!",12,7,100,0,0,0,22161,0,"Renn McGill"), +(23569,2,0,"Hey... what's this? A pair of manacles and not just any. These are enchanted. This cargo, it wasn't a thing... it was a person!",12,7,100,0,0,0,22162,0,"Renn McGill"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_15_world_from_335_was_2018_08_11_15_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_15_world_from_335_was_2018_08_11_15_world_335.sql new file mode 100644 index 0000000000..b0f5481f3e --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_15_world_from_335_was_2018_08_11_15_world_335.sql @@ -0,0 +1,20 @@ +/* +-- Shipwreck Debris +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=186283; +DELETE FROM `smart_scripts` WHERE `entryorguid`=186283 AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (18628300,18628301) 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 +(186283,1,0,0,8,0,100,0,42287,0,0,0,0,41,0,120,0,0,0,0,1,0,0,0,0,0,0,0,"Shipwreck Debris - On Spellhit 'Salvage Wreckage' - Despawn"), +(186283,1,1,0,8,0,100,0,42287,0,0,0,0,41,0,120,0,0,0,0,20,186278,0,0,0,0,0,0,"Shipwreck Debris - On Spellhit 'Salvage Wreckage' - Despawn Closest Gameobject 'Burning Wreckage'"), +(186283,1,2,0,8,0,100,0,42287,0,0,0,0,87,18628300,18628301,0,0,0,0,1,0,0,0,0,0,0,0,"Shipwreck Debris - On Spellhit 'Salvage Wreckage' - Run Random Script"), +(18628300,9,0,0,0,0,100,0,0,0,0,0,0,85,42289,0,0,0,0,0,7,0,0,0,0,0,0,0,"Shipwreck Debris - On Script - Invoker Cast 'Summon Mirefin Burrower'"), +(18628301,9,0,0,0,0,100,0,0,0,0,0,0,85,42288,0,0,0,0,0,7,0,0,0,0,0,0,0,"Shipwreck Debris - On Script - Invoker Cast 'Summon Salvaged Lockbox'"); + +DELETE FROM `spell_scripts` WHERE `id`=42287; + +-- Mirefin Ambusher +UPDATE `creature_template` SET `unit_flags`=32768, `AIName`="SmartAI" WHERE `entry`=23701; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23701 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 +(23701,0,0,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Mirefin Ambusher - Between 0-15% Health - Flee For Assist (No Repeat)"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_16_world_from_335_was_2018_08_11_16_world_335.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_16_world_from_335_was_2018_08_11_16_world_335.sql new file mode 100644 index 0000000000..e4721ff35a --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_13_16_world_from_335_was_2018_08_11_16_world_335.sql @@ -0,0 +1,7 @@ +/* +-- Apprentice Kryten +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2788; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2788 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 +(2788,0,0,0,20,0,100,0,694,0,0,0,11,4319,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Kryten - On Quest 'Trelane's Defenses' Finished - Cast 'Enchant Azure Agate'"); +*/ diff --git a/sql/old/4.3.4/world/32_2018_07_15/2018_08_14_00_world_from_335_was_2018_08_14_00_world.sql b/sql/old/4.3.4/world/32_2018_07_15/2018_08_14_00_world_from_335_was_2018_08_14_00_world.sql new file mode 100644 index 0000000000..49a5dca5e0 --- /dev/null +++ b/sql/old/4.3.4/world/32_2018_07_15/2018_08_14_00_world_from_335_was_2018_08_14_00_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `target_param1`=191124 WHERE `entryorguid`=2902800 AND `source_type`=9 AND `id`=3; diff --git a/sql/updates/auth/4.3.4/2018_08_15_00_auth.sql b/sql/updates/auth/4.3.4/2018_08_15_00_auth.sql new file mode 100644 index 0000000000..82b1067c1d --- /dev/null +++ b/sql/updates/auth/4.3.4/2018_08_15_00_auth.sql @@ -0,0 +1,2 @@ +-- TDB 4.3.4-33 auth database +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/auth/4.3.4/2018_08_17_00_auth.sql b/sql/updates/auth/4.3.4/2018_08_17_00_auth.sql new file mode 100644 index 0000000000..1c610d3547 --- /dev/null +++ b/sql/updates/auth/4.3.4/2018_08_17_00_auth.sql @@ -0,0 +1,18 @@ +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'frFR'; +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'esES'; +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'esMX'; +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'ptBR'; +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'ptPT'; +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'ruRU'; +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'zhCN'; +DELETE FROM `battlenet_components` WHERE `Program`= 'WoW' AND `Platform`= 'zhTW'; +INSERT INTO `battlenet_components` (`Program`, `Platform`, `Build`) VALUES +('WoW', 'frFR', 15595), +('WoW', 'esES', 15595), +('WoW', 'esMX', 15595), +('WoW', 'ptPT', 15595), +('WoW', 'ptBR', 15595), +('WoW', 'ruRU', 15595), +('WoW', 'zhCN', 15595), +('WoW', 'zhTW', 15595); + diff --git a/sql/updates/characters/4.3.4/2018_08_15_00_characters.sql b/sql/updates/characters/4.3.4/2018_08_15_00_characters.sql new file mode 100644 index 0000000000..96e20bf778 --- /dev/null +++ b/sql/updates/characters/4.3.4/2018_08_15_00_characters.sql @@ -0,0 +1,2 @@ +-- TDB 4.3.4-33 characters database +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/world/4.3.4/2018_08_15_00_world.sql b/sql/updates/world/4.3.4/2018_08_15_00_world.sql new file mode 100644 index 0000000000..812d33ba07 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_15_00_world.sql @@ -0,0 +1,3 @@ +UPDATE `version` SET `db_version`='TDB 434.33', `cache_id`=33 LIMIT 1; + +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/world/4.3.4/2018_08_20_00_world_from_335_was_2018_08_15_00_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_00_world_from_335_was_2018_08_15_00_world_335.sql new file mode 100644 index 0000000000..687f582190 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_00_world_from_335_was_2018_08_15_00_world_335.sql @@ -0,0 +1,62 @@ +/* +-- +DELETE FROM `gameobject` WHERE `guid` IN (5111,5117,5122,5126,5131,5140,5144,5155); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(5111, 180867, 1, 7603.94, -2211.17, 471.606, 3.78647, 0, 0, 0.948466, -0.316878, 25, 100, 1), +(5117, 180867, 1, 7575.26, -2238.68, 469.858, 1.03679, 0, 0, 0.495486, 0.868616, 25, 100, 1), +(5122, 180867, 1, 7595.67, -2246.32, 466.965, 1.30382, 0, 0, 0.606707, 0.794925, 25, 100, 1), +(5126, 180867, 1, 7610.97, -2228.92, 468.71, 2.96651, 0, 0, 0.996171, 0.0874282, 25, 100, 1), +(5131, 180867, 1, 7570.31, -2220.8, 473.445, 0.357419, 0, 0, 0.17776, 0.984074, 25, 100, 1), +(5140, 180867, 1, 7585.47, -2205.31, 475.281, 4.91744, 0, 0, 0.631024, -0.775763, 25, 100, 1), +(5144, 180867, 530, -1804.2651, 5492.6840, -12.4278, 5.101903, 0, 0, 0.631024, -0.775763, 25, 100, 1), +(5155, 180867, 530, -1778.0809, 5439.7109, -12.4276, 1.531083, 0, 0, 0.631024, -0.775763, 25, 100, 1); + +-- Added target position to each teleport spell in Lunar Festival +DELETE FROM `spell_target_position` WHERE `id` IN (26454, 26452, 26450, 26453, 26456, 26455); +INSERT INTO `spell_target_position` (`ID`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES +(26454, 0, -8748.48, 1073.61, 90.4898, 5.03789, 0), -- To Stormwind +(26452, 0, -4663, -955.663, 500.377, 0.722862, 0), -- To Ironforge +(26450, 1, 10150.1, 2602, 1330.83, 4.80894, 0), -- To Darnassus +(26453, 1, 1982.9, -4255.62, 31.6692, 3.31984, 0), -- To Orgrimmar +(26456, 0, 1642.01, 239.002, 62.5918, 3.02316, 0), -- To Undercity +(26455, 1, -1031.45, -230.867, 160.14, 3.28358, 0); -- To Thunderbluff + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=26373 AND `spell_effect`=26448; +DELETE FROM `conditions` WHERE `SourceEntry`=26373 AND `SourceTypeOrReferenceId`=13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 2, 26373, 0, 0, 31, 0, 4, 0, 0, 0, 0, '', 'Lunar Invitation visual on player'); + +-- Lunar Festival spell focus for teleportaion +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=180867; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 180867 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 +(180867,1,0,0,8,0,100,0,26373,0,1000,1000,85,26448,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lunar Festival - On spell hit - Cast self teleportation Moonglade"), +(180867,1,1,0,8,0,100,0,26373,0,1000,1000,85,26454,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lunar Festival - On spell hit - Cast self teleportation Stormwind"), +(180867,1,2,0,8,0,100,0,26373,0,1000,1000,85,26452,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lunar Festival - On spell hit - Cast self teleportation Ironforge"), +(180867,1,3,0,8,0,100,0,26373,0,1000,1000,85,26450,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lunar Festival - On spell hit - Cast self teleportation Darnassus"), +(180867,1,4,0,8,0,100,0,26373,0,1000,1000,85,26453,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lunar Festival - On spell hit - Cast self teleportation Orgrimmar"), +(180867,1,5,0,8,0,100,0,26373,0,1000,1000,85,26456,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lunar Festival - On spell hit - Cast self teleportation Undercity"), +(180867,1,6,0,8,0,100,0,26373,0,1000,1000,85,26455,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lunar Festival - On spell hit - Cast self teleportation Thunderbluff"); + +-- Lunar Festival spell focus for teleportaion +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=180867; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,180867,1,0,29,0,15892,5,0,0,0,'','Lunar Festival Execute sai if near npc 15892'), +(22,1,180867,1,0,6,0,469,0,0,0,0,'','Lunar Festival sai the player Must Be Alliance'), +(22,1,180867,1,1,29,0,15891,5,0,0,0,'','Lunar Festival Execute sai if near npc 15891'), +(22,1,180867,1,1,6,0,67,0,0,0,0,'','Lunar Festival sai the player Must Must Be Horde'), +(22,1,180867,1,2,29,0,15892,5,0,0,0,'','Lunar Festival Execute sai if near npc 15892'), +(22,1,180867,1,2,22,0,571,0,0,0,0,'','Lunar Festival Execute sai if on map 571'), +(22,2,180867,1,0,29,0,15694,5,0,0,0,'','Lunar Festival Execute sai if near npc 15694'), +(22,2,180867,1,0,6,0,469,0,0,0,0,'','Lunar Festival SAI the player Must Be Alliance'), +(22,3,180867,1,0,29,0,15906,5,0,0,0,'','Lunar FestivalExecute sai if near npc 15906'), +(22,3,180867,1,0,6,0,469,0,0,0,0,'','Lunar Festival SAI the player Must Be Alliance'), +(22,4,180867,1,0,29,0,15905,5,0,0,0,'','Lunar Festival Execute sai if near npc 15905'), +(22,4,180867,1,0,6,0,469,0,0,0,0,'','Lunar Festival SAI the player Must Be Alliance'), +(22,5,180867,1,0,29,0,15908,5,0,0,0,'','Lunar Festival Execute sai if near npc 15908'), +(22,5,180867,1,0,6,0,67,0,0,0,0,'','Lunar Festival SAI the player Must Must Be Horde'), +(22,6,180867,1,0,29,0,15907,5,0,0,0,'','Lunar Festival Execute sai if near npc 15907'), +(22,6,180867,1,0,6,0,67,0,0,0,0,'','Lunar Festival SAI the player Must Must Be Horde'), +(22,7,180867,1,0,29,0,15719,5,0,0,0,'','Lunar Festival Execute sai if near npc 15719'), +(22,7,180867,1,0,6,0,67,0,0,0,0,'','Lunar Festival SAI the player Must Must Be Horde'); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_01_world_from_335_was_2018_08_15_01_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_01_world_from_335_was_2018_08_15_01_world_335.sql new file mode 100644 index 0000000000..c50f34baba --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_01_world_from_335_was_2018_08_15_01_world_335.sql @@ -0,0 +1,50 @@ +/* +-- Witchbane Torch +SET @GUID := 5160; +DELETE FROM `gameobject` WHERE `guid`=@GUID; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(@GUID,186425,1,0,0,1,1,-2967.03,-3872.18,33.0928,2.24779,-0,-0,-0.90179,-0.432175,-20,255,1,"",0); + +DELETE FROM `event_scripts` WHERE `id`=15452; +INSERT INTO `event_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) VALUES +(15452,0,9,@GUID,20,0,0,0,0,0); + +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=186425; +DELETE FROM `smart_scripts` WHERE `entryorguid`=186425 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`, `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 +(186425,1,0,0,70,0,100,0,1,0,0,0,0,45,1,1,0,0,0,0,19,4792,0,0,0,0,0,0,"Witchbane Torch - On State Changed - Set Data to \"Swamp Eye\" Jarl"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (42517,42515); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13,1,42517,0,0,31,0,3,23869,0,0,0,0,"","Spell 'Beam to Zelfrax' can only target 'Invis Zelfrax Origin'"), +(13,1,42515,0,0,31,0,3,23868,0,0,0,0,"","Spell 'Jarl Beam' can only target 'Invis Zelfrax Target'"); + +-- "Swamp Eye" Jarl +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4792; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4792 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=479200 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 +(4792,0,0,0,38,0,100,0,1,1,0,0,0,80,479200,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Swamp Eye\" Jarl - On Data Set - Run Script"), +(479200,9,0,0,0,0,100,0,0,0,0,0,0,11,42515,0,0,0,0,0,1,0,0,0,0,0,0,0,"\"Swamp Eye\" Jarl - On Script - Cast 'Jarl Beam'"), +(479200,9,1,0,0,0,100,0,8000,8000,0,0,0,86,42517,0,19,23868,0,0,1,0,0,0,0,0,0,0,"\"Swamp Eye\" Jarl - On Script - Cross Cast 'Beam to Zelfrax'"), +(479200,9,2,0,0,0,100,0,7000,7000,0,0,0,12,23864,3,300000,0,0,0,8,23869,0,0,-2984.98,-3853.72,45.7142,5.44525,"\"Swamp Eye\" Jarl - On Script - Summon Creature 'Zelfrax'"); + +-- Zelfrax +UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=23864; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23864 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2386400,2386401) 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 +(23864,0,0,0,54,0,100,0,0,0,0,0,0,18,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zelfrax - Just Summoned - Add Unit Flags 'Immune to NPC'+'Immune to PC'"), +(23864,0,1,0,54,0,100,0,0,0,0,0,0,80,2386400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zelfrax - Just Summoned - Run Script"), +(23864,0,2,0,40,0,100,0,1,23864,0,0,0,80,2386401,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zelfrax - On Waypoint 1 Reached - Run Script"), +(2386400,9,0,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zelfrax - On Script - Say Line 0"), +(2386400,9,1,0,0,0,100,0,5000,5000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zelfrax - On Script - Say Line 1"), +(2386400,9,2,0,0,0,100,0,0,0,0,0,0,53,1,23864,0,0,0,2,1,0,0,0,0,0,0,0,"Zelfrax - On Script - Start Waypoint"), +(2386401,9,0,0,0,0,100,0,0,0,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zelfrax - On Script - Set Home Position"), +(2386401,9,1,0,0,0,100,0,0,0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zelfrax - On Script - Remove 'Immune to NPC'+'Immune to PC'"), +(2386401,9,2,0,0,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,21,30,0,0,0,0,0,0,"Zelfrax - On Script - Start Attacking"); + +DELETE FROM `waypoints` WHERE `entry`=23864; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(23864,1,-2965.74,-3873.83,33.3183,""); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_02_world_from_335_was_2018_08_15_02_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_02_world_from_335_was_2018_08_15_02_world_335.sql new file mode 100644 index 0000000000..319d171762 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_02_world_from_335_was_2018_08_15_02_world_335.sql @@ -0,0 +1,104 @@ +/* +-- Quest "The Missing Diplomat (Part 16)" +UPDATE `quest_template_addon` SET `SpecialFlags`=2 WHERE `ID`=1324; -- Prevents quest from auto completing + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (4966,5184); +DELETE FROM `creature_text` WHERE `CreatureID`=4967 AND `GroupID` IN (1,2,3,4); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(4966,0,0,"%s obviously beaten, tries to run.",16,0,100,0,0,0,8225,0,"Private Hendel"), +(4966,1,0,"%s, too injured, gives up the chase.",16,0,100,0,0,0,8224,0,"Private Hendel"), +(4966,2,0,"Please... please... Miss Proudmore. I didn't mean to...",12,7,100,0,0,0,1759,0,"Private Hendel"), +(4967,1,0,"Ah, Private Hendel. A pleasure to meet one of the men who would betray his kingdom for pride.",12,7,100,0,0,0,1657,0,"Archmage Tervosh"), +(4967,2,0,"Why don't we deal with you now, Hendel? Lady Proudmoore will speak to you back in the tower.",12,7,100,0,0,0,1663,0,"Archmage Tervosh"), +(4967,3,0,"I apologize for taking so long to get here. I wanted Lady Proudmoore to be present also.",12,7,100,0,0,0,1761,0,"Archmage Tervosh"), +(4967,4,0,"We can only stay a few moments before returning to the tower. If you wish to speak to us more you may find us there.",12,7,100,0,0,0,1808,0,"Archmage Tervosh"), +(5184,0,0,"It's Proudmoore! Get out of here!",12,7,100,0,0,0,7325,0,"Theramore Sentry"), +(5184,1,0,"Run!",12,7,100,0,0,0,7324,0,"Theramore Sentry"), +(5184,1,1,"Get out of here!",12,7,100,0,0,0,7340,0,"Theramore Sentry"), +(5184,1,2,"Don't let them catch you!",12,7,100,0,0,0,7341,0,"Theramore Sentry"), +(5184,1,3,"She'll have our heads if we're caught!",12,7,100,0,0,0,7342,0,"Theramore Sentry"); + +-- Private Hendel +UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=4966; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4966 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (496600,496601) 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 +(4966,0,0,1,19,0,100,0,1324,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Quest 'The Missing Diplomat (Part 16)' Taken - Remove Npc Flag Questgiver"), +(4966,0,1,2,61,0,100,0,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Quest 'The Missing Diplomat (Part 16)' Taken - Set Invincibility at 1 HP"), +(4966,0,2,3,61,0,100,0,0,0,0,0,0,2,168,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Quest 'The Missing Diplomat (Part 16)' Taken - Set Faction 168"), +(4966,0,3,4,61,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,11,5184,50,0,0,0,0,0,"Private Hendel - On Quest 'The Missing Diplomat (Part 16)' Taken - Set Data 1 to Theramore Sentry"), +(4966,0,4,5,61,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Private Hendel - On Quest 'The Missing Diplomat (Part 16)' Taken - Start Attacking"), +(4966,0,5,6,61,0,100,0,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Private Hendel - On Quest 'The Missing Diplomat (Part 16)' Taken - Store Target"), +(4966,0,6,0,61,0,100,0,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Quest 'The Missing Diplomat (Part 16)' Taken - Set Event Phase 1"), +(4966,0,7,0,2,1,100,1,0,20,0,0,0,80,496600,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - Between 0-20% Health - Run Script 1 (Phase 1)"), +(4966,0,8,0,21,2,100,1,0,0,0,0,0,80,496601,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Reached Home - Run Script 2 (Phase 2)"), +(496600,9,0,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Script - Say Line 0"), +(496600,9,1,0,0,0,100,0,0,0,0,0,0,2,1077,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Script - Set Faction 1077"), +(496600,9,2,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,"Private Hendel - On Script - Stop Combat"), +(496600,9,3,0,0,0,100,0,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Script - Set Event Phase 2"), +(496601,9,0,0,0,0,100,0,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,-2897.06,-3349.2,31.3004,0,"Private Hendel - On Script - Move to Position"), +(496601,9,1,0,0,0,100,0,1000,1000,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.277231,"Private Hendel - On Script - Set Orientation"), +(496601,9,2,0,0,0,100,0,1000,1000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Script - Say Line 1"), +(496601,9,3,0,0,0,100,0,0,0,0,0,0,17,64,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Script - Set Emote State 64"), +(496601,9,4,0,0,0,100,0,0,0,0,0,0,45,2,2,0,0,0,0,11,5184,50,0,0,0,0,0,"Private Hendel - On Script - Set Data 2 to Theramore Sentry"), +(496601,9,5,0,0,0,100,0,0,0,0,0,0,107,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Hendel - On Script - Summon Group"), +(496601,9,6,0,0,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,19,4967,0,0,0,0,0,0,"Private Hendel - On Script - Set Data to Archmage Tervosh"), +(496601,9,7,0,0,0,100,0,0,0,0,0,0,100,1,0,0,0,0,0,19,4967,0,0,0,0,0,0,"Private Hendel - On Script - Send Target to Archmage Tervosh"); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=4966; +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(4966,0,1,4967,-2882.55,-3345.43,33.7722,3.39919,3,90000), +(4966,0,1,4968,-2880.52,-3346.80,34.5063,3.36777,3,90000), +(4966,0,1,4965,-2881.22,-3343.22,34.1732,3.52487,3,90000); + +-- Theramore Sentry +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=5184; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-31271,-31268) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (518400,518401) 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 +(-31271,0,0,0,38,0,100,1,1,1,0,0,0,2,168,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Data 1 Set - Set Faction 168"), +(-31271,0,1,0,38,0,100,1,1,1,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Theramore Sentry - On Data 1 Set - Start Attacking"), +(-31271,0,2,0,38,0,100,1,2,2,0,0,0,80,518400,2,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Data 2 Set - Run Script"), +(-31271,0,3,0,40,0,100,0,2,518400,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Waypoint 2 Reahed - Despawn"), +(-31268,0,0,0,38,0,100,1,1,1,0,0,0,2,168,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Data Set - Set Faction 168"), +(-31268,0,1,0,38,0,100,1,1,1,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Theramore Sentry - On Data Set - Start Attacking"), +(-31268,0,2,0,38,0,100,1,2,2,0,0,0,80,518401,2,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Data 2 Set - Run Script"), +(-31268,0,3,0,40,0,100,0,3,518401,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Waypoint 3 Reahed - Despawn"), +(518400,9,0,0,0,0,100,0,1000,1000,0,0,0,2,150,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Script - Set Faction 150"), +(518400,9,1,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,"Theramore Sentry - On Script - Evade"), +(518400,9,2,0,0,0,100,0,0,0,0,0,0,53,1,518400,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Script - Start Waypoint"), +(518400,9,3,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Script - Say Line 0"), +(518401,9,0,0,0,0,100,0,1000,1000,0,0,0,2,150,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Script - Set Faction 150"), +(518401,9,1,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,"Theramore Sentry - On Script - Evade"), +(518401,9,2,0,0,0,100,0,0,0,0,0,0,53,1,518401,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Script - Start Waypoint"), +(518401,9,3,0,0,0,100,0,1000,1000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theramore Sentry - On Script - Say Line 1"); + +DELETE FROM `waypoints` WHERE `entry` IN (518400,518401); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(518400,1,-2906.15,-3345.12,31.3324,""), +(518400,2,-2910.64,-3353.77,30.4347,""), +(518401,1,-2897.26,-3330.35,33.442,""), +(518401,2,-2908.55,-3336.71,32.0493,""), +(518401,3,-2914.51,-3346.08,30.843,""); + +-- Archmage Tervosh +DELETE FROM `smart_scripts` WHERE `entryorguid`=4967 AND `source_type`=0 AND `id` IN (0,4,5,6); +DELETE FROM `smart_scripts` WHERE `entryorguid`=496700 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 +(4967,0,0,0,0,0,100,0,0,0,3000,5000,0,11,20822,64,0,0,0,0,2,0,0,0,0,0,0,0,"Archmage Tervosh - In Combat - Cast 'Frostbolt'"), +(4967,0,4,0,0,0,100,0,6000,8000,12000,14000,0,11,20823,0,0,0,0,0,2,0,0,0,0,0,0,0,"Archmage Tervosh - In Combat - Cast 'Fireball'"), +(4967,0,5,0,38,0,100,1,1,1,0,0,0,80,496700,2,0,0,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Data Set - Run Script"), +(496700,9,0,0,0,0,100,0,0,0,0,0,0,11,51347,0,0,0,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Script - Cast 'Teleport Visual Only'"), +(496700,9,1,0,0,0,100,0,0,0,0,0,0,86,51347,0,19,4965,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Script - Cross Cast 'Teleport Visual Only'"), +(496700,9,2,0,0,0,100,0,0,0,0,0,0,86,51347,0,19,4968,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Script - Cross Cast 'Teleport Visual Only'"), +(496700,9,3,0,0,0,100,0,4000,4000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Script - Say Line 1"), +(496700,9,4,0,0,0,100,0,3000,3000,0,0,0,11,7081,0,0,0,0,0,19,4966,0,0,0,0,0,0,"Archmage Tervosh - On Script - Cast 'Encage'"), +(496700,9,5,0,0,0,100,0,4000,4000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Script - Say Line 2"), +(496700,9,6,0,0,0,100,0,5000,5000,0,0,0,1,2,0,0,0,0,0,19,4966,0,0,0,0,0,0,"Archmage Tervosh - On Script - Say Line 2 (Private Hendel)"), +(496700,9,7,0,0,0,100,0,3000,3000,0,0,0,11,7079,0,0,0,0,0,19,4966,0,0,0,0,0,0,"Archmage Tervosh - On Script - Cast 'Simple Teleport Other'"), +(496700,9,8,0,0,0,100,0,2000,2000,0,0,0,41,0,0,0,0,0,0,19,4966,0,0,0,0,0,0,"Archmage Tervosh - On Script - Despawn (Private Hendel)"), +(496700,9,9,0,0,0,100,0,2000,2000,0,0,0,15,1324,0,0,0,0,0,12,1,0,0,0,0,0,0,"Archmage Tervosh - On Script - Complete Quest 'The Missing Diplomat (Part 16)'"), +(496700,9,10,0,0,0,100,0,1000,1000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Script - Say Line 2"), +(496700,9,11,0,0,0,100,0,6000,6000,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Archmage Tervosh - On Script - Say Line 3"); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_03_world_from_335_was_2018_08_16_00_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_03_world_from_335_was_2018_08_16_00_world_335.sql new file mode 100644 index 0000000000..a7cafb3a12 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_03_world_from_335_was_2018_08_16_00_world_335.sql @@ -0,0 +1,2 @@ +-- +-- UPDATE `npc_text` SET `BroadcastTextID0`=0 WHERE `ID`=7790; diff --git a/sql/updates/world/4.3.4/2018_08_20_04_world_from_335_was_2018_08_16_01_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_04_world_from_335_was_2018_08_16_01_world_335.sql new file mode 100644 index 0000000000..1cd2c8fb79 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_04_world_from_335_was_2018_08_16_01_world_335.sql @@ -0,0 +1,21 @@ +/* +-- +UPDATE `gossip_menu_option` SET `OptionText`='How do I use the cannon?', `OptionBroadcastTextID`= 10769 WHERE `MenuID`= 6575; +UPDATE `gossip_menu_option` SET `OptionText`='Tonks?', `OptionBroadcastTextID`= 11934 WHERE `MenuID`= 6581 AND `OptionID`= 0; +UPDATE `gossip_menu_option` SET `OptionText`='Cannon?', `OptionBroadcastTextID`= 11936 WHERE `MenuID`= 6581 AND `OptionID`= 1; +UPDATE `gossip_menu_option` SET `OptionText`='Attractions?',`OptionBroadcastTextID`= 10779 WHERE `MenuID`= 6582 AND `OptionID`= 3; + +DELETE FROM `gossip_menu` WHERE `MenuID`=7095 AND `TextID` IN (11743,8348); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(7095,11743,0),(7095,8348,0); + +DELETE FROM `npc_text` WHERE `ID`=8348; +INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`) VALUES +(8348,"","The Blastenheimer 5000 Ultra Cannon is a state-of-the-art single person projectile device. Delivering its payload at near the speed of a dragon, the cannon is the pride and joy of the Blastenheimer family, world renown for their aeronautical and combustible feats!$B$BIf you'd like to be launched through the skies to fly free as a bird, seek out Maxima Blastenheimer on the east end of the faire. I hear that she's placed a target ring way over on Crystal Lake for you to aim for as you sail through the air!",11937,0,1); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7095; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,7095,8348,0,0,22,0,0,0,0,0,0,0,"","Show text 8348 on map 0"), +(14,7095,8349,0,0,22,0,1,0,0,0,0,0,"","Show text 8349 on map 1"), +(14,7095,11743,0,0,22,0,530,0,0,0,0,0,"","Show text 11743 on map 530"); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_05_world_from_335_was_2018_08_16_02_world.sql b/sql/updates/world/4.3.4/2018_08_20_05_world_from_335_was_2018_08_16_02_world.sql new file mode 100644 index 0000000000..5048e2c712 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_05_world_from_335_was_2018_08_16_02_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `gossip_menu_option` SET `OptionIcon`=0, `OptionType`=1, `OptionNpcFlag`=1 WHERE `MenuID` IN (7938,7939) AND `OptionID`=1; diff --git a/sql/updates/world/4.3.4/2018_08_20_06_world_from_335_was_2018_08_17_00_world.sql b/sql/updates/world/4.3.4/2018_08_20_06_world_from_335_was_2018_08_17_00_world.sql new file mode 100644 index 0000000000..e969775747 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_06_world_from_335_was_2018_08_17_00_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_template` SET `exp`=2 WHERE `entry` IN (30346,30345,30344,30347,30351,30352,30380,30392,30394,30833,30350); diff --git a/sql/updates/world/4.3.4/2018_08_20_07_world_from_335_was_2018_08_19_00_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_07_world_from_335_was_2018_08_19_00_world_335.sql new file mode 100644 index 0000000000..a5c0fe75e6 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_07_world_from_335_was_2018_08_19_00_world_335.sql @@ -0,0 +1,5 @@ +/* +-- +UPDATE `quest_template_addon` SET `ExclusiveGroup`=-11144, `NextQuestID`=11149 WHERE `ID` IN (11144,11148); -- Quests "Confirming the Suspicion" / "Arms of the Grimtotems" +UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=11149; -- Quest "Tabetha's Assistance" +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_08_world_from_335_was_2018_08_19_01_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_08_world_from_335_was_2018_08_19_01_world_335.sql new file mode 100644 index 0000000000..bc29be6d6f --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_08_world_from_335_was_2018_08_19_01_world_335.sql @@ -0,0 +1,20 @@ +/* +-- +DELETE FROM `disables` WHERE `sourceType`=1 AND `entry` IN (8123,8160,8161,8162,8299,8300,8298,8124,8081,8163,8157,8164,8159,8165,8158); +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(1,8123,0,"","","Deprecated quest"), +(1,8160,0,"","","Deprecated quest"), +(1,8161,0,"","","Deprecated quest"), +(1,8162,0,"","","Deprecated quest"), +(1,8299,0,"","","Deprecated quest"), +(1,8300,0,"","","Deprecated quest"), +(1,8298,0,"","","Deprecated quest"), +(1,8124,0,"","","Deprecated quest"), +(1,8081,0,"","","Deprecated quest"), +(1,8163,0,"","","Deprecated quest"), +(1,8157,0,"","","Deprecated quest"), +(1,8164,0,"","","Deprecated quest"), +(1,8159,0,"","","Deprecated quest"), +(1,8165,0,"","","Deprecated quest"), +(1,8158,0,"","","Deprecated quest"); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_09_world_from_335_was_2018_08_19_02_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_09_world_from_335_was_2018_08_19_02_world_335.sql new file mode 100644 index 0000000000..b5ef13f42e --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_09_world_from_335_was_2018_08_19_02_world_335.sql @@ -0,0 +1,275 @@ +/* +-- +-- Quest "To Steal From Thieves" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=1164; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=1164; + +-- Quest "The Hammer May Fall" +DELETE FROM `quest_details` WHERE `ID`=676; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(676,5,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=676; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=676; + +-- Quest "Call to Arms" +DELETE FROM `quest_details` WHERE `ID`=677; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(677,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=25 WHERE `ID`=677; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=677; + +-- Quest "Call to Arms (Part 2)" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=678; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=678; + +-- Quest "Call to Arms (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=679; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(679,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=679; + +-- Quest "Trollbane" +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=638; + +-- Quest "Sigil of Strom" +DELETE FROM `quest_details` WHERE `ID`=639; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(639,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=639; + +-- Quest "The Broken Sigil" +DELETE FROM `quest_details` WHERE `ID`=640; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(640,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=66, `EmoteOnComplete`=66 WHERE `ID`=640; + +-- Quest "Sigil of Thoradin" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=641; + +-- Quest "Sigil of Arathor" +DELETE FROM `quest_details` WHERE `ID`=643; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(643,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=643; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=643; + +-- Quest "Sigil of Trollbane" +DELETE FROM `quest_details` WHERE `ID`=644; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(644,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=644; + +-- Quest "Trol'kalar" +DELETE FROM `quest_details` WHERE `ID`=645; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(645,6,1,0,0,0,0,0,0,0); + +-- Quest "Trol'kalar (Part 2)" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=646; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=646; + +-- Quest "Hammerfall" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=655; + +-- Quest "Raising Spirits" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=672; + +-- Quest "Raising Spirits (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=675; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(675,61,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=675; + +-- Quest "Guile of the Raptor (Part 1)" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=701; + +-- Quest "Guile of the Raptor (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=847; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(847,23,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=847; + +-- Quests "Foul Magics" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID` IN (671, 672, 673, 674, 701, 702); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=673; + +-- Quest "Horde Trauma" +DELETE FROM `quest_details` WHERE `ID`=6623; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6623,1,1,5,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6623; + +-- Quest "Triage" +DELETE FROM `quest_details` WHERE `ID`=6622; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(6622,1,1,1,1,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=6622; + +-- Quest "The Real Threat" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=680; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=680; + +-- Quest "Myzrael's Allies" +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID` IN (688,653); + +-- Quest "Theldurin the Lost" +DELETE FROM `quest_details` WHERE `ID`=687; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(687,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=3, `Emote2`=5, `Emote3`=1 WHERE `ID`=687; + +-- Quest "The Lost Fragments" +DELETE FROM `quest_details` WHERE `ID`=692; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(692,6,5,1,5,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=692; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=692; + +-- Quest "Summoning the Princess" +DELETE FROM `quest_details` WHERE `ID`=656; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(656,1,5,6,1,0,0,0,0,0); + +-- Quest "Elemental Leatherworking" +DELETE FROM `quest_details` WHERE `ID`=5146; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(5146,1,25,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=5146; +UPDATE `quest_offer_reward` SET `Emote1`=25, `Emote2`=1 WHERE `ID`=5146; + +-- Quest "The Battle for Arathi Basin!" +DELETE FROM `quest_details` WHERE `ID` IN (8120,8169,8170,8171,8105,8166,8167,8168); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8120,1,0,0,0,0,0,0,0,0), +(8169,1,0,0,0,0,0,0,0,0), +(8170,1,0,0,0,0,0,0,0,0), +(8171,1,0,0,0,0,0,0,0,0), +(8105,1,0,0,0,0,0,0,0,0), +(8166,1,0,0,0,0,0,0,0,0), +(8167,1,0,0,0,0,0,0,0,0), +(8168,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID` IN (8120,8169,8170,8171,8105,8166,8167,8168); + +-- Quest "Take Four Bases" / "Take Five Bases" +DELETE FROM `quest_details` WHERE `ID` IN (8121,8122); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8121,1,0,0,0,0,0,0,0,0), +(8122,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID` IN (8121,8122); + +-- Quest "Control Four Bases" / "Control Five Bases" +DELETE FROM `quest_details` WHERE `ID` IN (8114,8115); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8114,1,0,0,0,0,0,0,0,0), +(8115,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID` IN (8114,8115); + +-- Quest "Arathor Basic Care Package" +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID` IN (8260,8261,8262,8263,8264,8265); + +-- Quest "Arathi Basin Resources!" +DELETE FROM `quest_details` WHERE `ID` IN (8080,8154,8155,8156,8297); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(8080,1,0,0,0,0,0,0,0,0), +(8154,1,0,0,0,0,0,0,0,0), +(8155,1,0,0,0,0,0,0,0,0), +(8156,1,0,0,0,0,0,0,0,0), +(8297,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID` IN (8080,8154,8155,8156,8297); +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID` IN (8080,8154,8155,8156,8297); + +-- Quest "Wanted! Marez Cowl" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=684; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=684; + +-- Quest "Wanted! Otto and Falconcrest" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=685; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=685; + +-- Quest "Northfold Manor" +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=681; + +-- Quest "Stromgarde Badges" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=682; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=682; + +-- Quest "Worth Its Weight in Gold" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=691; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=1 WHERE `ID`=691; + +-- Quest "Wand over Fist" +DELETE FROM `quest_details` WHERE `ID`=693; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(693,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=693; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=693; + +-- Quest "Trelane's Defenses" +DELETE FROM `quest_details` WHERE `ID`=694; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(694,6,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=694; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=694; + +-- Quest "Attack on the Tower" +DELETE FROM `quest_details` WHERE `ID`=696; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(696,1,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=696; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=696; + +-- Quest "Malin's Request" +DELETE FROM `quest_details` WHERE `ID`=697; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(697,1,2,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=697; +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=1, `Emote4`=2, `EmoteDelay1`=1000 WHERE `ID`=697; + +-- Quest "Land Ho!" +UPDATE `quest_offer_reward` SET `Emote1`=3, `Emote2`=1, `Emote3`=1 WHERE `ID`=663; + +-- Quest "Sunken Treasure" +DELETE FROM `quest_details` WHERE `ID`=665; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(665,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=665; + +-- Quest "Sunken Treasure (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=666; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(666,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=666; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=666; + +-- Quest "Sunken Treasure (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=668; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(668,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=668; +UPDATE `quest_offer_reward` SET `Emote1`=11 WHERE `ID`=668; + +-- Quest "Sunken Treasure (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=669; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(669,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=669; +UPDATE `quest_offer_reward` SET `Emote1`=273 WHERE `ID`=669; + +-- Quest "Sunken Treasure (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=670; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(670,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=670; + +-- Quest "Drowned Sorrows" +DELETE FROM `quest_details` WHERE `ID`=664; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(664,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=664; + +-- Quest "Death From Below" +DELETE FROM `quest_details` WHERE `ID`=667; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(667,5,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=667; +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_10_world_from_335_was_2018_08_19_03_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_10_world_from_335_was_2018_08_19_03_world_335.sql new file mode 100644 index 0000000000..a757ba3638 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_10_world_from_335_was_2018_08_19_03_world_335.sql @@ -0,0 +1,40 @@ +/* +-- +-- Apprentice Morlann +DELETE FROM `creature_text` WHERE `CreatureID` IN (23600,23601); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23600,0,0,"Hmm... I wonder...",12,0,100,0,0,0,22042,0,"Apprentice Morlann"), +(23600,1,0,"Now, where is it?",12,0,100,6,0,0,22045,0,"Apprentice Morlann"), +(23600,2,0,"Stupid mages... always using the last of a reagent and never replacing it.",12,0,100,1,0,0,22043,0,"Apprentice Morlann"), +(23601,0,0,"Is he complaining about the reagents again? Does he even remember how he left the summoning tomes last time?",12,0,100,6,0,0,22044,0,"Apprentice Garion"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23600; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23600 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2360000,2360001) 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 +(23600,0,0,0,25,0,100,0,0,0,0,0,0,53,0,23600,1,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Reset - Start Waypoint"), +(23600,0,1,0,40,0,100,0,1,23600,0,0,0,80,2360000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Waypoint 1 Reached - Run Script"), +(23600,0,2,0,40,0,100,0,4,23600,0,0,0,80,2360001,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Waypoint 4 Reached - Run Script"), +(23600,0,3,0,40,0,100,0,6,23600,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Waypoint 6 Reached - Pause Waypoint"), +(2360000,9,0,0,0,0,100,0,0,0,0,0,0,54,6000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Script - Pause Waypoint"), +(2360000,9,1,0,0,0,100,0,1000,1000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Script - Say Line 0"), +(2360000,9,2,0,0,0,100,0,5000,5000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Script - Say Line 1"), +(2360001,9,0,0,0,0,100,0,0,0,0,0,0,54,14000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Script - Pause Waypoint"), +(2360001,9,1,0,0,0,100,0,2000,2000,0,0,0,5,16,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Garion - On Script - Play Emote 'Kneel'"), +(2360001,9,2,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,"Apprentice Garion - On Script - Say Line 2"), +(2360001,9,3,0,0,0,100,0,6000,6000,0,0,0,1,0,0,0,0,0,0,19,23601,0,0,0,0,0,0,"Apprentice Garion - On Script - Say Line 0 (Apprentice Garion)"); + +DELETE FROM `waypoints` WHERE `entry`=23600; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(23600,1,-4044.27,-3393.28,38.1284,""), +(23600,2,-4045.51,-3394.92,38.1749,""), +(23600,3,-4042.77,-3396.91,38.1887,""), +(23600,4,-4040.72,-3397.23,38.1476,""), +(23600,5,-4043.21,-3395.28,38.1581,""), +(23600,6,-4043.43,-3395.4,38.2663,""); + +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18604; +UPDATE `creature_addon` SET `path_id`=0 WHERE `guid`=18604; +DELETE FROM `waypoint_data` WHERE `id`=186040; +DELETE FROM `waypoint_scripts` WHERE `id` IN (1006,1007,1008); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_11_world_from_335_was_2018_08_19_04_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_11_world_from_335_was_2018_08_19_04_world_335.sql new file mode 100644 index 0000000000..e564218f2d --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_11_world_from_335_was_2018_08_19_04_world_335.sql @@ -0,0 +1,20 @@ +/* +-- +-- Stonemaul Spirit +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23786; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23786 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2378600 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 +(23786,0,0,0,11,0,100,0,0,0,0,0,80,2378600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonemaul Spirit - On Spawn - Run Script"), +(2378600,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Say Line 0"), +(2378600,9,1,0,0,0,100,0,2000,2000,0,0,49,0,0,0,0,0,0,23,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Start Attacking"); + +DELETE FROM `creature_text` WHERE `CreatureID`=23786; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23786,0,0,"Me crush puny friend of dragons!",12,0,100,15,0,0,22416,0,"Stonemaul Spirit"), +(23786,0,1,"You leave Stonemaul lands now!",12,0,100,15,0,0,22417,0,"Stonemaul Spirit"), +(23786,0,2,"Why you wake ghost? Where other Stonemauls?!",12,0,100,15,0,0,22418,0,"Stonemaul Spirit"), +(23786,0,3,"Raaar!!! Me smash $r!",12,0,100,15,0,0,1925,0,"Stonemaul Spirit"), +(23786,0,4,"Me smash! You die!",12,0,100,15,0,0,1926,0,"Stonemaul Spirit"), +(23786,0,5,"I'll crush you!",12,0,100,15,0,0,1927,0,"Stonemaul Spirit"); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_20_12_world_from_335_was_2018_08_19_05_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_12_world_from_335_was_2018_08_19_05_world_335.sql new file mode 100644 index 0000000000..8fe8883650 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_12_world_from_335_was_2018_08_19_05_world_335.sql @@ -0,0 +1,2 @@ +-- +-- UPDATE `npc_text` SET `em0_0`=20, `em0_1`=0 WHERE `id`=3094; diff --git a/sql/updates/world/4.3.4/2018_08_20_13_world_from_335_was_2018_08_19_06_world.sql b/sql/updates/world/4.3.4/2018_08_20_13_world_from_335_was_2018_08_19_06_world.sql new file mode 100644 index 0000000000..824ce98cc5 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_13_world_from_335_was_2018_08_19_06_world.sql @@ -0,0 +1,5 @@ +-- +-- The Essence of Aku'Mai (6563) +UPDATE `quest_offer_reward` SET `RewardText`="Well done, $N. These are the crystals I spoke of. Intriguing...$B$BI can feel the power within them. The spirits of water cling to them. Whatever the naga were going to use these for... well, let us be glad they are no longer in their hands." WHERE `ID`= 6563; +-- King of the Foulweald (6621) +UPDATE `quest_offer_reward` SET `RewardText`="Good work, $N. Issuing that challenge to the Foulwealds and defeating their leader sends them a strong message:$B$BThe Horde is not to be trifled with.$B$BI don't believe that tribe will be giving us much trouble for a long time." WHERE `ID`= 6621; diff --git a/sql/updates/world/4.3.4/2018_08_20_14_world_from_335_was_2018_08_20_00_world_335.sql b/sql/updates/world/4.3.4/2018_08_20_14_world_from_335_was_2018_08_20_00_world_335.sql new file mode 100644 index 0000000000..71deab4a21 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_20_14_world_from_335_was_2018_08_20_00_world_335.sql @@ -0,0 +1,146 @@ +/* +-- Suntara Stones +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN (8284,8338,8337); +UPDATE `creature_addon` SET `bytes1`= 0 WHERE `guid`= 6823; +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (147516,147517); +UPDATE `gameobject` SET `spawntimesecs`=100 WHERE `id` IN (147516, 147517); +DELETE FROM `gameobject_addon` WHERE `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id`=175704); +DELETE FROM `gameobject` WHERE `id`=175704; + +DELETE FROM `smart_scripts` WHERE `entryorguid`IN (828400,828401,828402,828403,828404,828405, 833800, 14751700) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (8337,8284,8338) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (147516,147517) 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 +(8284, 0, 0,1, 11, 0,100,0, 0, 0,0,0, 18, 768, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On Spawn - Add Unit Flag'), +(8284, 0, 1,0, 61, 0,100,0, 0, 0,0,0, 90, 7, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On Spawn - Add Bytes1 death State'), +(8284, 0, 2,3, 19, 0,100,0, 3367, 0,0,0, 53, 0,82840,0,0,30000,1, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On Quest Accept - Start WP movement'), +(8284, 0, 3,4, 61, 0,100,0, 0, 0,0,0, 19, 768, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On Quest Accept - Remove Unit Flag'), +(8284, 0, 4,5, 61, 0,100,0, 0, 0,0,0, 91, 7, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On Quest Accept - Remove Bytes1 Death State'), +(8284, 0, 5,6, 61, 0,100,0, 0, 0,0,0, 64, 1, 0,0, 0, 0,0, 7, 0,0,0,0,0,0,0, 'Dorius Stonetender - On Quest Accept - Store target'), +(8284, 0, 6,0, 61, 0,100,0, 0, 0,0,0, 2, 250, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On Quest Accept - Set faction'), +(8284, 0, 7,0, 40, 0,100,0, 17, 82840,0,0, 80,828400, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On WP Reached - Start Action List'), +(8284, 0, 8,0, 40, 0,100,0, 25, 82840,0,0, 80,828401, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On WP Reached - Start Action List'), +(8284, 0, 9,0, 40, 0,100,0, 33, 82840,0,0, 80,828402, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On WP Reached - Start Action List'), +(8284, 0, 10,0, 40, 0,100,0, 37, 82840,0,0, 80,828403, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On WP Reached - Start Action List'), +(8284, 0, 11,0, 40, 0,100,0, 50, 82840,0,0, 80,828404, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On WP Reached - Start Action List'), +(8284, 0, 12,0, 38, 0,100,0, 1, 1,0,0, 80,828405, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On data set - Start Action List'), +(8284, 0, 13,0, 40, 0,100,0, 15, 82840,0,0, 45,2, 2,0, 0, 0,0, 15, 147516,50,0,0,0,0,0, 'Dorius Stonetender - On WP Reached - Set data'), +(8284, 0, 14,0, 4, 0,50,0, 0, 0,0,0, 1,8, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - On aggro - Say text'), +-- first stop +(828400,9, 0,0, 0, 0,100,0, 0, 0,0,0, 1, 0, 0,0, 0, 0,0,12, 1,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 0'), +(828400,9, 1,0, 0, 0,100,0, 0, 0,0,0, 54, 10000, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Pause WP (10 seconds)'), +(828400,9, 2,0, 0, 0,100,0, 500, 500,0,0, 90, 8, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Add Bytes1 Stand State (Kneel)'), +(828400,9, 3,0, 0, 0,100,0, 10000,10000,0,0, 91, 8, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Remove Bytes1 Stand State'), +-- second stop +(828401,9, 0,0, 0, 0,100,0, 0, 0,0,0, 54, 12000, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Pause WP (12 seconds)'), +(828401,9, 1,0, 0, 0,100,0, 500, 500,0,0, 90, 8, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Add Bytes1 Stand State (Kneel)'), +(828401,9, 2,0, 0, 0,100,0, 2000,2000,0,0, 91, 8, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Remove Bytes1 Stand State'), +(828401,9, 3,0, 0, 0,100,0, 0,0,0,0, 1, 1, 0,0, 0, 0,0,12, 1,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 1'), +(828401,9, 4,0, 0, 0,100,0, 9000,9000,0,0, 1, 9, 0,0, 0, 0,0,12, 1,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 9'), +-- third stop + spawns +(828402,9, 0,0, 0, 0,100,0, 0, 0,0,0, 1, 2, 0,0, 0, 0,0,12, 1,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 2'), +(828402,9, 1,0, 0, 0,100,0, 0, 0,0,0, 54, 10000, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Pause WP (10 seconds)'), +(828402,9, 2,0, 0, 0,100,0, 500, 500,0,0, 90, 8, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Add Bytes1 Stand State (Kneel)'), +(828402,9, 3,0, 0, 0,100,0, 9000,9000,0,0, 91, 8, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Remove Bytes1 Stand State'), +(828402,9, 4,0, 0, 0,100,0, 0, 0,0,0, 45, 2, 2,0, 0, 0,0, 15, 147517,50,0,0,0,0,0, 'Dorius Stonetender - Action List - Set data'), +-- start run +(828403,9, 0,0, 0, 0,100,0, 0, 0,0,0, 1, 3, 0,0, 0, 0,0,12, 1,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 3'), +(828403,9, 1,0, 0, 0,100,0, 0, 0,0,0, 54, 3000, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Pause WP (3 seconds)'), +(828403,9, 2,0, 0, 0,100,0, 0, 0,0,0, 59, 1, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Set Run On'), +-- start finale event +(828404,9, 0,0, 0, 0,100,0, 0, 0,0,0, 54, 30000, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Pause WP (30000 seconds)'), +(828404,9, 1,0, 0, 0,100,0, 0, 0,0,0, 1,4, 0,0, 0, 0,0, 12, 1,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say text'), +(828404,9, 2,0, 0, 0,100,0, 0, 0,0,0, 12, 8338, 8,0, 1, 0,0, 8, 0,0,0,-6370.26,-1974.93,256.79,3.55, 'Dorius Stonetender - Action List - Summon Dark Iron Marksman'), +-- end finale event +(828405,9, 0,0, 0, 0,100,0, 0, 0,0,0, 1, 5, 0,0, 0, 0,0,1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 5'), +(828405,9, 1,0, 0, 0,100,0, 0, 0,0,0, 11, 12218, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Cast Spell Man Down!'), +(828405,9, 2,0, 0, 0,100,0, 0, 0,0,0, 90, 7, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Add Bytes1 Death State'), +(828405,9, 3,0, 0, 0,100,0, 0, 0,0,0, 50, 175704, 60,1, 0, 0,0, 8, 0,0,0,-6386.8901, -1984.05, 246.7299,0, 'Dorius Stonetender - Action List - Summon '), +(828405,9, 4,0, 0, 0,100,0, 0, 0,0,0, 15, 3367, 0,0, 0, 0,0,12, 1,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Quest explored'), +(828405,9, 5,0, 0, 0,100,0, 2000, 2000,0,0, 1, 6, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 6'), +(828405,9, 6,0, 0, 0,100,0, 1000, 1000,0,0, 1, 7, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Say Line 7'), +(828405,9, 7,0, 0, 0,100,0, 0, 0,0,0, 37, 0, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dorius Stonetender - Action List - Die'), +-- Dark Iron Marksman +(8338, 0, 0,0, 54, 0,100,0, 0, 0,0,0, 80,833800, 2,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron Marksman - On just summoned - Call Action List'), +(833800,9, 0,0, 0, 0,100,0, 1500, 1500,0,0, 1, 0, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron Marksman - Action List - Say Line 0'), +(833800,9, 1,0, 0, 0,100,0, 0, 0,0,0, 11, 12198, 0,0, 0, 0,0,19,8284,50,0,0,0,0,0, 'Dark Iron Marksman - Action List - Cast Marksman Hit'), +(833800,9, 2,0, 0, 0,100,0, 2000, 2000,0,0, 45, 1, 1,0, 0, 0,0,19,8284,50,0,0,0,0,0, 'Dark Iron Marksman - Action List - set data Marksman Hit'), +(833800,9, 3,0, 0, 0,100,0, 1000, 1000,0,0, 41, 0, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron Marksman - Action List - Despawn'), +(8337, 0, 0,0, 63, 0,100,0, 0, 0,0,0, 49,0, 0,0, 0, 0,0, 19, 8284,70,0,0,0,0,0, 'Dark Iron Steelshifter - On just Created - Start attack'), +(8337, 0, 1,0, 4, 0,50,0, 0, 0,0,0, 1, 0, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron Steelshifter - On aggro - Say Line 0'), +(147516, 1, 0,0, 38, 0,100,0, 2, 2,0,0, 80,14751700, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron - On data set - action list'), +(147517, 1, 0,0, 38, 0,100,0, 2, 2,0,0, 80,14751700, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron - On data set - action list'), +(14751700,9, 0,0, 0, 0,100,0, 0, 0,0,0, 118, 2, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron - Action List - set gob state'), +(14751700,9, 1,0, 0, 0,100,0, 0, 0,0,0, 11, 12168, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron - Action List - cast'), +(14751700,9, 2,0, 0, 0,100,0, 1000, 1000,0,0, 41, 0, 0,0, 0, 0,0, 1, 0,0,0,0,0,0,0, 'Dark Iron - Action List - Despawn'); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (8284,8337,8338); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(8284,0,0,"Stop... need to catch.... my breath.",12,0,100,0,0,0,4345,0,"Dorius Stonetender"), +(8284,1,0,"This is the place, $r: The Cauldron! Mark it on a map or do something so that you don''t forget. If anything ever happened to me, my team would be stuck in that mine forever.",12,0,100,25,0,0,4354,0,"Dorius Stonetender"), +(8284,2,0,"I''ve got to quit smoking! Give me a minute to catch my breath.",12,0,100,0,0,0,4356,0,"Dorius Stonetender"), +(8284,3,0,"We''re almost to safety. From here, we run. Try not to get too far behind! GO!",12,0,100,0,0,0,4357,0,"Dorius Stonetender"), +(8284,4,0,"The gate is in sight! We''re going to make it! But first, I need to take a breather.",12,0,100,0,0,0,4363,0,"Dorius Stonetender"), +(8284,5,0,"ARRRRRGH! He got me!",12,0,100,0,0,0,4359,0,"Dorius Stonetender"), +(8284,6,0,"%s points to the parchment on the ground.",16,0,100,0,0,0,5944,0,"Dorius Stonetender"), +(8284,7,0,"%s disappears in a cloud of dust.",16,0,100,0,0,0,4362,0,"Dorius Stonetender"), +(8284,8,0,"Are you going to let an injured dwarf do all the work for you?",12,0,100,0,0,0,4352,0,"Dorius Stonetender"), +(8284,8,1,"It's on! $n, meet my fists. Fists, say hello to $n.",12,0,100,0,0,0,4353,0,"Dorius Stonetender"), +(8284,9,0,"Onward! And be on guard this time! I'm not going to carry anymore fights.",12,0,100,0,0,0,4355,0,"Dorius Stonetender"), +(8337,0,0,"The secrets of Suntara will not leave these lands.", 14,0,100,0,0,0,4346,0,"Summon Dark Iron Steelshifter"), +(8338,0,0,"He''s mine...",14,0,100,0,0,0,4358,0,"Dark Iron Marksman"); + +DELETE FROM `waypoints` WHERE `entry`=82840; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`) VALUES +(82840, 1, -7005.02, -1742.09, 234.09), +(82840, 2, -7007.01, -1730.48, 234.09), +(82840, 3, -7004.89, -1726.50, 234.25), +(82840, 4, -7000.51, -1727.69, 235.47), +(82840, 5, -6989.39, -1737.25, 240.65), +(82840, 6, -6976.65, -1737.33, 241.83), +(82840, 7, -6954.92, -1742.04, 241.66), +(82840, 8, -6933.73, -1730.35, 241.70), +(82840, 9, -6931.64, -1719.75, 242.27), +(82840, 10, -6909.71, -1714.02, 241.26), +(82840, 11, -6898.56, -1723.56, 243.11), +(82840, 12, -6883.09, -1728.15, 241.00), +(82840, 13, -6879.24, -1737.66, 242.25), +(82840, 14, -6875.63, -1738.84, 244.00), +(82840, 15, -6868.03, -1745.78, 248.92), +(82840, 16, -6865.56, -1747.40, 250.42), +(82840, 17, -6857.70, -1748.29, 251.52), -- first stop +(82840, 18, -6853.29, -1745.18, 251.52), +(82840, 19, -6861.59, -1732.91, 251.66), +(82840, 20, -6860.00, -1723.85, 252.05), +(82840, 21, -6857.88, -1715.04, 251.52), +(82840, 22, -6850.99, -1698.89, 250.48), +(82840, 23, -6830.43, -1675.30, 251.52), +(82840, 24, -6818.79, -1674.68, 251.31), +(82840, 25, -6814.35, -1671.13, 250.31), -- second stop +(82840, 26, -6809.37, -1680.91, 250.10), +(82840, 27, -6801.58, -1695.83, 258.82), +(82840, 28, -6790.76, -1703.73, 259.55), +(82840, 29, -6781.22, -1715.15, 259.55), +(82840, 30, -6778.56, -1727.06, 259.55), +(82840, 31, -6777.09, -1744.06, 259.54), +(82840, 32, -6775.59, -1761.05, 257.50), +(82840, 33, -6777.40, -1780.64, 256.85), -- next break +(82840, 34, -6776.03, -1781.77, 256.85), +(82840, 35, -6728.56, -1814.42, 253.44), +(82840, 36, -6700.18, -1814.54, 250.46), +(82840, 37, -6677.81, -1821.25, 250.28), -- start run +(82840, 38, -6640.54, -1884.70, 244.27), +(82840, 39, -6612.79, -1916.98, 244.15), +(82840, 40, -6569.94, -1922.81, 244.16), +(82840, 41, -6540.13, -1938.87, 244.15), +(82840, 42, -6520.90, -1946.45, 244.15), +(82840, 43, -6504.90, -1955.36, 244.15), +(82840, 44, -6483.21, -1965.20, 244.24), +(82840, 45, -6471.10, -1968.55, 244.27), +(82840, 46, -6451.37, -1976.94, 244.45), +(82840, 47, -6405.94, -1974.30, 248.94), +(82840, 48, -6395.49, -1977.74, 247.89), +(82840, 49, -6389.20, -1978.71, 247.48), +(82840, 50, -6388.39, -1983.85, 246.72), +(82840, 51, -6388.39, -1983.85, 246.72); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_22_00_world_from_335_was_2018_08_22_00_world_335.sql b/sql/updates/world/4.3.4/2018_08_22_00_world_from_335_was_2018_08_22_00_world_335.sql new file mode 100644 index 0000000000..38813751ca --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_00_world_from_335_was_2018_08_22_00_world_335.sql @@ -0,0 +1,7 @@ +/* +-- +UPDATE `creature` SET `position_x`=3294.252, `position_y`=-3087.255, `position_z`=158.25 WHERE `guid`=84786; +UPDATE `creature` SET `position_x`=3275.445, `position_y`=-3128.624, `position_z`=156.78 WHERE `guid`=86295; +UPDATE `creature` SET `position_x`=3233.312, `position_y`=-3156.763, `position_z`=151.23 WHERE `guid`=69692; +UPDATE `creature` SET `position_x`=3285.249, `position_y`=-3139.968, `position_z`=153.65 WHERE `guid`=91830; +*/ diff --git a/sql/updates/world/4.3.4/2018_08_22_01_world_from_335_was_2018_08_22_01_world.sql b/sql/updates/world/4.3.4/2018_08_22_01_world_from_335_was_2018_08_22_01_world.sql new file mode 100644 index 0000000000..824f2e74ae --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_01_world_from_335_was_2018_08_22_01_world.sql @@ -0,0 +1,5 @@ +-- +SET @SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET := 262144; +DELETE FROM `spell_custom_attr` WHERE `entry`=66717; +INSERT INTO `spell_custom_attr` (`entry`, `attributes`) VALUES +(66717, @SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET); diff --git a/sql/updates/world/4.3.4/2018_08_22_02_world_from_335_was_2018_08_22_02_world.sql b/sql/updates/world/4.3.4/2018_08_22_02_world_from_335_was_2018_08_22_02_world.sql new file mode 100644 index 0000000000..0e234300c0 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_02_world_from_335_was_2018_08_22_02_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=43115; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 43115, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, "", "Plague Vial could be casted only if the player is in taxi"); diff --git a/sql/updates/world/4.3.4/2018_08_22_03_world_from_335_was_2018_08_22_03_world.sql b/sql/updates/world/4.3.4/2018_08_22_03_world_from_335_was_2018_08_22_03_world.sql new file mode 100644 index 0000000000..b071ed7b35 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_03_world_from_335_was_2018_08_22_03_world.sql @@ -0,0 +1,4 @@ +-- +UPDATE `creature` SET `position_x`=-327.646, `position_y`=-127.406, `position_z`=-8.013, `orientation`=1.941862 WHERE `guid`=12607; +DELETE FROM `creature` WHERE `guid` IN (12605,12606); +DELETE FROM `creature_addon` WHERE `guid` IN (12605,12606); diff --git a/sql/updates/world/4.3.4/2018_08_22_04_world_from_335_was_2018_08_22_04_world.sql b/sql/updates/world/4.3.4/2018_08_22_04_world_from_335_was_2018_08_22_04_world.sql new file mode 100644 index 0000000000..371df0cb0c --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_04_world_from_335_was_2018_08_22_04_world.sql @@ -0,0 +1,4 @@ +-- +UPDATE `creature` SET `MovementType`=0, `spawndist`=0 WHERE `id` IN (27401,27403); +DELETE FROM `creature_template_addon` WHERE `entry`=27401; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (27401,0,0,0,1,233 , ''); diff --git a/sql/updates/world/4.3.4/2018_08_22_05_world_from_335_was_2018_08_22_05_world_335.sql b/sql/updates/world/4.3.4/2018_08_22_05_world_from_335_was_2018_08_22_05_world_335.sql new file mode 100644 index 0000000000..8775be1aed --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_05_world_from_335_was_2018_08_22_05_world_335.sql @@ -0,0 +1,20 @@ +/* +-- Stonemaul Spirit +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23786; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23786 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2378600 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 +(23786,0,0,0,11,0,100,0,0,0,0,0,80,2378600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonemaul Spirit - On Spawn - Run Script"), +(23786,0,1,0,4,0,15,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonemaul Spirit - On Aggro - Say Line 1"), +(2378600,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Say Line 0"), +(2378600,9,1,0,0,0,100,0,2000,2000,0,0,49,0,0,0,0,0,0,23,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Start Attacking"); + +DELETE FROM `creature_text` WHERE `CreatureID`=23786; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23786,0,0,"Me crush puny friend of dragons!",12,0,100,15,0,0,22416,0,"Stonemaul Spirit"), +(23786,0,1,"You leave Stonemaul lands now!",12,0,100,15,0,0,22417,0,"Stonemaul Spirit"), +(23786,0,2,"Why you wake ghost? Where other Stonemauls?!",12,0,100,15,0,0,22418,0,"Stonemaul Spirit"), +(23786,1,0,"Raaar!!! Me smash $r!",12,0,100,0,0,0,1925,0,"Stonemaul Spirit"), +(23786,1,1,"Me smash! You die!",12,0,100,0,0,0,1926,0,"Stonemaul Spirit"), +(23786,1,2,"I'll crush you!",12,0,100,0,0,0,1927,0,"Stonemaul Spirit"); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_22_06_world_from_335_was_2018_08_22_06_world_335.sql b/sql/updates/world/4.3.4/2018_08_22_06_world_from_335_was_2018_08_22_06_world_335.sql new file mode 100644 index 0000000000..88eaf1d8f2 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_06_world_from_335_was_2018_08_22_06_world_335.sql @@ -0,0 +1,62 @@ +/* +-- Professor Phizzlethorpe +UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=2768; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2768 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (276800,276801,276802,276803) 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 +(2768,0,0,1,19,0,100,0,665,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Quest 'Sunken Treasure' Taken - Store Targetlist"), +(2768,0,1,2,61,0,100,0,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Quest 'Sunken Treasure' Taken - Remove Npc Flag Questgiver"), +(2768,0,2,3,61,0,100,0,0,0,0,0,0,80,276800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Quest 'Sunken Treasure' Taken - Run Script"), +(2768,0,3,0,61,0,100,0,0,0,0,0,0,2,113,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Quest 'Sunken Treasure' Taken - Set Faction 113"), +(2768,0,4,0,6,0,100,0,0,0,0,0,0,6,665,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Just Died - Fail Quest 'Sunken Treasure'"), +(2768,0,5,0,4,0,100,0,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Aggro - Say Line 4"), +(2768,0,6,0,40,0,100,0,5,276800,0,0,0,80,276801,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Waypoint 5 Reached - Run Script"), +(2768,0,7,0,40,0,100,0,8,276800,0,0,0,80,276802,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Waypoint 8 Reached - Run Script"), +(2768,0,8,0,40,0,100,0,8,276801,0,0,0,80,276803,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Waypoint 8 Reached - Run Script"), +(276800,9,0,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 0"), +(276800,9,1,0,0,0,100,0,4000,4000,0,0,0,53,0,276800,0,0,0,2,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Start Waypoint"), +(276801,9,0,0,0,0,100,0,0,0,0,0,0,54,7000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Pause Waypoint"), +(276801,9,1,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 1"), +(276801,9,2,0,0,0,100,0,7000,7000,0,0,0,1,2,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 2"), +(276802,9,0,0,0,0,100,0,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 3"), +(276802,9,1,0,0,0,100,0,10000,10000,0,0,0,107,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Summon Group"), +(276802,9,2,0,0,0,100,0,15000,15000,0,0,0,1,5,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 5"), +(276802,9,3,0,0,0,100,0,10000,10000,0,0,0,1,6,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 6"), +(276802,9,4,0,0,0,100,0,3000,3000,0,0,0,53,0,276801,0,0,0,2,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Start Waypoint"), +(276803,9,0,0,0,0,100,0,0,0,0,0,0,1,7,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 7"), +(276803,9,1,0,0,0,100,0,5000,5000,0,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 8"), +(276803,9,2,0,0,0,100,0,0,0,0,0,0,1,9,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Say Line 9"), +(276803,9,3,0,0,0,100,0,0,0,0,0,0,15,665,0,0,0,0,0,12,1,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Complete Quest 'Sunken Treasure'"), +(276803,9,4,0,0,0,100,0,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Add Npc Flag Questgiver"), +(276803,9,5,0,0,0,100,0,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Professor Phizzlethorpe - On Script - Set Faction 35"); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=2768; +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(2768,0,1,2776,-2056.19,-2143.23,20.4528,5.61003,5,3000), +(2768,0,1,2776,-2052.2,-2139.68,19.6804,5.31158,5,3000); + +DELETE FROM `script_waypoint` WHERE `entry`=2768; +DELETE FROM `waypoints` WHERE `entry` IN (276800, 276801); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(276800,1,-2077.73,-2091.17,9.49,""), +(276800,2,-2077.99,-2105.33,13.24,""), +(276800,3,-2074.6,-2109.67,14.24,""), +(276800,4,-2076.6,-2117.46,16.67,""), +(276800,5,-2073.51,-2123.46,18.42,""), +(276800,6,-2066.6,-2131.85,21.56,""), +(276800,7,-2053.85,-2143.19,20.31,""), +(276800,8,-2043.49,-2153.73,20.2,""), +(276801,1,-2053.85,-2143.19,20.31,""), +(276801,2,-2063.52,-2131.57,21.22,""), +(276801,3,-2073.51,-2123.46,18.42,""), +(276801,4,-2076.6,-2117.46,16.67,""), +(276801,5,-2074.6,-2109.67,14.24,""), +(276801,6,-2077.99,-2105.33,13.24,""), +(276801,7,-2077.73,-2091.17,9.49,""), +(276801,8,-2066.41,-2086.21,8.97,""); + +-- Vengeful Surge +DELETE FROM `smart_scripts` WHERE `entryorguid`=2776 AND `source_type`=0 AND `id`=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`,`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 +(2776,0,1,0,54,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,19,2768,0,0,0,0,0,0,"Vengeful Surge - Just Summoned - Start Attacking"); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_22_07_world_from_335_was_2018_08_22_07_world_335.sql b/sql/updates/world/4.3.4/2018_08_22_07_world_from_335_was_2018_08_22_07_world_335.sql new file mode 100644 index 0000000000..39c05ce266 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_07_world_from_335_was_2018_08_22_07_world_335.sql @@ -0,0 +1,85 @@ +/* +-- Add some missing gameobjects +DELETE FROM `gameobject` WHERE `guid` IN (5111,5117,5122,5126,5131,5140,5144,5155,5160,5165,5171,5210,5217,5224,5230,5232,5234,5255,5315,5332,5334,5339,5341,5345,5349,5350,5357,5367,5373,5395,5397,5402); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(5111,21148,0,0,0,1,1,-9072.17,837.258,109.424,0.299373,-0,-0,-0.149128,-0.988818,-120,255,1,"",0), +(5117,21148,0,0,0,1,1,-9072.82,829.589,109.478,5.99743,-0,-0,-0.14239,0.989811,-120,255,1,"",0), +(5122,21148,0,0,0,1,1,-9059.47,838.004,110.215,0.377914,-0,-0,-0.187835,-0.982201,-120,255,1,"",0), +(5126,21148,0,0,0,1,1,-9059.77,838.776,110.215,0.381841,-0,-0,-0.189763,-0.98183,-120,255,1,"",0), +(5131,21148,0,0,0,1,1,-9085.29,832.499,109.61,3.58633,-0,-0,-0.975378,0.220539,-120,255,1,"",0), +(5140,21148,0,0,0,1,1,-9085.65,833.289,109.61,3.53135,-0,-0,-0.981071,0.193647,-120,255,1,"",0), +(5144,21148,0,0,0,1,1,-9081.83,823.735,109.61,3.4803,-0,-0,-0.985694,0.168543,-120,255,1,"",0), +(5155,21148,0,0,0,1,1,-9081.1,828.544,109.432,1.763,-0,-0,-0.771693,-0.635995,-120,255,1,"",0), +(5160,21148,0,0,0,1,1,-9082.12,830.655,109.429,5.3287,-0,-0,-0.459332,0.888265,-120,255,1,"",0), +(5165,21148,0,0,0,1,1,-9069.05,828.82,109.428,1.8533,-0,-0,-0.799613,-0.600515,-120,255,1,"",0), +(5171,21148,0,0,0,1,1,-9075.97,820.033,109.55,4.11132,-0,-0,-0.884738,0.466088,-120,255,1,"",0), +(5210,21148,0,0,0,1,1,-9070.79,828.253,109.431,0.334503,-0,-0,-0.166473,-0.986046,-120,255,1,"",0), +(5217,21148,0,0,0,1,1,-9075.04,838.185,109.463,5.08008,-0,-0,-0.565921,0.824459,-120,255,1,"",0), +(5224,21148,0,0,0,1,1,-9076.71,818.742,109.55,0.407534,-0,-0,-0.20236,-0.979311,-120,255,1,"",0), +(5230,21148,0,0,0,1,1,-9079.45,828.87,109.436,3.40383,-0,-0,-0.991416,0.130743,-120,255,1,"",0), +(5232,21148,0,0,0,1,1,-9073.03,838.268,109.432,0.345678,-0,-0,-0.17198,-0.985101,-120,255,1,"",0), +(5234,21148,0,0,0,1,1,-9085.74,814.883,116.796,3.49512,-0,-0,-0.984418,0.175845,-120,255,1,"",0), +(5255,21148,0,0,0,1,1,-9087.04,830.81,116.825,5.06286,-0,-0,-0.57-1201,0.819555,-120,255,1,"",0), +(5315,21148,0,0,0,1,1,-9094.68,836.463,116.795,1.10446,-0,-0,-0.524585,-0.851358,-120,255,1,"",0), +(5332,21148,0,0,0,1,1,-9084.5,824.882,116.825,5.65584,-0,-0,-0.308554,0.951207,-120,255,1,"",0), +(5334,21147,0,0,0,1,1,-9081.3,822.651,109.61,3.55732,-0,-0,-0.978474,0.206371,-120,255,1,"",0), +(5339,21147,0,0,0,1,1,-9072.24,828.632,109.453,0.376773,-0,-0,-0.187274,-0.982308,-120,255,1,"",0), +(5341,21147,0,0,0,1,1,-9083.98,828.135,109.61,3.50271,-0,-0,-0.983743,0.17958,-120,255,1,"",0), +(5345,21146,0,0,0,1,1,-9075.14,836.495,109.436,1.95635,-0,-0,-0.82948,-0.558537,-120,255,1,"",0), +(5349,21146,0,0,0,1,1,-9069.89,830.264,109.432,0.954968,-0,-0,-0.459546,-0.888154,-120,255,1,"",0), +(5350,21146,0,0,0,1,1,-9079.88,818.003,109.61,5.10492,-0,-0,-0.555639,0.831424,-120,255,1,"",0), +(5357,21146,0,0,0,1,1,-9080.54,819.582,109.61,5.10492,-0,-0,-0.555639,0.831424,-120,255,1,"",0), +(5367,21146,0,0,0,1,1,-9058.49,837.482,110.219,1.94478,-0,-0,-0.826236,-0.563325,-120,255,1,"",0), +(5373,21146,0,0,0,1,1,-9081.2,821.143,109.61,5.1167,-0,-0,-0.550732,0.834682,-120,255,1,"",0), +(5395,21145,0,0,0,1,1,-9083.11,825.766,109.61,3.52235,-0,-0,-0.981933,0.189231,-120,255,1,"",0), +(5397,21145,0,0,0,1,1,-9084.98,830.42,109.61,0.354403,-0,-0,-0.176275,-0.984341,-120,255,1,"",0), +(5402,21145,0,0,0,1,1,-9059.28,840.347,110.239,5.05895,-0,-0,-0.574602,0.818433,-120,255,1,"",0); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (1141,3628,1311); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1141,0,0,"All hail $n, a $c of worth!",12,7,100,22,0,0,1718,0,"Angus Stern"), +(1141,1,0,"Behold! The Blue Recluse holds a feast in $g his:her; honor!",12,7,100,25,0,0,1719,0,"Angus Stern"), +(3628,0,0,"Here here!",12,7,100,5,0,0,1735,0,"Steven Lohan"), +(1311,0,0,"Hooray, $n!",12,7,100,4,0,0,1733,0,"Joachim Brenlow"), +(1311,0,1,"Long live $n!",12,7,100,4,0,0,1736,0,"Joachim Brenlow"); + +-- Angus Stern +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1141; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1141 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=114100 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 +(1141,0,0,0,20,0,100,0,1271,0,0,0,80,114100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Angus Stern - On Quest 'Feast at the Blue Recluse' Finished - Run Script"), +(1141,0,1,0,20,0,100,0,1271,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Angus Stern - On Quest 'Feast at the Blue Recluse' Finished - Store Target"), +(114100,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,"Angus Stern - On Script - Remove Npc Flag Questgiver"), +(114100,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,"Angus Stern - On Script - Say Line 0"), +(114100,9,2,0,0,0,100,0,0,0,0,0,70,120,0,0,0,0,0,15,0,100,0,0,0,0,0,"Angus Stern - On Script - Respawn All Gameobjects"), +(114100,9,3,0,0,0,100,0,5000,5000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.02834,"Angus Stern - On Script - Set Orientation"), +(114100,9,4,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Angus Stern - On Script - Say Line 1"), +(114100,9,5,0,0,0,100,0,6000,6000,0,0,100,1,0,0,0,0,0,19,3628,0,0,0,0,0,0,"Angus Stern - On Script - Send Target to Steven Lohan"), +(114100,9,6,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,3628,0,0,0,0,0,0,"Angus Stern - On Script - Set Data to Steven Lohan"), +(114100,9,7,0,0,0,100,0,4000,4000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Angus Stern - On Script - Add Npc Flag Questgiver"), +(114100,9,8,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.558505,"Angus Stern - On Script - Set Orientation"); + +-- Steven Lohan +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=3628; +DELETE FROM `smart_scripts` WHERE `entryorguid`=3628 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=362800 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 +(3628,0,0,0,38,0,100,0,1,1,0,0,80,362800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Steven Lohan - On Data Set - Run Script"), +(362800,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,"Steven Lohan - On Script - Say Line 0"), +(362800,9,1,0,0,0,100,0,2000,2000,0,0,100,1,0,0,0,0,0,19,1311,0,0,0,0,0,0,"Steven Lohan - On Script - Send Target to Steven Lohan"), +(362800,9,2,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,1311,0,0,0,0,0,0,"Steven Lohan - On Script - Set Data to Joachim Brenlow"); + +-- Joachim Brenlow +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1311; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1311 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 +(1311,0,0,0,38,0,100,0,1,1,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,"Joachim Brenlow - On Data Set - Say Line 0"); + +-- Fix looting +UPDATE `gameobject_loot_template` SET `LootMode`=1 WHERE `Entry` IN (3458,3459,3460,3461); + +-- Add quest emotes +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=1271; +*/ diff --git a/sql/updates/world/4.3.4/2018_08_22_08_world_from_335_was_2018_08_22_08_world_335.sql b/sql/updates/world/4.3.4/2018_08_22_08_world_from_335_was_2018_08_22_08_world_335.sql new file mode 100644 index 0000000000..e2051a036c --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_08_world_from_335_was_2018_08_22_08_world_335.sql @@ -0,0 +1,4 @@ +/* +-- +UPDATE `creature_model_info` SET `DisplayID_Other_Gender`=0 WHERE `DisplayID` IN (3680); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_22_09_world_from_335_was_2018_08_22_09_world_335.sql b/sql/updates/world/4.3.4/2018_08_22_09_world_from_335_was_2018_08_22_09_world_335.sql new file mode 100644 index 0000000000..5bd32cecb7 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_09_world_from_335_was_2018_08_22_09_world_335.sql @@ -0,0 +1,9 @@ +/* +-- +UPDATE `creature_template_locale` SET `Title`='' WHERE `entry`=23863; +UPDATE `creature_template_locale` SET `Name`='Zul\'jin' WHERE `entry`=23863 AND `locale` IN ('deDE','esES','esMX','frFR'); +UPDATE `creature_template_locale` SET `Name`='줄진' WHERE `entry`=23863 AND `locale` IN ('koKR'); +UPDATE `creature_template_locale` SET `Name`='Зул\'джин' WHERE `entry`=23863 AND `locale` IN ('ruRU'); +UPDATE `creature_template_locale` SET `Name`='祖尔金' WHERE `entry`=23863 AND `locale` IN ('zhCN'); +UPDATE `creature_template_locale` SET `Name`='祖爾金' WHERE `entry`=23863 AND `locale` IN ('zhTW'); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_22_10_world_from_335_was_2018_08_22_10_world_335.sql b/sql/updates/world/4.3.4/2018_08_22_10_world_from_335_was_2018_08_22_10_world_335.sql new file mode 100644 index 0000000000..ff98dd12ce --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_22_10_world_from_335_was_2018_08_22_10_world_335.sql @@ -0,0 +1,18 @@ +/* +-- +DELETE FROM `gameobject` WHERE `guid` IN (5404,5419,5427,5429,5431,5433,5443,5446,5448); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(5404, 180867, 1, 0, 0, 1, 1, 7603.94, -2211.17, 471.606, 3.78647, 0, 0, 0.948466, -0.316878, 25, 100, 1, "", 0), +(5419, 180867, 1, 0, 0, 1, 1, 7575.26, -2238.68, 469.858, 1.03679, 0, 0, 0.495486, 0.868616, 25, 100, 1, "", 0), +(5427, 180867, 1, 0, 0, 1, 1, 7595.67, -2246.32, 466.965, 1.30382, 0, 0, 0.606707, 0.794925, 25, 100, 1, "", 0), +(5429, 180867, 1, 0, 0, 1, 1, 7610.97, -2228.92, 468.71, 2.96651, 0, 0, 0.996171, 0.0874282, 25, 100, 1, "", 0), +(5431, 180867, 1, 0, 0, 1, 1, 7570.31, -2220.8, 473.445, 0.357419, 0, 0, 0.17776, 0.984074, 25, 100, 1, "", 0), +(5433, 180867, 1, 0, 0, 1, 1, 7585.47, -2205.31, 475.281, 4.91744, 0, 0, 0.631024, -0.775763, 25, 100, 1, "", 0), +(5443, 180867, 530, 0, 0, 1, 1, -1804.27, 5492.68, -12.4278, 5.1019, 0, 0, 0.631024, -0.775763, 25, 100, 1, "", 0), +(5446, 180867, 530, 0, 0, 1, 1, -1778.08, 5439.71, -12.4276, 1.53108, 0, 0, 0.631024, -0.775763, 25, 100, 1, "", 0), +(5448, 186425, 1, 0, 0, 1, 1, -2967.03, -3872.18, 33.0928, 2.24779, 0, 0, -0.90179, -0.432175, -20, 255, 1, "", 0); + +DELETE FROM `game_event_gameobject` WHERE `eventEntry`=7 AND `guid` IN (5404,5419,5427,5429,5431,5433,5443,5446); +INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES +(7,5404),(7,5419),(7,5427),(7,5429),(7,5431),(7,5433),(7,5443),(7,5446); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_26_00_world_from_335_was_2018_08_26_02_world_335.sql b/sql/updates/world/4.3.4/2018_08_26_00_world_from_335_was_2018_08_26_02_world_335.sql new file mode 100644 index 0000000000..d6ed1ee2ca --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_26_00_world_from_335_was_2018_08_26_02_world_335.sql @@ -0,0 +1,2 @@ +-- +-- UPDATE `event_scripts` SET `datalong`=5448 WHERE `id`=15452; diff --git a/sql/updates/world/4.3.4/2018_08_26_01_world_from_335_was_2018_08_26_03_world.sql b/sql/updates/world/4.3.4/2018_08_26_01_world_from_335_was_2018_08_26_03_world.sql new file mode 100644 index 0000000000..a110f9b57f --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_26_01_world_from_335_was_2018_08_26_03_world.sql @@ -0,0 +1,4 @@ +-- +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|617299839 WHERE `entry`=33995; +UPDATE `gameobject` SET `rotation2`=-0.571201 WHERE `guid`= 5255 AND `id`= 21148; +DELETE FROM `linked_respawn` WHERE `guid` IN (12605,12606) AND `linkedGuid`=12597; diff --git a/sql/updates/world/4.3.4/2018_08_26_02_world_from_335_was_2018_08_26_04_world_335.sql b/sql/updates/world/4.3.4/2018_08_26_02_world_from_335_was_2018_08_26_04_world_335.sql new file mode 100644 index 0000000000..c37d508890 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_26_02_world_from_335_was_2018_08_26_04_world_335.sql @@ -0,0 +1,10 @@ +/* +-- +-- Theramore Practicing Guard +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4951; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4951) 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 +(4951,0,0,0,25,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,19,4952,0,0,0,0,0,0,"Theramore Practicing Guard - On Reset - Start Attacking"); +-- Theramore Combat Dummy +UPDATE `creature_template` SET `ScriptName`="npc_training_dummy" WHERE `entry`=4952; +*/ diff --git a/sql/updates/world/4.3.4/2018_08_26_03_world_from_335_was_2018_08_26_05_world_335.sql b/sql/updates/world/4.3.4/2018_08_26_03_world_from_335_was_2018_08_26_05_world_335.sql new file mode 100644 index 0000000000..0f087f6d61 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_26_03_world_from_335_was_2018_08_26_05_world_335.sql @@ -0,0 +1,294 @@ +/* +-- +-- Quest "Deadmire" +DELETE FROM `quest_details` WHERE `ID`=1205; +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1205; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1205; + +-- Quest "The Brood of Onyxia" +DELETE FROM `quest_details` WHERE `ID`=1171; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1171,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote2`=0, `Emote3`=0 WHERE `ID`=1170; + +-- Quest "The Theramore Docks" +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=1202; + +-- Quest "This Old Lighthouse" +DELETE FROM `quest_details` WHERE `ID`=11191; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11191,1,1,0,0,0,0,0,0,0); + +-- Quest "Challenge Overlord Mok'Morokk" +DELETE FROM `quest_details` WHERE `ID`=1173; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1173,11,15,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=1173; + +-- Quest "The Witch's Bane" +DELETE FROM `quest_details` WHERE `ID`=11181; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11181,1,1,0,0,0,0,0,0,0); + +-- Quest "Cleansing Witch Hill" +DELETE FROM `quest_details` WHERE `ID`=11183; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11183,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5, `Emote3`=1 WHERE `ID`=11183; + +-- Quest "The Lost Report" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1238; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1238; + +-- Quest "The Severed Head" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1239; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1239; + +-- Quest "The Troll Witchdoctor" +DELETE FROM `quest_details` WHERE `ID`=1240; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1240,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1240; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1240; + +-- Quest "Marg Speaks" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1261; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=66 WHERE `ID`=1261; + +-- Quest "Report to Zor" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1262; + +-- Quest "Service to the Horde" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=7541; + +-- Quest "Marsh Frog Legs" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=1218; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=1218; + +-- Quest "Jarl Needs Eyes" +DELETE FROM `quest_details` WHERE `ID`=1206; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1206,1,6,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1206; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=3 WHERE `ID`=1206; + +-- Quest "Jarl Needs a Blade" +DELETE FROM `quest_details` WHERE `ID`=1203; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1203,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1203; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=36, `Emote3`=4 WHERE `ID`=1203; + +-- Quest "Secure the Cargo!" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11207; + +-- Quest "Delivery for Drazzit" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11208; + +-- Quest "Catch a Dragon by the Tail" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11217; +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=0 WHERE `ID`=11217; + +-- Banner of the Stonemaul +UPDATE `quest_details` SET `Emote3`=1 WHERE `ID` IN (11158,11160,11159,11162,11201,11203); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=15, `EmoteOnComplete`=15 WHERE `ID`=11162; +UPDATE `quest_offer_reward` SET `Emote2`=0 WHERE `ID`=11160; + +-- Quest "Return to Krog" +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=11204; + +-- Quest "The Grimtotem Plot" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11201; +UPDATE `quest_offer_reward` SET `EmoteDelay1`=1500 WHERE `ID`=11201; + +-- Quest "More than Coincidence" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11200; +UPDATE `quest_offer_reward` SET `Emote2`=0, `EmoteDelay1`=2000 WHERE `ID`=11200; + +-- Quest "Seek Out Tabetha" +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=11203; + +-- Quest "Raze Direhorn Post!" +UPDATE `quest_details` SET `Emote2`=5 WHERE `ID`=11205; +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11205; + +-- Quest "Justice Dispensed" +UPDATE `quest_offer_reward` SET `Emote3`=66, `EmoteDelay1`=2000 WHERE `ID`=11206; + +-- Quest "Thresher Oil" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11192; + +-- Quest "They Call Him Smiling Jim" +DELETE FROM `quest_details` WHERE `ID`=1282; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1282,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=1282; + +-- Quest "Inspecting the Ruins" +DELETE FROM `quest_details` WHERE `ID`=11123; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11123,1,1,1,0,0,0,0,0,0); + +-- Quest "Traitors Among Us" +UPDATE `quest_details` SET `Emote2`=1 WHERE `ID` IN (11126,11128,11194,11133,11134,11177,11214,11136,11209,11210,11137,11146,11147,11145,11212,11138,11139,11140,11142,11149,11150,11151,11152); + +-- Quest "Discrediting the Deserters" +UPDATE `quest_offer_reward` SET `EmoteDelay1`=2000 WHERE `ID`=11133; + +-- Quest "The End of the Deserters" +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=11134; + +-- Quest "Lieutenant Paval Reethe" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1252; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1252; + +-- Quest "Lieutenant Paval Reethe" +DELETE FROM `quest_details` WHERE `ID`=1259; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1259,1,0,0,0,0,0,0,0,0); + +-- Quest "Daelin's Men" +DELETE FROM `quest_details` WHERE `ID`=1285; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1285,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1285; + +-- Quest "The Deserters" +DELETE FROM `quest_details` WHERE `ID`=1286; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1286,1,0,0,0,0,0,0,0,0); + +-- Quest "Suspicious Hoofprints" +UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=1284; + +-- Quest "The Black Shield" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1253; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1253; + +-- Quest "The Black Shield (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=1319; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1319,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1319; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1319; + +-- Quest "The Black Shield (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=1320; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1320,1,3,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1320; + +-- Quest "Oh, It's Real" +UPDATE `quest_offer_reward` SET `EmoteDelay1`=2000 WHERE `ID`=11210; + +-- Quest "Raptor Captor" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11146; + +-- Quest "What's Haunting Witch Hill?" +UPDATE `quest_offer_reward` SET `EmoteDelay1`=2000, `Emote2`=1 WHERE `ID`=11180; + +-- Quest "The Orc Report" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1219; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1219; + +-- Quest "Captain Vimes" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1220; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1220; + +-- Quest "Stinky's Escape" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=1222; + +-- Quest "Prisoners of the Grimtotems" +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=11145; + +-- Quest "Defias in Dustwallow?" +UPDATE `quest_offer_reward` SET `EmoteDelay1`=1000, `Emote2`=1 WHERE `ID`=11137; + +-- Quest "Renn McGill" +UPDATE `quest_offer_reward` SET `EmoteDelay1`=1000 WHERE `ID`=11138; + +-- Quest "Mudrock Soup and Bugs" +DELETE FROM `quest_details` WHERE `ID`=1204; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1204,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1204; +UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=1204; + +-- Quest "... and Bugs" +DELETE FROM `quest_details` WHERE `ID`=1258; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1258,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=1258; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1258; + +-- Quest "Secondhand Diving Gear" +UPDATE `quest_offer_reward` SET `Emote2`=1 WHERE `ID`=11139; + +-- Quest "Jaina Must Know" +UPDATE `quest_details` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=11141; + +-- Quest "The Deserters" +DELETE FROM `quest_details` WHERE `ID`=1287; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(1287,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1287; + +-- Quest "A Grim Connection" +DELETE FROM `quest_details` WHERE `ID`=11143; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11143,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=11143; + +-- Quest "Confirming the Suspicion" +DELETE FROM `quest_details` WHERE `ID`=11144; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11144,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11144; +UPDATE `quest_offer_reward` SET `Emote1`=1, `EmoteDelay1`=1000 WHERE `ID`=11144; + +-- Quest "Arms of the Grimtotems" +DELETE FROM `quest_details` WHERE `ID`=11148; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11148,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11148; +UPDATE `quest_offer_reward` SET `Emote1`=1, `EmoteDelay1`=2000 WHERE `ID`=11148; + +-- Quest "Direhorn Raiders" +UPDATE `quest_offer_reward` SET `Emote1`=273 WHERE `ID`=11156; + +-- Quest "The Reagent Thief" +UPDATE `quest_offer_reward` SET `Emote2`=0, `EmoteDelay1`=1000 WHERE `ID`=11173; + +-- Quest "The Grimtotem Weapon" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11169; +UPDATE `quest_offer_reward` SET `EmoteDelay1`=1500 WHERE `ID`=11169; + +-- Quest "The Zeppelin Crash" +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=11172; + +-- Quest "Corrosion Prevention" +DELETE FROM `quest_details` WHERE `ID`=11174; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(11174,5,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11174; + +-- Quest "Secure the Cargo!" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11207; + +-- Quest "The Apothecary's Letter" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=11185; +UPDATE `quest_offer_reward` SET `EmoteDelay1`=1500, `Emote2`=1 WHERE `ID`=11185; + +-- Quest "Justice for the Hyals" +UPDATE `quest_offer_reward` SET `EmoteDelay1`=1000 WHERE `ID`=11151; + +-- Quest "Peace at Last" +UPDATE `quest_offer_reward` SET `EmoteDelay1`=1000, `Emote2`=1 WHERE `ID`=11152; + +-- Quest "Shadowshard Fragments" +DELETE FROM `quest_details` WHERE `ID`=7070; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7070,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=7070; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=7070; +*/ diff --git a/sql/updates/world/4.3.4/2018_08_26_04_world_from_335_was_2018_08_26_06_world_335.sql b/sql/updates/world/4.3.4/2018_08_26_04_world_from_335_was_2018_08_26_06_world_335.sql new file mode 100644 index 0000000000..c45ae568d1 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_26_04_world_from_335_was_2018_08_26_06_world_335.sql @@ -0,0 +1,2 @@ +-- quest 787 "The New Horde" completion text +-- UPDATE `quest_offer_reward` SET `RewardText`= "Another one of Eitrigg's recruits, hm?$B$BA sorry state of affairs we find ourselves in if this is the best the Horde can produce. No matter. By the time we think you're ready to leave the Valley, you'll be a proud warrior of the Horde." WHERE `ID`=787; diff --git a/sql/updates/world/4.3.4/2018_08_26_05_world_from_335_was_2018_08_26_07_world_335.sql b/sql/updates/world/4.3.4/2018_08_26_05_world_from_335_was_2018_08_26_07_world_335.sql new file mode 100644 index 0000000000..b2ebce6cca --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_26_05_world_from_335_was_2018_08_26_07_world_335.sql @@ -0,0 +1,72 @@ +/* +-- Duriel Moonfire +DELETE FROM `smart_scripts` WHERE `entryorguid`=12860 AND `source_type`=0 AND `id`=2; +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 +(12860,0,2,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Duriel Moonfire - Just Summoned - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=12860; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12860,0,0,"Who dares attack the Silverwing Outpost?!?",14,0,100,15,0,0,8279,0,"Duriel Moonfire"); + +-- Torek +DELETE FROM `smart_scripts` WHERE `entryorguid`=12858 AND `source_type`=0 AND `id`>16; +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 +(12858,0,17,0,4,0,50,0,0,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torek - On Aggro - Say Line 5"), +(12858,0,18,0,40,0,100,1,1,12858,0,0,54,3000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torek - On Waypoint 1 Reached - Pause Waypoint"), +(12858,0,19,0,40,0,100,1,1,12858,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torek - On Waypoint 1 Reached - Set Run On"), +(12858,0,20,0,40,0,100,1,20,12858,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torek - On Waypoint 20 Reached - Set Run Off"), +(12858,0,21,0,1,1,100,0,5000,10000,20000,30000,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torek - Out of Combat - Say Line 6 (Phase 1)"), +(12858,0,22,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torek - On Respawn - Set Event Phase 1"), +(12858,0,23,0,19,0,100,0,6544,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Torek - On Quest 'Torek's Assault' Taken - Set Event Phase 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=12858 AND `GroupID` IN (5,6); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12858,5,0,"For the Horde!",12,0,100,0,0,0,8283,0,"Torek"), +(12858,6,0,"Steady, people. We'll raid soon enough.",12,0,100,0,0,0,8420,0,"Torek"), +(12858,6,1,"With luck, we'll gain some good scars today.",12,0,100,0,0,0,8421,0,"Torek"), +(12858,6,2,"These woods make my tusks itch...",12,0,100,0,0,0,8422,0,"Torek"), +(12858,6,3,"They say Duriel is a fierce night elf. It'll be a good fight!",12,0,100,0,0,0,8423,0,"Torek"), +(12858,6,4,"We'll be notching our axes after this.",12,0,100,0,0,0,8424,0,"Torek"), +(12858,6,5,"Stay calm, people. We don't want to give away our position.",12,0,100,0,0,0,8425,0,"Torek"); + +-- Splintertree Raider 1 +UPDATE `creature_template_addon` SET `bytes1`=0 WHERE `entry`=12859; +DELETE FROM `smart_scripts` WHERE `entryorguid`=-32380 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=12859 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 +(-32380,0,0,0,11,0,100,0,0,0,0,0,2,113,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Respawn - Set Faction 113"), +(-32380,0,1,2,38,0,100,0,1,1,0,0,2,83,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Set Faction 83"), +(-32380,0,2,3,61,0,100,0,0,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Remove Standstate Kneel"), +(-32380,0,3,4,61,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Set React State 'Aggresive'"), +(-32380,0,4,0,61,0,100,0,0,0,0,0,29,2,45,0,0,0,0,19,12858,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Follow Torek"), +(-32380,0,5,0,7,0,100,0,0,0,0,0,29,2,45,0,0,0,0,19,12858,0,0,0,0,0,0,"Splintertree Raider - On Evade - Follow Torek"), +(-32380,0,6,0,38,0,100,0,2,2,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 2 2 - Despawn in 1000 ms"), +(-32380,0,7,0,1,0,100,0,1000,1000,1000,1000,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - Out of Combat - Set Home Position"), +(-32380,0,8,0,11,0,100,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Respawn - Set Flag Standstate 'Kneel'"); + +-- Splintertree Raider 2 +DELETE FROM `smart_scripts` WHERE `entryorguid`=-32379 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 +(-32379,0,0,0,11,0,100,512,0,0,0,0,2,113,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Respawn - Set Faction 113"), +(-32379,0,1,2,38,0,100,512,1,1,0,0,2,83,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Set Faction 83"), +(-32379,0,2,3,61,0,100,512,0,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Remove Standstate Kneel"), +(-32379,0,3,4,61,0,100,512,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Set React State 'Aggresive'"), +(-32379,0,4,0,61,0,100,512,0,0,0,0,29,2,315,0,0,0,0,19,12858,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Follow Torek"), +(-32379,0,5,0,7,0,100,512,0,0,0,0,29,2,315,0,0,0,0,19,12858,0,0,0,0,0,0,"Splintertree Raider - On Evade - Follow Torek"), +(-32379,0,6,0,38,0,100,512,2,2,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 2 2 - Despawn in 1000 ms"), +(-32379,0,7,0,1,0,100,512,1000,1000,1000,1000,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - Out of Combat - Set Home Position"), +(-32379,0,8,0,11,0,100,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Respawn - Set Flag Standstate 'Kneel'"); + +-- Splintertree Raider 3 +DELETE FROM `smart_scripts` WHERE `entryorguid`=-32378 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 +(-32378,0,0,0,11,0,100,512,0,0,0,0,2,113,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Respawn - Set Faction 113"), +(-32378,0,1,2,38,0,100,512,1,1,0,0,2,83,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Set Faction 83"), +(-32378,0,2,3,61,0,100,512,0,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Remove Standstate Kneel"), +(-32378,0,3,4,61,0,100,512,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Set React State 'Aggresive'"), +(-32378,0,4,0,61,0,100,512,0,0,0,0,29,2,360,0,0,0,0,19,12858,0,0,0,0,0,0,"Splintertree Raider - On Data Set 1 1 - Follow Torek"), +(-32378,0,5,0,7,0,100,512,0,0,0,0,29,2,360,0,0,0,0,19,12858,0,0,0,0,0,0,"Splintertree Raider - On Evade - Follow Torek"), +(-32378,0,6,0,38,0,100,512,2,2,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Data Set 2 2 - Despawn in 1000 ms"), +(-32378,0,7,0,1,0,100,512,1000,1000,1000,1000,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - Out of Combat - Set Home Position"), +(-32378,0,8,0,11,0,100,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Splintertree Raider - On Respawn - Set Flag Standstate 'Kneel'"); +*/ diff --git a/sql/updates/world/4.3.4/2018_08_26_06_world_from_335_was_2018_08_26_08_world_335.sql b/sql/updates/world/4.3.4/2018_08_26_06_world_from_335_was_2018_08_26_08_world_335.sql new file mode 100644 index 0000000000..8516167d65 --- /dev/null +++ b/sql/updates/world/4.3.4/2018_08_26_06_world_from_335_was_2018_08_26_08_world_335.sql @@ -0,0 +1,183 @@ +/* +-- Quest "Missing Crystals" +DELETE FROM `quest_details` WHERE `ID`=9435; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(9435,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=9435; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=9435; + +-- Quest "Down the Coast" +DELETE FROM `quest_details` WHERE `ID`=536; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(536,7,0,0,0,0,0,0,0,0); + +-- Quest "Farren's Proof" +DELETE FROM `quest_details` WHERE `ID`=559; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(559,6,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=559; + +-- Quest "Farren's Proof (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=560; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(560,6,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=560; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=560; + +-- Quest "Stormwind Ho!" +DELETE FROM `quest_details` WHERE `ID`=562; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(562,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=562; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=562; + +-- Quest "Reassignment" +DELETE FROM `quest_details` WHERE `ID`=563; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(563,1,0,0,0,0,0,0,0,0); + +-- Quest "Costly Menace" +DELETE FROM `quest_details` WHERE `ID`=564; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(564,1,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=564; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=564; + +-- Quest "Soothing Turtle Bisque" +DELETE FROM `quest_details` WHERE `ID`=555; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(555,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=555; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=555; + +-- Quest "Foreboding Plans" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=510; + +-- Quest "Crushridge Bounty" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=500; + +-- Quest "In the Name of the Light" +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=66 WHERE `ID`=1053; + +-- Quest "Encrypted Letter" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=511; + +-- Quest "Letter to Stormpike" +DELETE FROM `quest_details` WHERE `ID`=514; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(514,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=514; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=514; + +-- Quest "Further Mysteries" +DELETE FROM `quest_details` WHERE `ID`=525; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(525,1,6,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=525; + +-- Quest "Dark Council" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=537; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=537; + +-- Quest "MacKreel's Moonshine" +DELETE FROM `quest_details` WHERE `ID`=647; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(647,5,1,5,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=647; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=647; + +-- Quest "Hints of a New Plague?" +DELETE FROM `quest_details` WHERE `ID`=659; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(659,1,1,6,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=659; + +-- Quest "Hints of a New Plague? (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=658; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(658,6,1,1,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=658; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=658; + +-- Quest "Hints of a New Plague? (Part 3)" +DELETE FROM `quest_details` WHERE `ID`=657; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(657,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=657; + +-- Quest "Hints of a New Plague? (Part 4)" +DELETE FROM `quest_details` WHERE `ID`=660; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(660,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=660; + +-- Quest "Hints of a New Plague? (Part 5)" +DELETE FROM `quest_details` WHERE `ID`=661; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(661,11,1,6,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=11, `Emote2`=1, `Emote3`=2 WHERE `ID`=661; + +-- Quest "Bartolo's Yeti Fur Cloak" +DELETE FROM `quest_details` WHERE `ID`=565; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(565,94,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=94, `EmoteOnComplete`=94 WHERE `ID`=565; +UPDATE `quest_offer_reward` SET `Emote1`=94 WHERE `ID`=565; + +-- Quest "Noble Deaths" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=512; + +-- Quest "Assassin's Contract" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=522; + +-- Quest "Baron's Demise" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=523; +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=523; + +-- Quest "The Ensorcelled Parchment" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=551; +UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=551; + +-- Quest "Stormpike's Deciphering" +DELETE FROM `quest_details` WHERE `ID`=554; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(554,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=554; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=554; + +-- Quest "Proving Grounds" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=7162; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=7162; + +-- Quest "Rise and Be Recognized" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1, `CompletionText`="Most do not live long enough to rise above their own mediocrity. You have proven yourself to be an exemplary soldier, $c. The time has come.$B$BPresent your insignia." WHERE `ID`=7168; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=7168; + +-- Quest "Honored Amongst the Guard" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5, `CompletionText`="The base buzzes with news of your exploits in the Field of Strife! You have struck mighty blows against our enemy - crushing their morale! For this, you have earned a rank of honor among the Stormpike.$B$BPresent your insignia." WHERE `ID`=7169; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=7169; + +-- Quest "Earned Reverence" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6, `CompletionText`="I must know, $n. When you look directly into the eyes of the enemy, do you see fear? Do they now cower in your presence? They must realize that they are defeated!$B$BYou have earned reverence among the Guard. Present your insignia!" WHERE `ID`=7170; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=7170; + +-- Quest "Legendary Heroes" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=66, `EmoteOnComplete`=66, `CompletionText`="Before me stands an exalted hero of the Alliance.$B$B$B$BFew have earned such a rank among the Stormpike. I have watched the enemy fall before you. I have seen their resolve crumble in your presence. When you enter the fray, you become the beacon of hope for our forces!$B$BPresent your insignia." WHERE `ID`=7171; +UPDATE `quest_offer_reward` SET `Emote1`=25 WHERE `ID`=7171; + +-- Quest "The Eye of Command" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5, `CompletionText`="Let them hear your voice, commander $n! Let them know fear. Show them what power the Stormpike holds in their rank!$B$BPresent your insignia." WHERE `ID`=7172; +UPDATE `quest_offer_reward` SET `Emote1`=66, `RewardText`="It is you who must lead our troops to victory, Commander! The soldiers are under your command. They will follow your direct orders. Lead them... Crush the Frostwolf." WHERE `ID`=7172; + +-- Quest "Alterac Valley Graveyards" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=7081; +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=7081; + +-- Quest "Towers and Bunkers" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=7102; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=7102; + +-- Quest "Capture a Mine" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=7122; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=7122; +*/ diff --git a/src/common/Utilities/EventProcessor.h b/src/common/Utilities/EventProcessor.h index a90fa4c3d0..2ab8d0c46d 100644 --- a/src/common/Utilities/EventProcessor.h +++ b/src/common/Utilities/EventProcessor.h @@ -22,6 +22,7 @@ #include "Define.h" #include "Duration.h" #include +#include "Random.h" class EventProcessor; @@ -81,6 +82,7 @@ class TC_COMMON_API EventProcessor void KillAllEvents(bool force); void AddEvent(BasicEvent* event, uint64 e_time, bool set_addtime = true); void AddEventAtOffset(BasicEvent* event, Milliseconds offset) { AddEvent(event, CalculateTime(offset.count())); } + void AddEventAtOffset(BasicEvent* event, Milliseconds offset, Milliseconds offset2) { AddEvent(event, CalculateTime(urand(offset.count(), offset2.count()))); } void ModifyEventTime(BasicEvent* event, uint64 newTime); uint64 CalculateTime(uint64 t_offset) const { return m_time + t_offset; } diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index f3a7f295be..7701d998db 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -588,6 +588,39 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u } break; } + case SMART_ACTION_SELF_CAST: + { + if (targets.empty()) + break; + + if (e.action.cast.targetsLimit) + Trinity::Containers::RandomResize(targets, e.action.cast.targetsLimit); + + TriggerCastFlags triggerFlags = TRIGGERED_NONE; + if (e.action.cast.castFlags & SMARTCAST_TRIGGERED) + { + if (e.action.cast.triggerFlags) + triggerFlags = TriggerCastFlags(e.action.cast.triggerFlags); + else + triggerFlags = TRIGGERED_FULL_MASK; + } + + for (WorldObject* target : targets) + { + Unit* uTarget = target->ToUnit(); + if (!uTarget) + continue; + + if (!(e.action.cast.castFlags & SMARTCAST_AURA_NOT_PRESENT) || !uTarget->HasAura(e.action.cast.spell)) + { + if (e.action.cast.castFlags & SMARTCAST_INTERRUPT_PREVIOUS) + uTarget->InterruptNonMeleeSpells(false); + + uTarget->CastSpell(uTarget, e.action.cast.spell, triggerFlags); + } + } + break; + } case SMART_ACTION_INVOKER_CAST: { Unit* tempLastInvoker = GetLastInvoker(unit); @@ -597,7 +630,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u if (targets.empty()) break; - if (e.action.cast.targetsLimit > 0 && targets.size() > e.action.cast.targetsLimit) + if (e.action.cast.targetsLimit) Trinity::Containers::RandomResize(targets, e.action.cast.targetsLimit); for (WorldObject* target : targets) diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index f822391dab..a45740c1ed 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -517,9 +517,8 @@ bool SmartAIMgr::IsTargetValid(SmartScriptHolder const& e) case SMART_TARGET_INVOKER_PARTY: if (e.GetScriptType() != SMART_SCRIPT_TYPE_TIMED_ACTIONLIST && e.GetEventType() != SMART_EVENT_LINK && !EventHasInvoker(e.event.type)) { - TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry %d SourceType %u Event %u Action %u has invoker target, but action does not provide any invoker!", e.entryOrGuid, e.GetScriptType(), e.GetEventType(), e.GetActionType()); - // allow this to load for now - // return false; + TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry %d SourceType %u Event %u Action %u has invoker target, but event does not provide any invoker!", e.entryOrGuid, e.GetScriptType(), e.GetEventType(), e.GetActionType()); + return false; } break; case SMART_TARGET_PLAYER_RANGE: @@ -1187,8 +1186,15 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e) return false; break; } - case SMART_ACTION_ADD_AURA: case SMART_ACTION_INVOKER_CAST: + if (e.GetScriptType() != SMART_SCRIPT_TYPE_TIMED_ACTIONLIST && e.GetEventType() != SMART_EVENT_LINK && !EventHasInvoker(e.event.type)) + { + TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry %d SourceType %u Event %u Action %u has invoker cast action, but event does not provide any invoker!", e.entryOrGuid, e.GetScriptType(), e.GetEventType(), e.GetActionType()); + return false; + } + // no break + case SMART_ACTION_SELF_CAST: + case SMART_ACTION_ADD_AURA: if (!IsSpellValid(e, e.action.cast.spell)) return false; break; diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.h b/src/server/game/AI/SmartScripts/SmartScriptMgr.h index fd96ceee0a..3cdb370d05 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.h +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.h @@ -532,7 +532,7 @@ enum SMART_ACTION SMART_ACTION_ADD_NPC_FLAG = 82, // Flags SMART_ACTION_REMOVE_NPC_FLAG = 83, // Flags SMART_ACTION_SIMPLE_TALK = 84, // groupID, can be used to make players say groupID, Text_over event is not triggered, whisper can not be used (Target units will say the text) - SMART_ACTION_INVOKER_CAST = 85, // spellID, castFlags, if avaliable, last used invoker will cast spellId with castFlags on targets + SMART_ACTION_SELF_CAST = 85, // spellID, castFlags SMART_ACTION_CROSS_CAST = 86, // spellID, castFlags, CasterTargetType, CasterTarget param1, CasterTarget param2, CasterTarget param3, ( + the origonal target fields as Destination target), CasterTargets will cast spellID on all Targets (use with caution if targeting multiple * multiple units) SMART_ACTION_CALL_RANDOM_TIMED_ACTIONLIST = 87, // script9 ids 1-9 SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST = 88, // script9 id min, max @@ -581,9 +581,9 @@ enum SMART_ACTION SMART_ACTION_SPAWN_SPAWNGROUP = 131, // Group ID, min secs, max secs, spawnflags SMART_ACTION_DESPAWN_SPAWNGROUP = 132, // Group ID, min secs, max secs, spawnflags SMART_ACTION_RESPAWN_BY_SPAWNID = 133, // spawnType, spawnId + SMART_ACTION_INVOKER_CAST = 134, // spellID, castFlags - - SMART_ACTION_END = 134 + SMART_ACTION_END = 135 }; struct SmartAction diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index a5c9d61d3f..23b418496f 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -927,21 +927,39 @@ bool LFGMgr::CheckGroupRoles(LfgRolesMap& groles, LFGDungeonData const* dungeon) */ void LFGMgr::MakeNewGroup(LfgProposal const& proposal) { - GuidList players; + GuidList players, tankPlayers, healPlayers, dpsPlayers; GuidList playersToTeleport; for (LfgProposalPlayerContainer::const_iterator it = proposal.players.begin(); it != proposal.players.end(); ++it) { ObjectGuid guid = it->first; if (guid == proposal.leader) - players.push_front(guid); - else players.push_back(guid); + else + switch (it->second.role & ~PLAYER_ROLE_LEADER) + { + case PLAYER_ROLE_TANK: + tankPlayers.push_back(guid); + break; + case PLAYER_ROLE_HEALER: + healPlayers.push_back(guid); + break; + case PLAYER_ROLE_DAMAGE: + dpsPlayers.push_back(guid); + break; + default: + ASSERT(false, "Invalid LFG role %u", it->second.role); + break; + } if (proposal.isNew || GetGroup(guid) != proposal.group) playersToTeleport.push_back(guid); } + players.splice(players.end(), tankPlayers); + players.splice(players.end(), healPlayers); + players.splice(players.end(), dpsPlayers); + // Set the dungeon difficulty LFGDungeonData const* dungeon = GetLFGDungeon(proposal.dungeonId); ASSERT(dungeon); diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index f2d0a503e4..0026afd844 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -746,8 +746,17 @@ void GameObject::Update(uint32 diff) //! The GetOwnerGUID() check is mostly for compatibility with hacky scripts - 99% of the time summoning should be done trough spells. if (GetSpellId() || GetOwnerGUID()) { - SetRespawnTime(0); - Delete(); + //Don't delete spell spawned chests, which are not consumed on loot + if (m_respawnTime > 0 && GetGoType() == GAMEOBJECT_TYPE_CHEST && !GetGOInfo()->IsDespawnAtAction()) + { + UpdateObjectVisibility(); + SetLootState(GO_READY); + } + else + { + SetRespawnTime(0); + Delete(); + } return; } diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index aefa13a978..5433c6340c 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -16565,10 +16565,8 @@ void Player::KilledMonsterCredit(uint32 entry, ObjectGuid guid /*= ObjectGuid::E } } -void Player::KilledPlayerCredit() +void Player::KilledPlayerCredit(uint16 count) { - uint16 addkillcount = 1; - for (uint8 i = 0; i < MAX_QUEST_LOG_SIZE; ++i) { uint32 questid = GetQuestSlotQuestId(i); @@ -16584,27 +16582,38 @@ void Player::KilledPlayerCredit() { if (qInfo->HasSpecialFlag(QUEST_SPECIAL_FLAGS_PLAYER_KILL)) { - uint32 reqkill = qInfo->GetPlayersSlain(); - uint16 curkill = q_status.PlayerCount; - - if (curkill < reqkill) - { - q_status.PlayerCount = curkill + addkillcount; - - m_QuestStatusSave[questid] = QUEST_DEFAULT_SAVE_TYPE; - - SendQuestUpdateAddPlayer(qInfo, curkill, addkillcount); - } - - if (CanCompleteQuest(questid)) - CompleteQuest(questid); - - break; + KilledPlayerCreditForQuest(count, qInfo); + break; // there is only one quest per zone } } } } +void Player::KilledPlayerCreditForQuest(uint16 count, Quest const* quest) +{ + uint32 const questId = quest->GetQuestId(); + auto it = m_QuestStatus.find(questId); + if (it == m_QuestStatus.end()) + return; + QuestStatusData& questStatus = it->second; + + uint16 curKill = questStatus.PlayerCount; + uint32 reqKill = quest->GetPlayersSlain(); + + if (curKill < reqKill) + { + count = std::min(reqKill - curKill, count); + questStatus.PlayerCount = curKill + count; + + m_QuestStatusSave[quest->GetQuestId()] = QUEST_DEFAULT_SAVE_TYPE; + + SendQuestUpdateAddPlayer(quest, curKill, count); + } + + if (CanCompleteQuest(questId)) + CompleteQuest(questId); +} + void Player::KillCreditGO(uint32 entry, ObjectGuid guid) { uint16 addCastCount = 1; diff --git a/src/server/game/Entities/Player/Player.h b/src/server/game/Entities/Player/Player.h index 93a555b57b..da89290b97 100644 --- a/src/server/game/Entities/Player/Player.h +++ b/src/server/game/Entities/Player/Player.h @@ -1426,7 +1426,8 @@ class TC_GAME_API Player : public Unit, public GridObject void ItemRemovedQuestCheck(uint32 entry, uint32 count); void KilledMonster(CreatureTemplate const* cInfo, ObjectGuid guid); void KilledMonsterCredit(uint32 entry, ObjectGuid guid = ObjectGuid::Empty); - void KilledPlayerCredit(); + void KilledPlayerCredit(uint16 count = 1); + void KilledPlayerCreditForQuest(uint16 count, Quest const* quest); void KillCreditGO(uint32 entry, ObjectGuid guid = ObjectGuid::Empty); void TalkedToCreature(uint32 entry, ObjectGuid guid); void MoneyChanged(uint32 value); diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 2918b56c0e..5c8bc51ca7 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -5976,28 +5976,36 @@ void ObjectMgr::LoadGossipText() for (uint8 i = 0; i < MAX_GOSSIP_TEXT_OPTIONS; ++i) { - gText.Options[i].Text_0 = fields[cic++].GetString(); - gText.Options[i].Text_1 = fields[cic++].GetString(); - gText.Options[i].BroadcastTextID = fields[cic++].GetUInt32(); - gText.Options[i].Language = fields[cic++].GetUInt8(); - gText.Options[i].Probability = fields[cic++].GetFloat(); + GossipTextOption& gOption = gText.Options[i]; + gOption.Text_0 = fields[cic++].GetString(); + gOption.Text_1 = fields[cic++].GetString(); + gOption.BroadcastTextID = fields[cic++].GetUInt32(); + gOption.Language = fields[cic++].GetUInt8(); + gOption.Probability = fields[cic++].GetFloat(); for (uint8 j = 0; j < MAX_GOSSIP_TEXT_EMOTES; ++j) { - gText.Options[i].Emotes[j]._Delay = fields[cic++].GetUInt16(); - gText.Options[i].Emotes[j]._Emote = fields[cic++].GetUInt16(); + gOption.Emotes[j]._Delay = fields[cic++].GetUInt16(); + gOption.Emotes[j]._Emote = fields[cic++].GetUInt16(); } - } - for (uint8 i = 0; i < MAX_GOSSIP_TEXT_OPTIONS; i++) - { - if (gText.Options[i].BroadcastTextID) + // check broadcast_text correctness + if (gOption.BroadcastTextID) { - if (!sObjectMgr->GetBroadcastText(gText.Options[i].BroadcastTextID)) + if (BroadcastText const* bcText = sObjectMgr->GetBroadcastText(gOption.BroadcastTextID)) { - TC_LOG_ERROR("sql.sql", "GossipText (Id: %u) in table `npc_text` has non-existing or incompatible BroadcastTextID%u %u.", id, i, gText.Options[i].BroadcastTextID); - gText.Options[i].BroadcastTextID = 0; + if (bcText->MaleText[DEFAULT_LOCALE] != gOption.Text_0) + TC_LOG_INFO("sql.sql", "Row %u in table `npc_text` has mismatch between text%u_0 and the corresponding MaleText in `broadcast_text` row %u", id, i, gOption.BroadcastTextID); + if (bcText->FemaleText[DEFAULT_LOCALE] != gOption.Text_1) + TC_LOG_INFO("sql.sql", "Row %u in table `npc_text` has mismatch between text%u_1 and the corresponding FemaleText in `broadcast_text` row %u", id, i, gOption.BroadcastTextID); } + else + { + TC_LOG_ERROR("sql.sql", "GossipText (Id: %u) in table `npc_text` has non-existing or incompatible BroadcastTextID%u %u.", id, i, gOption.BroadcastTextID); + gOption.BroadcastTextID = 0; + } + + } } diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index 34be0fa5f1..8c5adee9a8 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -860,6 +860,18 @@ void Map::Update(uint32 t_diff) for (Unit* unit : toVisit) VisitNearbyCellsOf(unit, grid_object_update, world_object_update); } + + { // Update any creatures that own auras the player has applications of + std::unordered_set toVisit; + for (std::pair pair : player->GetAppliedAuras()) + { + if (Unit* caster = pair.second->GetBase()->GetCaster()) + if (caster->GetTypeId() != TYPEID_PLAYER && !caster->IsWithinDistInMap(player, GetVisibilityRange(), false)) + toVisit.insert(caster); + } + for (Unit* unit : toVisit) + VisitNearbyCellsOf(unit, grid_object_update, world_object_update); + } } // non-player active objects, increasing iterator in the loop in case of object removal diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index a278b7c0f6..d64159209a 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -2307,11 +2307,7 @@ public: if (!target->IsAlive()) return true; - char* damageStr = strtok((char*)args, " "); - if (!damageStr) - return false; - - int32 damage_int = atoi((char*)damageStr); + int32 damage_int = atoi((char*)str); if (damage_int <= 0) return true; diff --git a/src/server/scripts/Commands/cs_quest.cpp b/src/server/scripts/Commands/cs_quest.cpp index 5f896b1a5c..ca9f8eeeb1 100644 --- a/src/server/scripts/Commands/cs_quest.cpp +++ b/src/server/scripts/Commands/cs_quest.cpp @@ -230,6 +230,11 @@ public: player->KillCreditGO(creature); } + // player kills + if (quest->HasSpecialFlag(QUEST_SPECIAL_FLAGS_PLAYER_KILL)) + if (uint32 reqPlayers = quest->GetPlayersSlain()) + player->KilledPlayerCreditForQuest(reqPlayers, quest); + // If the quest requires reputation to complete if (uint32 repFaction = quest->GetRepObjectiveFaction()) { diff --git a/src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp b/src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp index a0efec1b1d..a937e731f5 100644 --- a/src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp +++ b/src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp @@ -212,7 +212,7 @@ void AddSC_boss_wushoolay(); void AddSC_boss_zanzil(); void AddSC_instance_zulgurub(); //void AddSC_alterac_mountains(); -void AddSC_arathi_highlands(); +//void AddSC_arathi_highlands(); void AddSC_blasted_lands(); void AddSC_dun_morogh(); void AddSC_dun_morogh_area_coldridge_valley(); @@ -433,7 +433,7 @@ void AddEasternKingdomsScripts() AddSC_boss_zanzil(); AddSC_instance_zulgurub(); //AddSC_alterac_mountains(); - AddSC_arathi_highlands(); + //AddSC_arathi_highlands(); AddSC_blasted_lands(); AddSC_dun_morogh(); AddSC_dun_morogh_area_coldridge_valley(); @@ -449,7 +449,7 @@ void AddEasternKingdomsScripts() AddSC_stormwind_city(); AddSC_swamp_of_sorrows(); AddSC_tirisfal_glades(); - AddSC_tol_barad(); + AddSC_tol_barad(); AddSC_undercity(); AddSC_western_plaguelands(); AddSC_wetlands(); diff --git a/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp b/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp deleted file mode 100644 index 86c1510edf..0000000000 --- a/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright (C) 2008-2018 TrinityCore - * Copyright (C) 2006-2009 ScriptDev2 - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see . - */ - -/* ScriptData -SDName: Arathi Highlands -SD%Complete: 100 -SDComment: Quest support: 665 -SDCategory: Arathi Highlands -EndScriptData */ - -/* ContentData -npc_professor_phizzlethorpe -EndContentData */ - -#include "ScriptMgr.h" -#include "ScriptedCreature.h" -#include "ScriptedEscortAI.h" -#include "Player.h" - -/*###### -## npc_professor_phizzlethorpe -######*/ - -enum ProfessorPhizzlethorpe -{ - // Yells - SAY_PROGRESS_1 = 0, - SAY_PROGRESS_2 = 1, - SAY_PROGRESS_3 = 2, - EMOTE_PROGRESS_4 = 3, - SAY_AGGRO = 4, - SAY_PROGRESS_5 = 5, - SAY_PROGRESS_6 = 6, - SAY_PROGRESS_7 = 7, - EMOTE_PROGRESS_8 = 8, - SAY_PROGRESS_9 = 9, - EVENT_SAY_3 = 1, - EVENT_SAY_6 = 2, - EVENT_SAY_8 = 3, - - // Quests - QUEST_SUNKEN_TREASURE = 665, - QUEST_GOGGLE_BOGGLE = 26050, - // Creatures - NPC_VENGEFUL_SURGE = 2776 -}; - -class npc_professor_phizzlethorpe : public CreatureScript -{ - public: - npc_professor_phizzlethorpe() : CreatureScript("npc_professor_phizzlethorpe") { } - - struct npc_professor_phizzlethorpeAI : public EscortAI - { - npc_professor_phizzlethorpeAI(Creature* creature) : EscortAI(creature) { } - - void WaypointReached(uint32 waypointId, uint32 /*pathId*/) override - { - Player* player = GetPlayerForEscort(); - if (!player) - return; - - switch (waypointId) - { - case 6: - Talk(SAY_PROGRESS_2, player); - events.ScheduleEvent(EVENT_SAY_3, 3000); - break; - case 8: - Talk(EMOTE_PROGRESS_4); - me->SummonCreature(NPC_VENGEFUL_SURGE, -2065.505f, -2136.88f, 22.20362f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0); - me->SummonCreature(NPC_VENGEFUL_SURGE, -2059.249f, -2134.88f, 21.51582f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0); - break; - case 11: - Talk(SAY_PROGRESS_5, player); - events.ScheduleEvent(EVENT_SAY_6, 11000); - break; - case 17: - Talk(SAY_PROGRESS_7, player); - events.ScheduleEvent(EVENT_SAY_8, 6000); - break; - } - } - - void JustSummoned(Creature* summoned) override - { - summoned->AI()->AttackStart(me); - } - - void JustEngagedWith(Unit* /*who*/) override - { - Talk(SAY_AGGRO); - } - - void QuestAccept(Player* player, Quest const* quest) override - { - if (quest->GetQuestId() == QUEST_SUNKEN_TREASURE) - { - Talk(SAY_PROGRESS_1, player); - EscortAI::Start(false, false, player->GetGUID(), quest); - me->SetFaction(FACTION_ESCORTEE_N_NEUTRAL_PASSIVE); - } - } - - void UpdateAI(uint32 diff) override - { - Player* player = GetPlayerForEscort(); - if (!player) - return; - - events.Update(diff); - - while (uint32 event = events.ExecuteEvent()) - { - switch (event) - { - case EVENT_SAY_3: - Talk(SAY_PROGRESS_3, player); - break; - case EVENT_SAY_6: - Talk(SAY_PROGRESS_6, player); - SetRun(); - break; - case EVENT_SAY_8: - Talk(EMOTE_PROGRESS_8); - Talk(SAY_PROGRESS_9, player); - player->GroupEventHappens(QUEST_GOGGLE_BOGGLE, me); - break; - } - } - EscortAI::UpdateAI(diff); - } - - EventMap events; - }; - - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_professor_phizzlethorpeAI(creature); - } -}; - -void AddSC_arathi_highlands() -{ - new npc_professor_phizzlethorpe(); -} diff --git a/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp b/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp index ca724f125a..46fcce1fdb 100644 --- a/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp +++ b/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp @@ -22,7 +22,6 @@ #include "CreatureAI.h" #include "GameObject.h" #include "InstanceScript.h" -#include "Map.h" DoorData const doorData[] = { diff --git a/src/server/scripts/Pet/pet_generic.cpp b/src/server/scripts/Pet/pet_generic.cpp index af5115b7b6..fbe7075c19 100644 --- a/src/server/scripts/Pet/pet_generic.cpp +++ b/src/server/scripts/Pet/pet_generic.cpp @@ -406,6 +406,32 @@ class npc_pet_gen_lil_ragnaros : public CreatureScript } }; +enum SoulTrader +{ + SAY_SOUL_TRADER_INTRO = 0, + + SPELL_ETHEREAL_ONSUMMON = 50052, + SPELL_ETHEREAL_PET_REMOVE_AURA = 50055 +}; + +struct npc_pet_gen_soul_trader : public ScriptedAI +{ + npc_pet_gen_soul_trader(Creature* creature) : ScriptedAI(creature) { } + + void LeavingWorld() override + { + if (Unit* owner = me->GetOwner()) + DoCast(owner, SPELL_ETHEREAL_PET_REMOVE_AURA); + } + + void JustAppeared() override + { + Talk(SAY_SOUL_TRADER_INTRO); + if (Unit* owner = me->GetOwner()) + DoCast(owner, SPELL_ETHEREAL_ONSUMMON); + } +}; + void AddSC_generic_pet_scripts() { new npc_pet_gen_baby_blizzard_bear(); @@ -413,4 +439,5 @@ void AddSC_generic_pet_scripts() new npc_pet_gen_pandaren_monk(); new npc_pet_gen_mojo(); new npc_pet_gen_lil_ragnaros(); + RegisterCreatureAI(npc_pet_gen_soul_trader); } diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index 429644c6a7..07ad716712 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -1751,6 +1751,118 @@ class spell_gen_elune_candle : public SpellScriptLoader } }; +// 50051 - Ethereal Pet Aura +enum EtherealPet +{ + NPC_ETHEREAL_SOUL_TRADER = 27914, + + SAY_STEAL_ESSENCE = 1, + SAY_CREATE_TOKEN = 2, + + SPELL_PROC_TRIGGER_ON_KILL_AURA = 50051, + SPELL_ETHEREAL_PET_AURA = 50055, + SPELL_CREATE_TOKEN = 50063, + SPELL_STEAL_ESSENCE_VISUAL = 50101 +}; + +// 50051 - Ethereal Pet Aura +class spell_ethereal_pet_aura : public AuraScript +{ + PrepareAuraScript(spell_ethereal_pet_aura); + + bool CheckProc(ProcEventInfo& eventInfo) + { + uint32 levelDiff = std::abs(GetTarget()->getLevel() - eventInfo.GetProcTarget()->getLevel()); + return levelDiff <= 9; + } + + void HandleProc(AuraEffect const* /*aurEff*/, ProcEventInfo& eventInfo) + { + PreventDefaultAction(); + + std::list minionList; + GetUnitOwner()->GetAllMinionsByEntry(minionList, NPC_ETHEREAL_SOUL_TRADER); + for (Creature* minion : minionList) + { + if (minion->IsAIEnabled) + { + minion->AI()->Talk(SAY_STEAL_ESSENCE); + minion->CastSpell(eventInfo.GetProcTarget(), SPELL_STEAL_ESSENCE_VISUAL); + } + } + } + + void Register() override + { + DoCheckProc += AuraCheckProcFn(spell_ethereal_pet_aura::CheckProc); + OnEffectProc += AuraEffectProcFn(spell_ethereal_pet_aura::HandleProc, EFFECT_0, SPELL_AURA_PROC_TRIGGER_SPELL); + } +}; + +// 50052 - Ethereal Pet onSummon +class spell_ethereal_pet_onsummon : public SpellScript +{ + PrepareSpellScript(spell_ethereal_pet_onsummon); + + bool Validate(SpellInfo const* /*spellInfo*/) override + { + return ValidateSpellInfo({ SPELL_PROC_TRIGGER_ON_KILL_AURA }); + } + + void HandleScriptEffect(SpellEffIndex /*effIndex*/) + { + Unit* target = GetHitUnit(); + target->CastSpell(target, SPELL_PROC_TRIGGER_ON_KILL_AURA, true); + } + + void Register() override + { + OnEffectHitTarget += SpellEffectFn(spell_ethereal_pet_onsummon::HandleScriptEffect, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT); + } +}; + +// 50055 - Ethereal Pet Aura Remove +class spell_ethereal_pet_aura_remove : public SpellScript +{ + PrepareSpellScript(spell_ethereal_pet_aura_remove); + + bool Validate(SpellInfo const* /*spellInfo*/) override + { + return ValidateSpellInfo({ SPELL_ETHEREAL_PET_AURA }); + } + + void HandleScriptEffect(SpellEffIndex /*effIndex*/) + { + GetHitUnit()->RemoveAurasDueToSpell(SPELL_ETHEREAL_PET_AURA); + } + + void Register() override + { + OnEffectHitTarget += SpellEffectFn(spell_ethereal_pet_aura_remove::HandleScriptEffect, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT); + } +}; + +// 50101 - Steal Essence Visual +class spell_steal_essence_visual : public AuraScript +{ + PrepareAuraScript(spell_steal_essence_visual); + + void HandleRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) + { + if (Unit* caster = GetCaster()) + { + caster->CastSpell(caster, SPELL_CREATE_TOKEN, true); + if (Creature* soulTrader = caster->ToCreature()) + soulTrader->AI()->Talk(SAY_CREATE_TOKEN); + } + } + + void Register() override + { + AfterEffectRemove += AuraEffectRemoveFn(spell_steal_essence_visual::HandleRemove, EFFECT_0, SPELL_AURA_DUMMY, AURA_EFFECT_HANDLE_REAL); + } +}; + enum TransporterBackfires { SPELL_TRANSPORTER_MALFUNCTION_POLYMORPH = 23444,