diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 27a1bac8a..fe47fcece 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -610,7 +610,8 @@ INSERT INTO `build_info` VALUES (40000,9,1,0,NULL,NULL,'4CB1433AB637F09F03FBBD1B221B04B0',NULL,NULL,NULL), (40120,9,1,0,NULL,NULL,'04F47EAEFD8BDEFE14AA0350EA336678','853F0F2985CEAED46DF422583CD07A7C',NULL,NULL), (40443,9,1,0,NULL,NULL,'8597BB43E8AB38C85504E8BFB72ABBF5',NULL,NULL,NULL), -(40593,9,1,0,NULL,NULL,'BA14570F2D62D5F61953394164A8DAE2',NULL,NULL,NULL); +(40593,9,1,0,NULL,NULL,'BA14570F2D62D5F61953394164A8DAE2',NULL,NULL,NULL), +(40725,9,1,0,NULL,NULL,'C1EBDBEB9BB2956EBCCEF7C9D27A1B3B',NULL,NULL,NULL); /*!40000 ALTER TABLE `build_info` ENABLE KEYS */; UNLOCK TABLES; @@ -1343,14 +1344,6 @@ INSERT INTO `rbac_linked_permissions` VALUES (198,374), (198,376), (198,377), -(198,378), -(198,379), -(198,380), -(198,381), -(198,382), -(198,384), -(198,385), -(198,386), (198,408), (198,409), (198,410), @@ -1412,9 +1405,6 @@ INSERT INTO `rbac_linked_permissions` VALUES (198,740), (198,741), (198,742), -(198,799), -(198,800), -(198,801), (198,802), (198,803), (198,804), @@ -1433,8 +1423,6 @@ INSERT INTO `rbac_linked_permissions` VALUES (198,824), (198,826), (198,828), -(198,834), -(198,852), (198,855), (198,868), (199,207), @@ -1701,14 +1689,6 @@ INSERT INTO `rbac_permissions` VALUES (375,'Command: gm list'), (376,'Command: gm visible'), (377,'Command: go'), -(378,'Command: go creature'), -(379,'Command: go graveyard'), -(380,'Command: go grid'), -(381,'Command: go object'), -(382,'Command: go taxinode'), -(384,'Command: go trigger'), -(385,'Command: go xyz'), -(386,'Command: go zonexy'), (387,'Command: gobject'), (388,'Command: gobject activate'), (389,'Command: gobject add'), @@ -2096,9 +2076,6 @@ INSERT INTO `rbac_permissions` VALUES (794,'Command: .guild info'), (797,'Command: pvpstats'), (798,'Command: .mod xp'), -(799,'Command: .go bugticket'), -(800,'Command: .go complaintticket'), -(801,'Command: .go suggestionticket'), (802,'Command: .ticket bug'), (803,'Command: .ticket complaint'), (804,'Command: .ticket suggestion'), @@ -2131,7 +2108,6 @@ INSERT INTO `rbac_permissions` VALUES (831,'Command: .ticket reset bug'), (832,'Command: .ticket reset complaint'), (833,'Command: .ticket reset suggestion'), -(834,'Command: go quest'), (835,'Command: debug loadcells'), (836,'Command: .debug boundary'), (837,'Command: npc evade'), @@ -2149,7 +2125,6 @@ INSERT INTO `rbac_permissions` VALUES (849,'Command: list scenes'), (850,'Command: reload scenes'), (851,'Command: reload areatrigger_templates'), -(852,'Command: go offset'), (853,'Command: .reload conversation_template'), (854,'Command: .debug conversation'), (855,'Command: debug play music'), @@ -2166,7 +2141,8 @@ INSERT INTO `rbac_permissions` VALUES (871,'Command: debug instancespawn'), (872,'Command: server debug'), (873,'Command: reload creature_movement_override'), -(881,'Command: reload vehicle_template'); +(881,'Command: reload vehicle_template'), +(882,'Command: reload spell_script_names'); /*!40000 ALTER TABLE `rbac_permissions` ENABLE KEYS */; UNLOCK TABLES; @@ -2214,7 +2190,7 @@ CREATE TABLE `realmlist` ( `timezone` tinyint(3) unsigned NOT NULL DEFAULT '0', `allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', `population` float unsigned NOT NULL DEFAULT '0', - `gamebuild` int(10) unsigned NOT NULL DEFAULT '40593', + `gamebuild` int(10) unsigned NOT NULL DEFAULT '40725', `Region` tinyint(3) unsigned NOT NULL DEFAULT '1', `Battlegroup` tinyint(3) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), @@ -2229,7 +2205,7 @@ CREATE TABLE `realmlist` ( LOCK TABLES `realmlist` WRITE; /*!40000 ALTER TABLE `realmlist` DISABLE KEYS */; INSERT INTO `realmlist` VALUES -(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,40593,1,1); +(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,40725,1,1); /*!40000 ALTER TABLE `realmlist` ENABLE KEYS */; UNLOCK TABLES; @@ -2264,16 +2240,16 @@ INSERT INTO `updates` VALUES ('2014_11_04_00_auth.sql','3AFC68B2375C2A417DDEA94583C53AFF83DE50DF','ARCHIVED','2015-03-21 16:55:52',0), ('2014_11_09_00_auth.sql','B8DD1A7047C0FDDB80344B239343EC33BF1A0D97','ARCHIVED','2015-03-21 16:55:52',0), ('2014_11_10_00_auth.sql','8FBA737A1D3FF4631A1E662A5B500A8BD304EC63','ARCHIVED','2015-03-21 16:55:52',0), -('2014_11_10_00_auth_from_335.sql','0E3CB119442D09DD88E967015319BBC8DAFBBFE0','ARCHIVED','2015-03-21 16:55:52',0), -('2014_11_10_01_auth.sql','327E77A1DA3546D5275AB249915DD57EDD6FDD3D','ARCHIVED','2015-03-21 16:55:52',0), +('2014_11_10_00_auth_from_335.sql','0E3CB119442D09DD88E967015319BBC8DAFBBFE0','ARCHIVED','2014-11-10 00:00:00',0), +('2014_11_10_01_auth.sql','327E77A1DA3546D5275AB249915DD57EDD6FDD3D','ARCHIVED','2014-11-10 00:00:01',0), ('2014_11_23_00_auth.sql','0BBEB3EB3AED0FEF277A062819B6B2C00084A742','ARCHIVED','2015-03-21 16:55:52',0), ('2014_11_25_00_auth.sql','4F45CDB26BDBB3EE83F1988E3D7818C5926ADC02','ARCHIVED','2015-03-21 16:55:52',0), ('2014_12_05_00_auth.sql','6A7BBCEF43111C73A2D2C3CCB6911BE50DE7DD94','ARCHIVED','2015-03-21 16:55:52',0), -('2014_12_10_00_auth.sql','821703A96D80F9080074852B5A46E2909C9562EA','ARCHIVED','2015-03-21 16:55:52',0), +('2014_12_10_00_auth.sql','821703A96D80F9080074852B5A46E2909C9562EA','ARCHIVED','2014-12-10 00:00:00',0), ('2014_12_19_00_auth.sql','44D8E12FFF327AD07878FBDF8D9C16B6B7DCB122','ARCHIVED','2015-03-21 16:55:52',0), ('2014_12_20_00_auth.sql','4DAA02AE285C02AE6C82EA2C8B97AC71990F1085','ARCHIVED','2015-03-21 16:55:52',0), ('2014_12_25_00_auth.sql','61411930F482BC73FC7FD2C370C811E944F5FF92','ARCHIVED','2015-03-21 16:55:52',0), -('2014_12_27_00_auth.sql','CE2E5D2CD82E79C25294539ADED27A1429105B43','ARCHIVED','2015-03-21 16:55:52',0), +('2014_12_27_00_auth.sql','CE2E5D2CD82E79C25294539ADED27A1429105B43','ARCHIVED','2014-12-21 00:00:00',0), ('2014_12_28_00_auth.sql','0A913217610E76AFF119C27259737BBC523090E6','ARCHIVED','2015-03-21 16:55:52',0), ('2015_02_22_00_auth.sql','21CCCF8B01252E16CA3D6C9E3E8DAA4C9B28ED6E','ARCHIVED','2015-03-21 16:55:52',0), ('2015_03_01_00_auth.sql','911881E273207FF6182D1FDAC8C85FFAE8F1C852','ARCHIVED','2015-03-21 16:55:52',0), @@ -2306,14 +2282,14 @@ INSERT INTO `updates` VALUES ('2015_10_09_00_auth.sql','B6D643D444C6AE711503F73B96B6252A852913D6','ARCHIVED','2015-10-10 08:30:48',0), ('2015_10_16_00_auth.sql','366AFFD1088762866091A81CE1EC64138B8B35F1','ARCHIVED','2015-11-08 00:46:02',0), ('2015_10_17_00_auth.sql','AC0D45E905033F42093852D2C4476663BDACCB3D','ARCHIVED','2015-10-17 12:39:12',0), -('2015_11_01_00_auth_2015_08_21_00.sql','C31A9E1D28E11B60BE8F8198637DD51F6D75123F','ARCHIVED','2015-11-01 14:50:26',0), -('2015_11_08_00_auth.sql','0ACDD35EC9745231BCFA701B78056DEF94D0CC53','ARCHIVED','2015-11-08 00:51:45',0), +('2015_11_01_00_auth_2015_08_21_00.sql','C31A9E1D28E11B60BE8F8198637DD51F6D75123F','ARCHIVED','2015-08-21 00:00:00',0), +('2015_11_08_00_auth.sql','0ACDD35EC9745231BCFA701B78056DEF94D0CC53','ARCHIVED','2015-11-07 00:00:00',0), ('2015_11_21_00_auth.sql','575A1D697CC6C7C517F7CCB950988267C99CE7FA','ARCHIVED','2015-11-21 21:25:38',0), ('2015_12_07_00_auth.sql','24A07AC1F38E5D26A3599FC06D29E267418F69F3','ARCHIVED','2015-12-07 20:55:48',0), ('2016_01_13_00_auth.sql','114527BCCB0DE286CBE6FDA3029DD0523D1037FA','ARCHIVED','2016-01-13 21:39:13',0), ('2016_03_22_01_auth_2016_01_13_00_auth.sql','24615CC69B3CD7BB4699874647C35BA86E8A93FD','ARCHIVED','2016-03-22 22:55:13',0), ('2016_03_28_00_auth.sql','BA14D23D81FA24565F04A359090DE86C5E195209','ARCHIVED','2016-03-28 16:49:32',0), -('2016_04_11_00_auth.sql','0ACDD35EC9745231BCFA701B78056DEF94D0CC53','ARCHIVED','2016-04-11 02:24:14',0), +('2016_04_11_00_auth.sql','0ACDD35EC9745231BCFA701B78056DEF94D0CC53','ARCHIVED','2016-04-11 00:00:00',0), ('2016_04_17_00_auth.sql','83399B64D1221B56F73A0FFB51889F11A70521BC','ARCHIVED','2016-04-17 00:22:05',0), ('2016_05_07_00_auth.sql','7E36DCC4F06FCDCDA7155AF3C5EDF8D3A720565F','ARCHIVED','2016-05-07 01:00:21',0), ('2016_05_19_00_auth.sql','FB52E6BF35682CE6FA667B552B551F4FBD72AC30','ARCHIVED','2016-05-19 22:18:06',0), @@ -2331,7 +2307,7 @@ INSERT INTO `updates` VALUES ('2016_09_02_00_auth.sql','08932DAC4BDE74D3C39A43DDE404522F23EDD035','ARCHIVED','2016-09-02 00:00:00',0), ('2016_09_03_00_auth_2016_05_11_00_auth.sql','401EFD3586772BDED66B4A944C20A1AC18A22D3A','ARCHIVED','2016-09-03 11:29:38',0), ('2016_09_03_01_auth.sql','08B5ABCB74BBF25A30D37AF639F0EA1B10640673','ARCHIVED','2016-09-03 13:24:32',0), -('2016_09_03_02_auth_2016_06_06_00_auth.sql','A0A8D73A952D0618833416513D53F73A70E7EA25','ARCHIVED','2016-09-03 15:56:50',0), +('2016_09_03_02_auth_2016_06_06_00_auth.sql','A0A8D73A952D0618833416513D53F73A70E7EA25','ARCHIVED','2016-06-06 00:00:00',0), ('2016_09_03_03_auth.sql','9BF1C03EE39B6DC7E817BA46BE7D12A41AFBFDF7','ARCHIVED','2016-09-03 15:56:50',0), ('2016_09_15_00_auth.sql','CD65F822AF1B5B7776E39804D0362F3E34AA6445','ARCHIVED','2016-09-15 16:30:36',0), ('2016_09_21_00_auth.sql','57219A16B88080240EED94CDD41FC2764B8A32C5','ARCHIVED','2016-09-21 17:08:43',0), @@ -2352,7 +2328,7 @@ INSERT INTO `updates` VALUES ('2017_01_26_00_auth.sql','723E1B69981A32A2F28A67C64902BA1AE7E98E48','ARCHIVED','2017-01-26 17:10:15',0), ('2017_01_29_00_auth.sql','B76C514678903F540302505AF66886F7D2C89E30','ARCHIVED','2017-01-29 00:00:00',0), ('2017_03_11_00_auth.sql','2F2F67E51439346B212C27B7224E4614C00E1AEB','ARCHIVED','2017-03-11 00:00:00',0), -('2017_03_17_00_auth.sql','4902E9B1B063F399F928C2DD7AFD60427738E227','ARCHIVED','2017-03-17 18:58:01',0), +('2017_03_17_00_auth.sql','4902E9B1B063F399F928C2DD7AFD60427738E227','ARCHIVED','2017-03-17 00:00:00',0), ('2017_04_17_00_auth.sql','86299FAB21D895E84272286309CC8EE80F9DA8C7','ARCHIVED','2017-04-17 00:00:00',0), ('2017_04_19_00_auth.sql','9903AAF50DF384F52E81F7E2892FE5271E000490','ARCHIVED','2017-04-18 23:16:18',0), ('2017_04_22_00_auth.sql','843663B18D28FBA1EB12548500EC93953881E5F0','ARCHIVED','2017-04-22 19:28:22',0), @@ -2383,16 +2359,18 @@ INSERT INTO `updates` VALUES ('2018_02_18_00_auth.sql','8489DD3EFFE14A7486B593435F0BA2BC69B6EABF','ARCHIVED','2018-02-18 16:35:55',0), ('2018_02_19_00_auth.sql','07CE658C5EF88693D3C047EF8E724F94ADA74C15','ARCHIVED','2018-02-19 22:33:32',0), ('2018_02_28_00_auth.sql','E92EF4ABF7FA0C66649E1633DD0459F44C09EB83','ARCHIVED','2018-02-28 23:07:59',0), -('2018_03_08_00_auth.sql','624C58A07E0B4DDC4C1347E8BA8EFEEFD5B43DA7','ARCHIVED','2018-01-12 15:10:11',0), +('2018_03_08_00_auth.sql','624C58A07E0B4DDC4C1347E8BA8EFEEFD5B43DA7','ARCHIVED','2018-03-08 00:00:00',0), ('2018_03_14_00_auth.sql','2D71E93DF7419A30D0D21D8A80CF05698302575A','ARCHIVED','2018-03-14 23:07:59',0), ('2018_04_06_00_auth.sql','D8416F0C4751763202B1997C81423F6EE2FCF9A6','ARCHIVED','2018-04-06 18:00:32',0), ('2018_05_13_00_auth.sql','A9E20F2EB1E2FDBB982DB6B00DB7301852B27CD4','ARCHIVED','2018-05-13 20:22:32',0), ('2018_05_24_00_auth.sql','B98FD71AAA13810856729E034E6B8C9F8D5D4F6B','ARCHIVED','2018-05-24 22:32:49',0), ('2018_06_14_00_auth.sql','67EAB915BF0C7F2D410BE45F885A1A39D42C8C14','ARCHIVED','2018-06-14 23:06:59',0), ('2018_06_22_00_auth.sql','9DA24F70B8A365AFDEF58A9B578255CDEDFCA47C','ARCHIVED','2018-06-22 17:45:45',0), -('2018_06_23_00_auth.sql','BE35312C386A127D047E5A7CE0D14DB41D905F8E','ARCHIVED','2018-05-23 10:14:39',0), +('2018_06_23_00_auth.sql','BE35312C386A127D047E5A7CE0D14DB41D905F8E','ARCHIVED','2018-06-23 00:00:00',0), ('2018_06_29_00_auth.sql','03AAEA7E52848FA5522C3F0C6D9C38B988407480','ARCHIVED','2018-06-29 22:34:04',0), -('2018_12_09_00_auth_2017_01_06_00_auth.sql','6CCFE6A9774EC733C9863D36A0F15F3534189BBD','ARCHIVED','2018-11-22 22:21:26',0), +('2018_08_30_00_auth.sql','22F69864361D3E72F800379338310172C0576D1C','RELEASED','2018-08-30 00:00:00',0), +('2018_09_06_00_auth.sql','309D21E0DF82ED8921F77EAFDE741F38AC32BB13','ARCHIVED','2018-09-06 00:00:00',0), +('2018_12_09_00_auth_2017_01_06_00_auth.sql','6CCFE6A9774EC733C9863D36A0F15F3534189BBD','ARCHIVED','2017-01-06 00:00:00',0), ('2018_12_09_01_auth.sql','576C2A11BE671D8420FA3EB705E594E381ECCC56','ARCHIVED','2018-12-09 14:49:17',0), ('2019_06_08_00_auth.sql','EA5A78F5A26C17BC790481EA9B3772D3A6912459','ARCHIVED','2019-05-20 17:21:20',0), ('2019_06_08_01_auth.sql','8165B1B787E3ECF0C8C0AD2D641513270977ABB4','ARCHIVED','2019-06-04 16:51:31',0), @@ -2460,7 +2438,10 @@ INSERT INTO `updates` VALUES ('2021_10_13_00_auth.sql','220E63385CACCBCEC36C57717DE369F2FCABCAAF','ARCHIVED','2021-10-13 21:15:05',0), ('2021_10_15_00_auth.sql','C8AA212AB2BB2DB5B3C2C9622A3874475AEFBD7B','ARCHIVED','2021-10-15 10:11:47',0), ('2021_10_15_01_auth.sql','72A0437F0ADEC59FF9D6839DF845C473F693CA5B','RELEASED','2021-10-16 00:15:25',0), -('2021_10_16_00_auth.sql','FDC45C7BEFBAFC9BCE6C77377B026A59AE52EE21','RELEASED','2021-10-16 11:24:39',0); +('2021_10_16_00_auth.sql','FDC45C7BEFBAFC9BCE6C77377B026A59AE52EE21','RELEASED','2021-10-16 11:24:39',0), +('2021_10_22_00_auth.sql','6F55BAD44B9299BE23F79DB09AA90CB42AA63A00','RELEASED','2021-10-10 17:23:09',0), +('2021_10_23_00_auth.sql','97A8F2C2CEDB99C942D38F5B65DAD1DC11296E20','RELEASED','2021-10-23 00:00:00',0), +('2021_10_26_00_auth.sql','91E8B308267847569D9A669BC34794F154242ECF','RELEASED','2021-10-26 00:41:04',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/updates/auth/master/2021_10_22_00_auth.sql b/sql/updates/auth/master/2021_10_22_00_auth.sql new file mode 100644 index 000000000..1bd783084 --- /dev/null +++ b/sql/updates/auth/master/2021_10_22_00_auth.sql @@ -0,0 +1,7 @@ +DELETE FROM `rbac_permissions` WHERE `id` = 882; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(882, 'Command: reload spell_script_names'); + +DELETE FROM `rbac_linked_permissions` WHERE `linkedId` = 882; +INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES +(196, 882); diff --git a/sql/updates/world/master/2021_10_18_00_world.sql b/sql/updates/world/master/2021_10_18_00_world.sql new file mode 100644 index 000000000..81db7b455 --- /dev/null +++ b/sql/updates/world/master/2021_10_18_00_world.sql @@ -0,0 +1,262 @@ +-- Spirit Healer (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=60, `VerifiedBuild`=40120 WHERE `entry`=6491; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=6491 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=5233; +UPDATE `creature_template_addon` SET `auras`='9036 10848' WHERE `entry`=6491; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=83 AND `TextId`=580; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=580; +UPDATE `gossip_menu_option` SET `VerifiedBuild`=40120 WHERE `MenuId`=83 AND `OptionIndex`=0; + +-- Jessel (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=20100; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=20100 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=19336; +UPDATE `creature` SET `curhealth`=622, `VerifiedBuild`=40120 WHERE `guid`=71602; +UPDATE `creature_text` SET `Emote`=6 WHERE `CreatureID`=20100 AND `GroupID`=0 AND `ID`=0; +UPDATE `creature_text` SET `Emote`=6 WHERE `CreatureID`=20100 AND `GroupID`=2 AND `ID`=0; + +-- Jane (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=20098; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=20098 AND `Idx`=0; +UPDATE `creature` SET `VerifiedBuild`=40120 WHERE `guid`=71601; +UPDATE `creature_text` SET `Emote`=0 WHERE `CreatureID`=20098 AND `GroupID`=0 AND `ID`=0; + +-- Nova (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=20244; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=20244 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=19315; +UPDATE `creature` SET `VerifiedBuild`=40120 WHERE `guid`=71940; +UPDATE `creature_text` SET `Emote`=0 WHERE `CreatureID`=20244 AND `GroupID`=1 AND `ID`=0; +UPDATE `creature_text` SET `Emote`=0 WHERE `CreatureID`=20244 AND `GroupID`=1 AND `ID`=1; + +-- Well Watcher Solanian (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15295; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15295 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15517; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=6569 AND `TextId`=7784; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=7784; +-- This quest was marked obsolete by Blizzard and cannot be obtained or completed. +DELETE FROM `creature_questender` WHERE `id`=15295 AND `quest`=37441; +UPDATE `creature` SET `curhealth`=522, `curmana`=1202, `VerifiedBuild`=40120 WHERE `guid`=55053; + +-- Cat (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `VerifiedBuild`=40120 WHERE `entry`=6368; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=6368 AND `Idx` IN (0,1,2,3); +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID` IN (5555,5556,5585,5586); + +-- Shara Sunwing (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15287; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15287 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15527; +UPDATE `creature` SET `curhealth`=622, `VerifiedBuild`=40120 WHERE `guid`=54993; +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15287 AND `item`=159 AND `ExtendedCost`=0 AND `type`=1; -- Refreshing Spring Water +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15287 AND `item`=20857 AND `ExtendedCost`=0 AND `type`=1; -- Honey Bread + +-- Pao (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=63332; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=63332 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=42947; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=13895 AND `TextId`=19889; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=19889; +UPDATE `creature` SET `curhealth`=622, `VerifiedBuild`=40120 WHERE `guid`=452381; + +-- Pathstalker Kariel (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15285; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15519; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15285 AND `Idx`=0; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=14140 AND `TextId`=9187; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=9187; +UPDATE `creature` SET `curhealth`=622, `VerifiedBuild`=40120 WHERE `guid`=54991; + +-- Ranger Sallina (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15513; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15513; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15513 AND `Idx`=0; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=14141 AND `TextId`=9189; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=9189; +UPDATE `creature` SET `curhealth`=653, `curmana`=490, `VerifiedBuild`=40120 WHERE `guid`=55431; + +-- Delios Silverblade (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=43010; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=43010 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=33190; +UPDATE `creature` SET `curhealth`=622, `VerifiedBuild`=40120 WHERE `guid`=250000; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=14199 AND `TextId`=16540; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=16540; + +-- Matron Arena (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15284; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15284 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15518; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=14139 AND `TextId`=9186; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=9186; +UPDATE `creature` SET `curhealth`=497, `curmana`=1202, `VerifiedBuild`=40120 WHERE `guid`=54990; + +-- Jesthenis Sunstriker (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15280; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15280 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15521; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=14137 AND `TextId`=9193; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=9193; +UPDATE `creature` SET `curhealth`=653, `curmana`=490, `VerifiedBuild`=40120 WHERE `guid`=54986; + +-- Julia Sunstriker (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `gossip_menu_id`=20690, `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15279; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=20690 AND `TextId`=31032; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=14136 AND `TextId`=9192; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=31032; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=9192; +UPDATE `gossip_menu_option` SET `VerifiedBuild`=40120 WHERE `MenuId`=20690 AND `OptionIndex` IN (0,1); +UPDATE `gossip_menu_option` SET `VerifiedBuild`=40120 WHERE `MenuId`=14136 AND `OptionIndex`=9; +UPDATE `creature_template_addon` SET `auras`='56384' WHERE `entry`=15279; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15279 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15522; +UPDATE `creature` SET `curhealth`=522, `curmana`=1202, `VerifiedBuild`=40120 WHERE `guid`=54985; + +-- Summoner Teli'Larien (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15283; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15283 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15524; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=14138 AND `TextId`=7903; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=7903; +UPDATE `creature` SET `curhealth`=497, `curmana`=1202, `VerifiedBuild`=40120 WHERE `guid`=54989; + +-- Imp Minion +UPDATE `creature_template` SET `VerifiedBuild`=40120 WHERE `entry`=12922; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=12922 AND `Idx`=0; + +-- Yasmine Teli'Larien (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15494; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15494 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15523; +UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE `MenuId`=12670 AND `TextId`=12549; +UPDATE `npc_text` SET `VerifiedBuild`=40120 WHERE `ID`=12549; +UPDATE `creature` SET `curhealth`=497, `curmana`=1202, `VerifiedBuild`=40120 WHERE `guid`=55416; + +-- Wounded Outrunner (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=44857; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=44857 AND `Idx` IN (0,1,2,3); +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID` IN (34190,34191,34192); +UPDATE `creature` SET `curhealth`=1244, `VerifiedBuild`=40120 WHERE `guid` BETWEEN 250893 AND 250898; + +-- Faraden Thelryn (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15292; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15292 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15510; +UPDATE `creature` SET `curhealth`=622, `curmana`=490, `VerifiedBuild`=40120 WHERE `guid`=54998; +UPDATE `npc_vendor` SET `IgnoreFiltering`=0, `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20912 AND `ExtendedCost`=0 AND `type`=1; -- Large Shield +UPDATE `npc_vendor` SET `IgnoreFiltering`=0, `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20911 AND `ExtendedCost`=0 AND `type`=1; -- Light Guard +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20916 AND `ExtendedCost`=0 AND `type`=1; -- Unadorned Chain Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20917 AND `ExtendedCost`=0 AND `type`=1; -- Unadorned Chain Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20915 AND `ExtendedCost`=0 AND `type`=1; -- Unadorned Chain Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20914 AND `ExtendedCost`=0 AND `type`=1; -- Unadorned Chain Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20918 AND `ExtendedCost`=0 AND `type`=1; -- Unadorned Chain Leggings +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15292 AND `item`=20919 AND `ExtendedCost`=0 AND `type`=1; -- Unadorned Chain Vest + +-- Raelis Dawnstar (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15289; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15289 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15526; +UPDATE `creature` SET `curhealth`=622, `VerifiedBuild`=40120 WHERE `guid`=54995; +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20910 AND `ExtendedCost`=0 AND `type`=1; -- Stiff Shortbow +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20853 AND `ExtendedCost`=0 AND `type`=1; -- Mana Gathering Staff +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20849 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Shortsword +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20851 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Mace +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20852 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Dirk +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20850 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Axe +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20910 AND `ExtendedCost`=0 AND `type`=1; -- Stiff Shortbow +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20853 AND `ExtendedCost`=0 AND `type`=1; -- Mana Gathering Staff +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20849 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Shortsword +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20851 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Mace +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20852 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Dirk +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15289 AND `item`=20850 AND `ExtendedCost`=0 AND `type`=1; -- Arcane Forged Axe + +-- Jainthess Thelryn (Area: Sunstrider Isle - Difficulty: 0) +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `VerifiedBuild`=40120 WHERE `entry`=15291; +UPDATE `creature_template_model` SET `VerifiedBuild`=40120 WHERE `CreatureID`=15291 AND `Idx`=0; +UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=15529; +UPDATE `creature` SET `curhealth`=497, `curmana`=1202, `VerifiedBuild`=40120 WHERE `guid`=54997; +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20923 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20922 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20921 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20924 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20920 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20925 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Vest +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20987 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20988 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20985 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Shoes +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20986 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20989 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20990 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Armor +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20923 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20922 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20921 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20924 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20920 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20925 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Vest +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20987 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20988 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20985 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Shoes +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20986 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20989 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20990 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Armor +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20923 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20922 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20921 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20924 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20920 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20925 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Vest +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20987 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20988 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20985 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Shoes +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20986 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20989 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20990 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Armor +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20923 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20922 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20921 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20924 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20920 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20925 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Vest +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20987 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20988 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20985 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Shoes +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20986 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20989 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20990 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Armor +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20923 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20922 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20921 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20924 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20920 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20925 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Vest +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20987 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20988 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20985 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Shoes +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20986 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20989 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20990 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Armor +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20923 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20922 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20921 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20924 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20920 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20925 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Vest +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20987 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20988 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20985 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Shoes +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20986 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20989 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20990 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Armor +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20923 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20922 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20921 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Boots +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20924 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20920 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20925 AND `ExtendedCost`=0 AND `type`=1; -- Sun Cured Vest +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20987 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Gloves +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20988 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Bracers +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20985 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Shoes +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20986 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Pants +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20989 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Belt +UPDATE `npc_vendor` SET `VerifiedBuild`=40120 WHERE `entry`=15291 AND `item`=20990 AND `ExtendedCost`=0 AND `type`=1; -- Light Cloth Armor diff --git a/sql/updates/world/master/2021_10_19_00_world.sql b/sql/updates/world/master/2021_10_19_00_world.sql new file mode 100644 index 000000000..f448674a0 --- /dev/null +++ b/sql/updates/world/master/2021_10_19_00_world.sql @@ -0,0 +1,25 @@ +-- Add Conversation Stuff +DELETE FROM `conversation_actors` WHERE (`ConversationId`=6798 AND `Idx` IN (0,1)); +INSERT INTO `conversation_actors`(`ConversationId`, `ConversationActorId`, `ConversationActorGuid`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `VerifiedBuild`) VALUES +(6798, 62451, 650011, 0, 0, 0, 40593), +(6798, 62619, 650035, 1, 0, 0, 40593); + +DELETE FROM `conversation_line_template` WHERE `Id` IN (15509, 15508, 15507, 15506, 15505); +INSERT INTO `conversation_line_template` (`Id`, `StartTime`, `UiCameraID`, `ActorIdx`, `Flags`, `VerifiedBuild`) VALUES +(15509, 33213, 0, 0, 0, 40593), +(15508, 28181, 0, 1, 0, 40593), +(15507, 15696, 0, 1, 0, 40593), +(15506, 8589, 0, 0, 0, 40593), +(15505, 0, 0, 0, 0, 40593); + +DELETE FROM `conversation_template` WHERE `Id`=6798; +INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `LastLineEndTime`, `TextureKitId`, `VerifiedBuild`) VALUES +(6798, 15505, 43909, 0, 40593); + +-- Update SAI in Template +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` = 131345; + +-- SAI Conversation Script for Alleria GUID: 650011 +DELETE FROM `smart_scripts` WHERE `entryorguid` = -650011 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`, `event_param_string`, `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 +(-650011, 0, 0, 0, 19, 0, 100, 0, 49788, 0, 0, 0, 0, '', 143, 6798, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Alleria - On Quest accept 49788 - Start Conversation 6798 - To Invoker'); diff --git a/sql/updates/world/master/2021_10_19_01_world_2018_08_11_12_world_335.sql b/sql/updates/world/master/2021_10_19_01_world_2018_08_11_12_world_335.sql new file mode 100644 index 000000000..772701072 --- /dev/null +++ b/sql/updates/world/master/2021_10_19_01_world_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` SET `guid`=9432 WHERE `guid`=260760; +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 `guid`=10873 WHERE `guid`=260757; +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/updates/world/master/2021_10_19_02_world_2018_08_11_13_world_335.sql b/sql/updates/world/master/2021_10_19_02_world_2018_08_11_13_world_335.sql new file mode 100644 index 000000000..3e9d0af92 --- /dev/null +++ b/sql/updates/world/master/2021_10_19_02_world_2018_08_11_13_world_335.sql @@ -0,0 +1,3 @@ +-- +UPDATE `quest_template_addon` SET `NextQuestID`=1250 WHERE `ID`=1249; +UPDATE `quest_template_addon` SET `PrevQuestID`=1250 WHERE `ID`=1264; diff --git a/sql/updates/world/master/2021_10_19_03_world_2018_08_11_14_world_335.sql b/sql/updates/world/master/2021_10_19_03_world_2018_08_11_14_world_335.sql new file mode 100644 index 000000000..066a7e6b5 --- /dev/null +++ b/sql/updates/world/master/2021_10_19_03_world_2018_08_11_14_world_335.sql @@ -0,0 +1,30 @@ +-- 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`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(8837,0,0,"I don't have the Repaired Diving Gear anymore. Do you have a spare?",22482,1,1,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/updates/world/master/2021_10_19_04_world_2018_08_11_15_world_335.sql b/sql/updates/world/master/2021_10_19_04_world_2018_08_11_15_world_335.sql new file mode 100644 index 000000000..20e88090c --- /dev/null +++ b/sql/updates/world/master/2021_10_19_04_world_2018_08_11_15_world_335.sql @@ -0,0 +1,18 @@ +-- 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/updates/world/master/2021_10_19_05_world_2018_08_11_16_world_335.sql b/sql/updates/world/master/2021_10_19_05_world_2018_08_11_16_world_335.sql new file mode 100644 index 000000000..d291b675b --- /dev/null +++ b/sql/updates/world/master/2021_10_19_05_world_2018_08_11_16_world_335.sql @@ -0,0 +1,5 @@ +-- 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/updates/world/master/2021_10_19_06_world_2018_08_14_00_world.sql b/sql/updates/world/master/2021_10_19_06_world_2018_08_14_00_world.sql new file mode 100644 index 000000000..49a5dca5e --- /dev/null +++ b/sql/updates/world/master/2021_10_19_06_world_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/world/master/2021_10_19_07_world_2018_08_15_01_world_335.sql b/sql/updates/world/master/2021_10_19_07_world_2018_08_15_01_world_335.sql new file mode 100644 index 000000000..b5380a6af --- /dev/null +++ b/sql/updates/world/master/2021_10_19_07_world_2018_08_15_01_world_335.sql @@ -0,0 +1,48 @@ +-- Witchbane Torch +SET @GUID := 5160; +DELETE FROM `gameobject` WHERE `guid`=@GUID; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(@GUID,186425,1,0,0,'',0,-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/master/2021_10_21_01_world_2018_08_16_02_world.sql b/sql/updates/world/master/2021_10_21_01_world_2018_08_16_02_world.sql new file mode 100644 index 000000000..8280e2db3 --- /dev/null +++ b/sql/updates/world/master/2021_10_21_01_world_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 `OptionIndex`=1; diff --git a/sql/updates/world/master/2021_10_21_02_world_2018_08_19_00_world_335.sql b/sql/updates/world/master/2021_10_21_02_world_2018_08_19_00_world_335.sql new file mode 100644 index 000000000..9e9730a0d --- /dev/null +++ b/sql/updates/world/master/2021_10_21_02_world_2018_08_19_00_world_335.sql @@ -0,0 +1,3 @@ +-- +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/master/2021_10_21_03_world_2018_08_19_01_world_335.sql b/sql/updates/world/master/2021_10_21_03_world_2018_08_19_01_world_335.sql new file mode 100644 index 000000000..0fe973b52 --- /dev/null +++ b/sql/updates/world/master/2021_10_21_03_world_2018_08_19_01_world_335.sql @@ -0,0 +1,18 @@ +-- +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/master/2021_10_21_04_world_2018_08_19_02_world_335.sql b/sql/updates/world/master/2021_10_21_04_world_2018_08_19_02_world_335.sql new file mode 100644 index 000000000..ed5c25e4e --- /dev/null +++ b/sql/updates/world/master/2021_10_21_04_world_2018_08_19_02_world_335.sql @@ -0,0 +1,273 @@ +-- +-- 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/master/2021_10_21_05_world.sql b/sql/updates/world/master/2021_10_21_05_world.sql new file mode 100644 index 000000000..ed62f4a76 --- /dev/null +++ b/sql/updates/world/master/2021_10_21_05_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `permission` = 882; +INSERT INTO `command` (`name`,`permission`,`help`) VALUES +('reload spell_script_names', 882, 'Syntax: .reload spell_script_names\nReload spell_script_names table.'); diff --git a/sql/updates/world/master/2021_10_22_00_world.sql b/sql/updates/world/master/2021_10_22_00_world.sql new file mode 100644 index 000000000..36b06d57e --- /dev/null +++ b/sql/updates/world/master/2021_10_22_00_world.sql @@ -0,0 +1,8 @@ +-- +DELETE FROM `instance_template` WHERE `map` IN(1771, 1841, 1862, 1864, 1877); +INSERT INTO `instance_template` (`map`, `parent`, `script`, `allowMount`) VALUES +(1771, 0, '', 1), -- Tol Dagor +(1841, 0, '', 1), -- The Underrot +(1862, 0, '', 1), -- Waycrest Manor +(1864, 0, '', 1), -- Shrine of the Storm +(1877, 0, '', 1); -- Temple of Sethraliss diff --git a/sql/updates/world/master/2021_10_22_00_world_2018_08_19_03_world_335.sql b/sql/updates/world/master/2021_10_22_00_world_2018_08_19_03_world_335.sql new file mode 100644 index 000000000..2b7a52ef7 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_00_world_2018_08_19_03_world_335.sql @@ -0,0 +1,38 @@ +-- +-- 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 `guid`=18604,`MovementType`=0 WHERE `guid`=297962; +UPDATE `creature_addon` SET `guid`=18604,`path_id`=0 WHERE `guid`=297962; +DELETE FROM `waypoint_data` WHERE `id`=186040; +DELETE FROM `waypoint_scripts` WHERE `id` IN (1006,1007,1008); diff --git a/sql/updates/world/master/2021_10_22_01_world_2018_08_19_04_world_335.sql b/sql/updates/world/master/2021_10_22_01_world_2018_08_19_04_world_335.sql new file mode 100644 index 000000000..84ef50cb5 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_01_world_2018_08_19_04_world_335.sql @@ -0,0 +1,18 @@ +-- +-- 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/master/2021_10_22_02_world_2018_08_20_00_world_335.sql b/sql/updates/world/master/2021_10_22_02_world_2018_08_20_00_world_335.sql new file mode 100644 index 000000000..8905efb88 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_02_world_2018_08_20_00_world_335.sql @@ -0,0 +1,144 @@ +-- 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/master/2021_10_22_03_world_2018_08_22_01_world.sql b/sql/updates/world/master/2021_10_22_03_world_2018_08_22_01_world.sql new file mode 100644 index 000000000..824f2e74a --- /dev/null +++ b/sql/updates/world/master/2021_10_22_03_world_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/master/2021_10_22_04_world_2018_08_22_03_world.sql b/sql/updates/world/master/2021_10_22_04_world_2018_08_22_03_world.sql new file mode 100644 index 000000000..b071ed7b3 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_04_world_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/master/2021_10_22_05_world_2018_08_22_04_world.sql b/sql/updates/world/master/2021_10_22_05_world_2018_08_22_04_world.sql new file mode 100644 index 000000000..371df0cb0 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_05_world_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/master/2021_10_22_06_world_2018_08_22_05_world_335.sql b/sql/updates/world/master/2021_10_22_06_world_2018_08_22_05_world_335.sql new file mode 100644 index 000000000..fce494572 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_06_world_2018_08_22_05_world_335.sql @@ -0,0 +1,18 @@ +-- 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/master/2021_10_22_07_world_2018_08_22_06_world_335.sql b/sql/updates/world/master/2021_10_22_07_world_2018_08_22_06_world_335.sql new file mode 100644 index 000000000..780720113 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_07_world_2018_08_22_06_world_335.sql @@ -0,0 +1,60 @@ +-- 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/master/2021_10_22_08_world_2018_08_22_07_world_335.sql b/sql/updates/world/master/2021_10_22_08_world_2018_08_22_07_world_335.sql new file mode 100644 index 000000000..97fa597a0 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_08_world_2018_08_22_07_world_335.sql @@ -0,0 +1,83 @@ +-- 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`, `spawnDifficulties`, `phaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(5111,21148,0,0,0,'',0,-9072.17,837.258,109.424,0.299373,-0,-0,-0.149128,-0.988818,-120,255,1,"",0), +(5117,21148,0,0,0,'',0,-9072.82,829.589,109.478,5.99743,-0,-0,-0.14239,0.989811,-120,255,1,"",0), +(5122,21148,0,0,0,'',0,-9059.47,838.004,110.215,0.377914,-0,-0,-0.187835,-0.982201,-120,255,1,"",0), +(5126,21148,0,0,0,'',0,-9059.77,838.776,110.215,0.381841,-0,-0,-0.189763,-0.98183,-120,255,1,"",0), +(5131,21148,0,0,0,'',0,-9085.29,832.499,109.61,3.58633,-0,-0,-0.975378,0.220539,-120,255,1,"",0), +(5140,21148,0,0,0,'',0,-9085.65,833.289,109.61,3.53135,-0,-0,-0.981071,0.193647,-120,255,1,"",0), +(5144,21148,0,0,0,'',0,-9081.83,823.735,109.61,3.4803,-0,-0,-0.985694,0.168543,-120,255,1,"",0), +(5155,21148,0,0,0,'',0,-9081.1,828.544,109.432,1.763,-0,-0,-0.771693,-0.635995,-120,255,1,"",0), +(5160,21148,0,0,0,'',0,-9082.12,830.655,109.429,5.3287,-0,-0,-0.459332,0.888265,-120,255,1,"",0), +(5165,21148,0,0,0,'',0,-9069.05,828.82,109.428,1.8533,-0,-0,-0.799613,-0.600515,-120,255,1,"",0), +(5171,21148,0,0,0,'',0,-9075.97,820.033,109.55,4.11132,-0,-0,-0.884738,0.466088,-120,255,1,"",0), +(5210,21148,0,0,0,'',0,-9070.79,828.253,109.431,0.334503,-0,-0,-0.166473,-0.986046,-120,255,1,"",0), +(5217,21148,0,0,0,'',0,-9075.04,838.185,109.463,5.08008,-0,-0,-0.565921,0.824459,-120,255,1,"",0), +(5224,21148,0,0,0,'',0,-9076.71,818.742,109.55,0.407534,-0,-0,-0.20236,-0.979311,-120,255,1,"",0), +(5230,21148,0,0,0,'',0,-9079.45,828.87,109.436,3.40383,-0,-0,-0.991416,0.130743,-120,255,1,"",0), +(5232,21148,0,0,0,'',0,-9073.03,838.268,109.432,0.345678,-0,-0,-0.17198,-0.985101,-120,255,1,"",0), +(5234,21148,0,0,0,'',0,-9085.74,814.883,116.796,3.49512,-0,-0,-0.984418,0.175845,-120,255,1,"",0), +(5255,21148,0,0,0,'',0,-9087.04,830.81,116.825,5.06286,-0,-0,-0.57-1201,0.819555,-120,255,1,"",0), +(5315,21148,0,0,0,'',0,-9094.68,836.463,116.795,1.10446,-0,-0,-0.524585,-0.851358,-120,255,1,"",0), +(5332,21148,0,0,0,'',0,-9084.5,824.882,116.825,5.65584,-0,-0,-0.308554,0.951207,-120,255,1,"",0), +(5334,21147,0,0,0,'',0,-9081.3,822.651,109.61,3.55732,-0,-0,-0.978474,0.206371,-120,255,1,"",0), +(5339,21147,0,0,0,'',0,-9072.24,828.632,109.453,0.376773,-0,-0,-0.187274,-0.982308,-120,255,1,"",0), +(5341,21147,0,0,0,'',0,-9083.98,828.135,109.61,3.50271,-0,-0,-0.983743,0.17958,-120,255,1,"",0), +(5345,21146,0,0,0,'',0,-9075.14,836.495,109.436,1.95635,-0,-0,-0.82948,-0.558537,-120,255,1,"",0), +(5349,21146,0,0,0,'',0,-9069.89,830.264,109.432,0.954968,-0,-0,-0.459546,-0.888154,-120,255,1,"",0), +(5350,21146,0,0,0,'',0,-9079.88,818.003,109.61,5.10492,-0,-0,-0.555639,0.831424,-120,255,1,"",0), +(5357,21146,0,0,0,'',0,-9080.54,819.582,109.61,5.10492,-0,-0,-0.555639,0.831424,-120,255,1,"",0), +(5367,21146,0,0,0,'',0,-9058.49,837.482,110.219,1.94478,-0,-0,-0.826236,-0.563325,-120,255,1,"",0), +(5373,21146,0,0,0,'',0,-9081.2,821.143,109.61,5.1167,-0,-0,-0.550732,0.834682,-120,255,1,"",0), +(5395,21145,0,0,0,'',0,-9083.11,825.766,109.61,3.52235,-0,-0,-0.981933,0.189231,-120,255,1,"",0), +(5397,21145,0,0,0,'',0,-9084.98,830.42,109.61,0.354403,-0,-0,-0.176275,-0.984341,-120,255,1,"",0), +(5402,21145,0,0,0,'',0,-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/master/2021_10_22_09_world_2018_08_22_10_world_335.sql b/sql/updates/world/master/2021_10_22_09_world_2018_08_22_10_world_335.sql new file mode 100644 index 000000000..358fd0273 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_09_world_2018_08_22_10_world_335.sql @@ -0,0 +1,16 @@ +-- +DELETE FROM `gameobject` WHERE `guid` IN (/*5404,5419,5427,5429,5431,5433,5443,5446,*/5448); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseId`, `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, '', 0, -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/master/2021_10_22_10_world_2018_08_22_11_world.sql b/sql/updates/world/master/2021_10_22_10_world_2018_08_22_11_world.sql new file mode 100644 index 000000000..2c14012dc --- /dev/null +++ b/sql/updates/world/master/2021_10_22_10_world_2018_08_22_11_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `target_type`=0 WHERE `action_type` IN (38,39); diff --git a/sql/updates/world/master/2021_10_22_11_world_2018_08_26_00_world.sql b/sql/updates/world/master/2021_10_22_11_world_2018_08_26_00_world.sql new file mode 100644 index 000000000..fb8b6725c --- /dev/null +++ b/sql/updates/world/master/2021_10_22_11_world_2018_08_26_00_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `creature_template_addon` WHERE `entry` IN(23069,23336); +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_illidan_generic_fire' WHERE `entry` IN (23069,23259,23336); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (23259,23069,23336) AND `source_type`=0; diff --git a/sql/updates/world/master/2021_10_22_12_world_2018_08_26_01_world.sql b/sql/updates/world/master/2021_10_22_12_world_2018_08_26_01_world.sql new file mode 100644 index 000000000..633b930cf --- /dev/null +++ b/sql/updates/world/master/2021_10_22_12_world_2018_08_26_01_world.sql @@ -0,0 +1,45 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=64799; -- Lightning Tether +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13,1,64799,0,0,31,0,3,33293,0,0,0,0,'','Effect_0 hits XT002'); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_xt002_exposed_heart', +'spell_xt002_energy_orb'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(63849,'spell_xt002_exposed_heart'), +(62826,'spell_xt002_energy_orb'); + +DELETE FROM `spell_proc` WHERE `SpellId`=63849; -- Disable spell proc to effect_1 +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES +(63849,0,0,0,0,0,0,0,0,0,32,0,0,0,0); + +UPDATE `creature` SET `MovementType`=0, `Spawndist`=0 WHERE `id`=33337; -- XT-Toy Pile + +UPDATE `creature_template` SET `speed_walk`=1.2, `speed_run`=0.428571, `ScriptName`='npc_scrapbot' WHERE `entry`=33343; +UPDATE `creature_template` SET `speed_walk`=1.2, `speed_run`=0.428571 WHERE `entry`=33887; -- Scrapbot +UPDATE `creature_template` SET `speed_walk`=1.2, `speed_run`=0.428571/*, `modelid2`=0, `modelid3`=0*/ WHERE `entry` IN (33346,33886); -- Boombot +UPDATE `creature_template` SET `BaseAttackTime`=2000 WHERE `entry` IN (33293,33885); -- XT-002 Deconstructor (hi ariel, I stole from you xD) +UPDATE `creature_template` SET `mechanic_immune_mask`=617299839 WHERE `entry` IN (33329,33885); -- Heart mechanical immunities xD + +DELETE FROM `waypoint_scripts` WHERE `id` IN(2,5); +INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES +(2,0,1,468,1,0,0,0,0,0,1360540), +(2,11,1,0,1,0,0,0,0,0,1360541), +(5,0,1,10,1,0,0,0,0,0,1360542), +(5,30,1,0,1,0,0,0,0,0,1360543); + +DELETE FROM `waypoint_data` WHERE `id`=1360540; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1360540, 1, 862.5053, 7.207682, 409.8612, 0, 0, 0, 0, 100, 0), +(1360540, 2, 863.4635, 25.65489, 409.8612, 0, 0, 0, 0, 100, 0), +(1360540, 3, 872.6903, 39.44819, 409.8355, 0, 11000, 0, 2, 100, 0), -- emote 468 11s +(1360540, 4, 869.8901, 32.82189, 409.8509, 0, 0, 0, 0, 100, 0), +(1360540, 5, 854.8365, 9.631022, 409.8612, 0, 0, 0, 0, 100, 0), +(1360540, 6, 855.48, -19.90913, 409.8787, 0, 0, 0, 0, 100, 0), +(1360540, 7, 852.1145, -44.87088, 409.8869, 0, 0, 0, 0, 100, 0), +(1360540, 8, 864.5853, -62.56917, 409.6369, 0, 0, 0, 0, 100, 0), +(1360540, 9, 876.4196, -77.23026, 409.9155, 0, 11000, 0, 2, 100, 0), -- emote 468 11s +(1360540, 10, 878.3914, -79.4183, 409.9155, 0, 0, 0, 0, 100, 0), +(1360540, 11, 870.9197, -65.75331, 409.9155, 0, 0, 0, 0, 100, 0), +(1360540, 12, 880.2524, -33.8488, 409.9155, 0, 0, 0, 0, 100, 0), +(1360540, 13, 883.6281, -12.63596, 409.799, 3.159046, 30000, 0, 5, 100, 0); -- emote 10 30s diff --git a/sql/updates/world/master/2021_10_22_13_world_2018_08_26_02_world_335.sql b/sql/updates/world/master/2021_10_22_13_world_2018_08_26_02_world_335.sql new file mode 100644 index 000000000..b72239540 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_13_world_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/master/2021_10_22_14_world_2018_08_26_03_world.sql b/sql/updates/world/master/2021_10_22_14_world_2018_08_26_03_world.sql new file mode 100644 index 000000000..a110f9b57 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_14_world_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/master/2021_10_22_15_world_2018_08_26_04_world_335.sql b/sql/updates/world/master/2021_10_22_15_world_2018_08_26_04_world_335.sql new file mode 100644 index 000000000..cb962127d --- /dev/null +++ b/sql/updates/world/master/2021_10_22_15_world_2018_08_26_04_world_335.sql @@ -0,0 +1,8 @@ +-- +-- 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/master/2021_10_22_16_world_2018_08_26_05_world_335.sql b/sql/updates/world/master/2021_10_22_16_world_2018_08_26_05_world_335.sql new file mode 100644 index 000000000..5b51f4542 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_16_world_2018_08_26_05_world_335.sql @@ -0,0 +1,292 @@ +-- +-- 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/master/2021_10_22_17_world_2018_08_26_06_world_335.sql b/sql/updates/world/master/2021_10_22_17_world_2018_08_26_06_world_335.sql new file mode 100644 index 000000000..963ad95ea --- /dev/null +++ b/sql/updates/world/master/2021_10_22_17_world_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/master/2021_10_22_18_world_2018_08_26_07_world_335.sql b/sql/updates/world/master/2021_10_22_18_world_2018_08_26_07_world_335.sql new file mode 100644 index 000000000..f53f71f05 --- /dev/null +++ b/sql/updates/world/master/2021_10_22_18_world_2018_08_26_07_world_335.sql @@ -0,0 +1,73 @@ +-- 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; +UPDATE `creature` SET `guid`=32380 WHERE `guid`=271028; +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 +UPDATE `creature` SET `guid`=32379 WHERE `guid`=271027; +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 +UPDATE `creature` SET `guid`=32378 WHERE `guid`=271029; +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/master/2021_10_22_19_world_2018_08_26_08_world_335.sql b/sql/updates/world/master/2021_10_22_19_world_2018_08_26_08_world_335.sql new file mode 100644 index 000000000..584254d9d --- /dev/null +++ b/sql/updates/world/master/2021_10_22_19_world_2018_08_26_08_world_335.sql @@ -0,0 +1,181 @@ +-- 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/sql/updates/world/master/2021_10_22_20_world_2018_08_26_09_world.sql b/sql/updates/world/master/2021_10_22_20_world_2018_08_26_09_world.sql new file mode 100644 index 000000000..a5b0e2e8a --- /dev/null +++ b/sql/updates/world/master/2021_10_22_20_world_2018_08_26_09_world.sql @@ -0,0 +1,96 @@ +-- NAXXANAR +-- AREATRIGGER-ID +-- SKY +-- 5338 roof +-- 5339 upper chamber +-- 5340 upper platform +-- 5334 lower platform +-- 5332 ground +-- GROUND +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (5332,5334,5340,5339,5338); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(5332, "SmartTrigger"), +(5334, "SmartTrigger"), +(5340, "SmartTrigger"), +(5339, "SmartTrigger"), +(5338, "SmartTrigger"); + +DELETE FROM `smart_scripts` WHERE `source_type` = 2 AND `entryorguid` IN (5332,5334,5340,5339,5338); +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 +(5332, 2, 0, 0, 46, 0, 100, 0, 5332, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3733.68, 3563.25, 290.812, 3.6651, "Areatrigger - On Trigger - Teleport player"), +(5334, 2, 0, 0, 46, 0, 100, 0, 5334, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3802.38, 3585.95, 49.576, 0.0, "Areatrigger - On Trigger - Teleport player"), +(5340, 2, 0, 0, 46, 0, 100, 0, 5340, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3687.91, 3577.28, 473.342, 0.0, "Areatrigger - On Trigger - Teleport player"), +(5340, 2, 1, 0, 46, 0, 100, 0, 5340, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3744.80, 3570.65, 341.66, 0.6, "Areatrigger - On Trigger - Teleport player"), +(5339, 2, 0, 0, 46, 0, 100, 0, 5339, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3733.68, 3563.25, 290.812, 3.6651, "Areatrigger - On Trigger - Teleport player"), +(5338, 2, 0, 0, 46, 0, 100, 0, 5338, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3733.68, 3563.25, 290.812, 3.6651, "Areatrigger - On Trigger - Teleport player"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` IN (5332,5334,5340,5339,5338); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 5332, 2, 0, 8, 0, 12019, 0, 0, 0, 0, 0, "", "SAI areatrigger 5332 requires quest Breaking Through turned in OR"), +(22, 1, 5332, 2, 1, 9, 0, 12019, 0, 0, 0, 0, 0, "", "SAI areatrigger 5332 requires quest Breaking Through in the log OR"), +(22, 1, 5332, 2, 2,28, 0, 12019, 0, 0, 0, 0, 0, "", "SAI areatrigger 5332 requires quest Breaking Through completed OR"), +(22, 1, 5332, 2, 3, 8, 0, 11898, 0, 0, 0, 0, 0, "", "SAI areatrigger 5332 requires quest Last Rites turned in OR"), +(22, 1, 5332, 2, 4, 9, 0, 11898, 0, 0, 0, 0, 0, "", "SAI areatrigger 5332 requires quest Last Rites in the log OR"), +(22, 1, 5332, 2, 5,28, 0, 11898, 0, 0, 0, 0, 0, "", "SAI areatrigger 5332 requires quest Last Rites completed OR"), +(22, 1, 5340, 2, 0, 6, 0, 469, 0, 0, 0, 0, 0, "", "SAI areatrigger 5340.0 triggers only if player is alliance"), +(22, 2, 5340, 2, 0, 6, 0, 67, 0, 0, 0, 0, 0, "", "SAI areatrigger 5340.1 triggers only if player is horde"); + +-- VOLTARUS +-- BUNNY-GUID AREATRIGGER-ID SPELL-ID TELE-ID +-- SKY +-- 114831 5080 52089 52091 +-- 114830 5079 52676 52677 +-- 114829 5061 52239 52240 +-- 114832 5051 52089 52091 +-- GROUND + +-- Drakuramas Teleport Bunnies should not move or spawn of center +UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `id` IN (28617, 28751); + +DELETE FROM `areatrigger_teleport` WHERE `ID` IN (5051, 5061, 5079, 5080); +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (5051, 5061, 5079, 5080); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(5051, "SmartTrigger"), +(5061, "SmartTrigger"), +(5079, "SmartTrigger"), +(5080, "SmartTrigger"); + +UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=28617; +DELETE FROM `smart_scripts` WHERE `source_type` = 2 AND `entryorguid` IN (5051, 5061, 5079, 5080); +DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryorguid` IN (2861700, 2861701, 2861702, 2861703); +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 +(5051, 2, 0, 1, 46, 0, 100, 0, 5051, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Store target"), +(5051, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 10, 114832, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Send target"), +(5051, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 2861700, 0, 0, 0, 0, 0, 10, 114832, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Action list"), +(5061, 2, 0, 1, 46, 0, 100, 0, 5061, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Store target"), +(5061, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 10, 114829, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Send target"), +(5061, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 2861701, 0, 0, 0, 0, 0, 10, 114829, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Action list"), +(5079, 2, 0, 1, 46, 0, 100, 0, 5079, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Store target"), +(5079, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 10, 114830, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Send target"), +(5079, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 2861702, 0, 0, 0, 0, 0, 10, 114830, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Action list"), +(5080, 2, 0, 1, 46, 0, 100, 0, 5080, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Store target"), +(5080, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 10, 114831, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Send target"), +(5080, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 2861703, 0, 0, 0, 0, 0, 10, 114831, 28617, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Action list"), +(2861700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 85, 52089, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport Script 01' on self"), +(2861700, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 85, 52091, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport 01' on stored target"), +(2861701, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 85, 52239, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport Script 02' on self"), +(2861701, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 85, 52240, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport 02' on stored target"), +(2861702, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 85, 52676, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport Script 03' on self"), +(2861702, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 85, 52677, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport 03' on stored target"), +(2861703, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 85, 52089, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport Script 01' on self"), +(2861703, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 85, 52091, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Drakuramas Teleport Bunny 01 - Action list - Cast 'Drakuramas Teleport 01' on stored target"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` IN (5051, 5061, 5079, 5080); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 5051, 2, 0, 1, 0, 51966, 0, 0, 0, 0, 0, "", "SAI areatrigger 5051 triggers if player has aura 'Scourge Disguise'"), +(22, 1, 5061, 2, 0, 1, 0, 51966, 0, 0, 0, 0, 0, "", "SAI areatrigger 5061 triggers if player has aura 'Scourge Disguise'"), +(22, 1, 5079, 2, 0, 1, 0, 51966, 0, 0, 0, 0, 0, "", "SAI areatrigger 5079 triggers if player has aura 'Scourge Disguise' AND"), +(22, 1, 5079, 2, 0, 2, 0, 39319, 1, 0, 0, 0, 0, "", "SAI areatrigger 5079 triggers if player has item 'Scepter of Domination' AND"), +(22, 1, 5080, 2, 0, 1, 0, 51966, 0, 0, 0, 0, 0, "", "SAI areatrigger 5080 triggers if player has aura 'Scourge Disguise'"); + +-- DELETE FROM `spell_target_position` WHERE `id` IN (52240); +-- INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES +-- (52240, 0, 571, 6175.59, -2000.67, 241.769, 1.54, 0); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (52089,52239,52676); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (52089, 52091, 52239, 52676, 52240,52677); diff --git a/sql/updates/world/master/2021_10_22_21_world_2018_08_27_00_world.sql b/sql/updates/world/master/2021_10_22_21_world_2018_08_27_00_world.sql new file mode 100644 index 000000000..6c525a13d --- /dev/null +++ b/sql/updates/world/master/2021_10_22_21_world_2018_08_27_00_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `gameobject_loot_template` SET `QuestRequired`=0 WHERE `Entry`=3266 AND `Item`=5833; diff --git a/sql/updates/world/master/2021_10_23_00_world.sql b/sql/updates/world/master/2021_10_23_00_world.sql new file mode 100644 index 000000000..d8394b69e --- /dev/null +++ b/sql/updates/world/master/2021_10_23_00_world.sql @@ -0,0 +1,2 @@ +-- +ALTER TABLE `instance_template` DROP `allowMount`; diff --git a/sql/updates/world/master/2021_10_23_03_world_2018_08_30_00_world.sql b/sql/updates/world/master/2021_10_23_03_world_2018_08_30_00_world.sql new file mode 100644 index 000000000..374691c88 --- /dev/null +++ b/sql/updates/world/master/2021_10_23_03_world_2018_08_30_00_world.sql @@ -0,0 +1,97 @@ +-- +SET @NPC := 100206; +SET @PATH := @NPC*10; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,8,3662.692,328.2304,338.4197,0,0,0,100,0), +(@PATH,7,3648.806,293.8063,321.0587,0,0,0,100,0), +(@PATH,6,3677.441,213.8859,320.1976,0,0,0,100,0), +(@PATH,5,3615.31,209.5691,324.1698,0,0,0,100,0), +(@PATH,4,3637.643,254.0089,332.7251,0,0,0,100,0), +(@PATH,3,3699.886,260.6509,327.8641,0,0,0,100,0), +(@PATH,2,3720.373,308.941,337.7808,0,0,0,100,0), +(@PATH,1,3691.676,352.0933,342.2254,0,0,0,100,0); + +SET @NPC := 100209; +SET @PATH := @NPC*10; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3748.806,293.8063,201.0587,0,0,0,100,0), +(@PATH,2,3777.441,213.8859,200.1976,0,0,0,100,0), +(@PATH,3,3715.31,209.5691,204.1698,0,0,0,100,0), +(@PATH,4,3737.643,254.0089,202.7251,0,0,0,100,0), +(@PATH,5,3799.886,260.6509,207.8641,0,0,0,100,0), +(@PATH,6,3820.373,308.941,207.7808,0,0,0,100,0), +(@PATH,7,3791.676,352.0933,202.2254,0,0,0,100,0), +(@PATH,8,3762.692,328.2304,208.4197,0,0,0,100,0); + +SET @NPC := 99108; +SET @PATH := @NPC*10; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,18,3506.288,141.7649,169.6936,0,0,0,100,0), +(@PATH,17,3378.177,251.381,169.6936,0,0,0,100,0), +(@PATH,16,3448.559,417.0887,169.6936,0,0,0,100,0), +(@PATH,15,3659.633,429.129,169.6936,0,0,0,100,0), +(@PATH,14,3726.806,236.8274,169.6936,0,0,0,100,0), +(@PATH,13,3554.261,69.58746,169.6936,0,0,0,100,0), +(@PATH,12,3337.373,175.2911,169.6936,0,0,0,100,0), +(@PATH,11,3292.872,421.84,169.6936,0,0,0,100,0), +(@PATH,10,3355.351,609.4697,169.6936,0,0,0,100,0), +(@PATH,9,3233.689,777.6954,207.249,0,0,0,100,0), +(@PATH,8,3049.014,721.6703,224.4991,0,0,0,100,0), +(@PATH,7,3044.268,566.5984,169.6936,0,0,0,100,0), +(@PATH,6,3142.397,481.2142,169.6936,0,0,0,100,0), +(@PATH,5,3328.336,435.8111,169.6936,0,0,0,100,0), +(@PATH,4,3583.232,539.7742,169.6936,0,0,0,100,0), +(@PATH,3,3799.81,460.638,169.6936,0,0,0,100,0), +(@PATH,2,3717.946,244.38,169.6936,0,0,0,100,0), +(@PATH,1,3542.247,134.1484,169.6936,0,0,0,100,0); + +SET @NPC := 100824; +SET @PATH := @NPC*10; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,14,3559.792,412.912,244.8625,0,0,0,100,0), +(@PATH,13,3625.949,456.7731,244.8625,0,0,0,100,0), +(@PATH,12,3683.285,437.189,244.8625,0,0,0,100,0), +(@PATH,11,3727.341,385.3615,244.8625,0,0,0,100,0), +(@PATH,10,3786.656,388.9702,244.8625,0,0,0,100,0), +(@PATH,9,3811.097,463.1342,244.8625,0,0,0,100,0), +(@PATH,8,3769.007,516.1342,244.8625,0,0,0,100,0), +(@PATH,7,3685.209,493.7117,244.8625,0,0,0,100,0), +(@PATH,6,3589.482,475.7777,244.8625,0,0,0,100,0), +(@PATH,5,3491.84,496.9259,244.8625,0,0,0,100,0), +(@PATH,4,3406.895,485.8197,244.8625,0,0,0,100,0), +(@PATH,3,3370.333,427.0351,244.8625,0,0,0,100,0), +(@PATH,2,3411.417,366.7467,244.8625,0,0,0,100,0), +(@PATH,1,3479.214,376.5652,244.8625,0,0,0,100,0); + +DELETE FROM `waypoint_data` WHERE `id`=1241240; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(1241240, 26, 4024.11, 7168.08, 232.048,0,0,0,100,0), +(1241240, 25, 4012.89, 7180.92, 232.048,0,0,0,100,0), +(1241240, 24, 3994.29, 7197.3, 232.048,0,0,0,100,0), +(1241240, 23, 3962.67, 7211.43, 232.048,0,0,0,100,0), +(1241240, 22, 3928.03, 7221.9, 232.048,0,0,0,100,0), +(1241240, 21, 3903.5, 7236.1, 237.687,0,0,0,100,0), +(1241240, 20, 3882.38, 7232.92, 242.242,0,0,0,100,0), +(1241240, 19, 3858.55, 7224.29, 241.215,0,0,0,100,0), +(1241240, 18, 3844.43, 7205.01, 231.298,0,0,0,100,0), +(1241240, 17, 3844.95, 7183.08, 225.631,0,0,0,100,0), +(1241240, 16, 3853.11, 7151.16, 217.326,0,0,0,100,0), +(1241240, 15, 3870.74, 7131.27, 210.326,0,0,0,100,0), +(1241240, 14, 3896.19, 7103.67, 211.27,0,0,0,100,0), +(1241240, 13, 3918.27, 7080.29, 210.742,0,0,0,100,0), +(1241240, 12, 3937.72, 7052.57, 210.27,0,0,0,100,0), +(1241240, 11, 3952.93, 7028.98, 209.187,0,0,0,100,0), +(1241240, 10, 3971.03, 7002.62, 209.881,0,0,0,100,0), +(1241240, 9, 4004.69, 6989.1, 213.854,0,0,0,100,0), +(1241240, 8, 4041.09, 7000.58, 221.326,0,0,0,100,0), +(1241240, 7, 4071.54, 7033.09, 221.52,0,0,0,100,0), +(1241240, 6, 4086.07, 7065.28, 224.604,0,0,0,100,0), +(1241240, 5, 4097.13, 7102.44, 232.048,0,0,0,100,0), +(1241240, 4, 4095.98, 7138.24, 243.492,0,0,0,100,0), +(1241240, 3, 4083.88, 7155.52, 249.465,0,0,0,100,0), +(1241240, 2, 4058.74, 7162.29, 244.631,0,0,0,100,0), +(1241240, 1, 4038.05, 7165.02, 238.298,0,0,0,100,0); diff --git a/sql/updates/world/master/2021_10_23_04_world_2018_08_30_01_world.sql b/sql/updates/world/master/2021_10_23_04_world_2018_08_30_01_world.sql new file mode 100644 index 000000000..f2c24ad5e --- /dev/null +++ b/sql/updates/world/master/2021_10_23_04_world_2018_08_30_01_world.sql @@ -0,0 +1,36 @@ +-- +UPDATE `smart_scripts` SET `event_param1`=180000, `event_param2`=180000, `event_param3`=180000, `event_param4`=180000 WHERE `entryorguid` IN (-111996, -112005) AND `source_type`=0 AND `id`=0; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN(38505); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(-112002,-111993,38505,38493) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(3850500,38505*100+1) 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 +(-112002, 0, 0, 0, 60, 0, 100, 0, 60000, 90000, 60000, 90000, 80, 38505*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - On Update - Run Script'), +(38505*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, 38505, 4, 120000, 0, 0, 0, 8, 0, 0, 0, 5898.320, 2041.114, 636.0415, 1.841691, 'Knight of the Ebon Blade - On Script - Summon Creature Knight of the Ebon Blade'), +(-111993, 0, 0, 0, 60, 0, 100, 0, 60000, 90000, 60000, 90000, 80, 38505*100+1, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Argent Cruasder - On Update - Run Script'), +(38505*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, 38493, 4, 120000, 0, 0, 0, 8, 0, 0, 0, 5837.231, 2179.012, 636.0412, 6.169237, 'Argent Cruasder - On Script - Summon Creature Argent Cruasder'), +(38505, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 53, 0, 38505, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - On Just summoned - start watpoint'), +(38505, 0, 1, 0, 40, 0, 100, 0, 9, 38505, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - On waypoint reached - despawn'), +(38493, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 53, 0, 38493, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Argent Cruasder - On Just summoned - start watpoint'), +(38493, 0, 1, 0, 40, 0, 100, 0, 9, 38493, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Argent Cruasder - On waypoint reached - despawn'); + +DELETE FROM `waypoints` WHERE `entry` IN (38493,38505); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(38493,1,5856.899, 2179.507, 636.041,""), +(38493,2,5867.398, 2157.619, 636.041,""), +(38493,3,5873.770, 2144.504, 636.041,""), +(38493,4,5871.876, 2124.536, 636.041,""), +(38493,5,5865.335, 2107.692, 635.977,""), +(38493,6,5854.102, 2101.100, 636.034,""), +(38493,7,5826.581, 2088.601, 636.064,""), +(38493,8,5810.641, 2081.362, 636.064,""), +(38493,9,5782.596, 2068.108, 636.064,""), +(38505,1,5894.719, 2067.567, 636.041,""), +(38505,2,5886.676, 2082.452, 636.041,""), +(38505,3,5876.980, 2088.505, 636.041,""), +(38505,4,5868.985, 2102.083, 636.041,""), +(38505,5,5868.985, 2102.083, 636.041,""), +(38505,6,5853.833, 2101.389, 636.034,""), +(38505,7,5830.794, 2090.629, 636.063,""), +(38505,8,5812.584, 2082.479, 636.063,""), +(38505,9,5782.596, 2068.108, 636.064,""); diff --git a/sql/updates/world/master/2021_10_23_07_world_2018_09_01_00_world.sql b/sql/updates/world/master/2021_10_23_07_world_2018_09_01_00_world.sql new file mode 100644 index 000000000..94e1a15a3 --- /dev/null +++ b/sql/updates/world/master/2021_10_23_07_world_2018_09_01_00_world.sql @@ -0,0 +1,165 @@ +-- Algalon +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_algalon_arcane_barrage', +'spell_algalon_phase_constellation', +'spell_algalon_black_hole_phase_shifts'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(65508,'spell_algalon_phase_constellation'), +(62168,'spell_algalon_black_hole_phase_shifts'), +(65250,'spell_algalon_black_hole_phase_shifts'), +(64417,'spell_algalon_black_hole_phase_shifts'); + +UPDATE `creature_template` SET `ScriptName`='npc_black_hole' WHERE `entry`=32953; +UPDATE `creature` SET `spawntimesecs`=15 WHERE `id`=33089; -- Dark Matters should respawn faster (is always full present in each black hole travel) + +DELETE FROM `creature_template_movement` WHERE `CreatureId`=34131; -- Stalker Asteroid Target 2 (25 man) +INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`) VALUES +(34131,0,0,1,0); + +-- Living Constellation immune mask +UPDATE `creature_template` SET `mechanic_immune_mask` = +1| -- charm +2| -- disorient +4| -- disarm +16| -- fear +512| -- sleep +2048| -- stun +4096| -- freeze +8192| -- knockout +65536| -- polymorph +131072| -- banish +524288| -- shackle +1048576| -- mount +4194304| -- turn +8388608| -- horror +536870912 -- sapped +WHERE `entry` IN (33052,33116); + +-- Brann Bronzebeard +UPDATE `creature_text` SET `Emote`=19 WHERE `CreatureID`=34064 AND `GroupID`=1 AND `ID`=0; + +-- Movement stuffs + +-- Before Door (Intro) +DELETE FROM `script_spline_chain_meta` WHERE `entry`=34064 AND `chainId`=1; +INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES +(34064, 1, 0, 4584, 3641), +(34064, 1, 1, 1881, 1234), +(34064, 1, 2, 1279, 0); +DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34064 AND `chainId`=1; +INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES +(34064, 1, 0, 0, 1677.3630, -162.35140, 427.33200), +(34064, 1, 0, 1, 1680.0880, -162.26590, 427.33260), +(34064, 1, 0, 2, 1679.0880, -162.26590, 427.33260), +(34064, 1, 0, 3, 1663.3630, -163.04570, 427.32710), +(34064, 1, 0, 4, 1660.9440, -163.16570, 427.27290), +(34064, 1, 0, 5, 1656.7000, -163.37610, 427.27290), +(34064, 1, 0, 6, 1653.5710, -163.53130, 427.34070), +(34064, 1, 0, 7, 1642.4820, -164.08120, 427.26020), +(34064, 1, 0, 8, 1642.4820, -164.08120, 427.26020), +(34064, 1, 1, 0, 1648.2720, -163.79410, 427.30220), +(34064, 1, 1, 1, 1642.3860, -164.15430, 427.52730), +(34064, 1, 1, 2, 1635.0000, -169.51450, 427.25230), +(34064, 1, 2, 0, 1639.2800, -166.40650, 427.25680), +(34064, 1, 2, 1, 1635.2970, -169.42000, 427.50950), +(34064, 1, 2, 2, 1633.2970, -172.92000, 427.50950), +(34064, 1, 2, 3, 1632.8140, -173.93340, 427.26210); + +-- Algalon Room (Intro) +DELETE FROM `script_spline_chain_meta` WHERE `entry`=34064 AND `chainId`=2; +INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES +(34064, 2, 0, 21837, 20656), +(34064, 2, 1, 20274, 0); +DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34064 AND `chainId`=2; +INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES +(34064, 2, 0, 0, 1632.8140, -173.93340, 427.26210), +(34064, 2, 0, 1, 1632.8260, -175.36180, 427.54690), +(34064, 2, 0, 2, 1632.8260, -176.36180, 427.54690), +(34064, 2, 0, 3, 1632.5760, -178.11180, 427.54690), +(34064, 2, 0, 4, 1632.5760, -186.86180, 427.54690), +(34064, 2, 0, 5, 1632.3260, -191.11180, 427.54690), +(34064, 2, 0, 6, 1632.0760, -211.36180, 419.79690), +(34064, 2, 0, 7, 1632.0760, -213.61180, 418.79690), +(34064, 2, 0, 8, 1631.8260, -219.86180, 418.79690), +(34064, 2, 0, 9, 1631.5760, -222.86180, 418.79690), +(34064, 2, 0, 10, 1631.5760, -226.11180, 418.79690), +(34064, 2, 0, 11, 1631.3390, -226.79030, 418.33180), +(34064, 2, 1, 0, 1631.4220, -223.79560, 418.40920), +(34064, 2, 1, 1, 1631.4580, -226.29390, 418.61520), +(34064, 2, 1, 2, 1631.4580, -226.79390, 418.61520), +(34064, 2, 1, 3, 1631.9580, -227.79390, 418.36520), +(34064, 2, 1, 4, 1631.9580, -229.79390, 417.86520), +(34064, 2, 1, 5, 1631.7080, -232.04390, 417.86520), +(34064, 2, 1, 6, 1631.7080, -234.04390, 417.86520), +(34064, 2, 1, 7, 1637.2080, -266.79390, 417.61520), +(34064, 2, 1, 8, 1630.4940, -267.29210, 417.32110); + +-- Outro 1 +DELETE FROM `script_spline_chain_meta` WHERE `entry`=34064 AND `chainId`=3; +INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES +(34064, 3, 0, 13940, 0); +DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34064 AND `chainId`=3; +INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES +(34064, 3, 0, 0, 1631.9890, -221.54390, 418.40910), +(34064, 3, 0, 1, 1631.9910, -222.44830, 418.40910), +(34064, 3, 0, 2, 1632.0610, -269.03790, 417.32100), +(34064, 3, 0, 3, 1631.9860, -297.78310, 417.32100), +(34064, 3, 0, 4, 1631.9860, -297.78310, 417.32100); + +-- Outro 2 +DELETE FROM `script_spline_chain_meta` WHERE `entry`=34064 AND `chainId`=4; +INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES +(34064, 4, 0, 26675, 0); +DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34064 AND `chainId`=4; +INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES +(34064, 4, 0, 0, 1631.9860, -297.78310, 417.32100), +(34064, 4, 0, 1, 1632.5820, -289.54480, 417.79630), +(34064, 4, 0, 2, 1633.0820, -267.29480, 417.79630), +(34064, 4, 0, 3, 1631.8320, -227.29480, 418.54630), +(34064, 4, 0, 4, 1632.5820, -217.79480, 418.79630), +(34064, 4, 0, 5, 1632.3320, -203.04480, 423.04630), +(34064, 4, 0, 6, 1633.0820, -188.79480, 427.54630), +(34064, 4, 0, 7, 1631.5820, -164.04480, 427.29630), +(34064, 4, 0, 8, 1656.8320, -164.79480, 427.54630), +(34064, 4, 0, 9, 1681.3320, -164.29480, 427.54630), +(34064, 4, 0, 10, 1682.3320, -154.54480, 427.54630), +(34064, 4, 0, 11, 1683.1770, -136.30650, 427.27150); + +-- Despawn Point Intro +DELETE FROM `script_spline_chain_meta` WHERE `entry`=34064 AND `chainId`=5; +INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES +(34064, 5, 0, 29711, 28875), +(34064, 5, 1, 12977, 12141), +(34064, 5, 2, 7479, 6437), +(34064, 5, 3, 5117, 0); +DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34064 AND `chainId`=5; +INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES +(34064, 5, 0, 0, 1630.4940, -267.29210, 417.32110), +(34064, 5, 0, 1, 1637.0400, -266.68800, 417.84810), +(34064, 5, 0, 2, 1634.5400, -233.93800, 417.84810), +(34064, 5, 0, 3, 1634.2900, -231.68800, 417.84810), +(34064, 5, 0, 4, 1634.2900, -229.93800, 417.84810), +(34064, 5, 0, 5, 1632.0400, -227.68800, 418.59810), +(34064, 5, 0, 6, 1632.0400, -226.18800, 418.84810), +(34064, 5, 0, 7, 1632.0400, -223.18800, 418.84810), +(34064, 5, 0, 8, 1632.0400, -220.18800, 418.84810), +(34064, 5, 0, 9, 1632.0400, -213.68800, 418.84810), +(34064, 5, 0, 10, 1632.0400, -211.68800, 419.84810), +(34064, 5, 0, 11, 1632.0850, -201.58390, 423.37500), +(34064, 5, 1, 0, 1632.0770, -203.61940, 422.59170), +(34064, 5, 1, 1, 1632.1190, -201.36540, 423.66990), +(34064, 5, 1, 2, 1631.6190, -190.86540, 427.66990), +(34064, 5, 1, 3, 1631.3690, -186.86540, 427.41990), +(34064, 5, 1, 4, 1631.1190, -178.11540, 427.41990), +(34064, 5, 1, 5, 1631.1190, -176.36540, 427.41990), +(34064, 5, 1, 6, 1631.1190, -175.36540, 427.41990), +(34064, 5, 1, 7, 1630.8690, -173.11540, 427.41990), +(34064, 5, 1, 8, 1630.6600, -172.11150, 427.24800), +(34064, 5, 2, 0, 1630.7620, -174.22000, 427.26550), +(34064, 5, 2, 1, 1630.8760, -173.00420, 427.51350), +(34064, 5, 2, 2, 1630.8760, -171.75420, 427.51350), +(34064, 5, 2, 3, 1645.9900, -165.78850, 427.26160), +(34064, 5, 3, 0, 1642.4200, -167.26120, 427.25840), +(34064, 5, 3, 1, 1646.1510, -165.89170, 427.54380), +(34064, 5, 3, 2, 1654.4010, -165.14170, 427.54380), +(34064, 5, 3, 3, 1654.8810, -165.02210, 427.32920); diff --git a/sql/updates/world/master/2021_10_23_08_world_2018_09_01_01_world.sql b/sql/updates/world/master/2021_10_23_08_world_2018_09_01_01_world.sql new file mode 100644 index 000000000..ca957cf07 --- /dev/null +++ b/sql/updates/world/master/2021_10_23_08_world_2018_09_01_01_world.sql @@ -0,0 +1,7 @@ +-- +DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (36853, 38265, 38266, 38267); +INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`) VALUES +(36853, 1, 0, 2, 0), +(38265, 1, 0, 2, 0), +(38266, 1, 0, 2, 0), +(38267, 1, 0, 2, 0); diff --git a/sql/updates/world/master/2021_10_23_09_world_2018_09_02_01_world_335.sql b/sql/updates/world/master/2021_10_23_09_world_2018_09_02_01_world_335.sql new file mode 100644 index 000000000..65dd242fb --- /dev/null +++ b/sql/updates/world/master/2021_10_23_09_world_2018_09_02_01_world_335.sql @@ -0,0 +1,2 @@ +-- Haughty Modiste +UPDATE `creature_template` SET `gossip_menu_id`=7524 WHERE `entry`=15165; diff --git a/sql/updates/world/master/2021_10_23_10_world_2018_09_02_02_world_335.sql b/sql/updates/world/master/2021_10_23_10_world_2018_09_02_02_world_335.sql new file mode 100644 index 000000000..c563a3ff3 --- /dev/null +++ b/sql/updates/world/master/2021_10_23_10_world_2018_09_02_02_world_335.sql @@ -0,0 +1,2 @@ +-- Quest: Frostmaw +UPDATE `quest_offer_reward` SET `RewardText`="Both strength and cunning were needed to find and defeat Frostmaw, $N. You have both.$b$bYour path has taken you to the valleys of Thousand Needles and to the high mountains of Alterac. It will one day lead you through all the Earthmother's lands, for such is the way of the hunter." WHERE `ID`= 1136; diff --git a/sql/updates/world/master/2021_10_23_11_world_2018_09_03_00_world_335.sql b/sql/updates/world/master/2021_10_23_11_world_2018_09_03_00_world_335.sql new file mode 100644 index 000000000..fc95fcff8 --- /dev/null +++ b/sql/updates/world/master/2021_10_23_11_world_2018_09_03_00_world_335.sql @@ -0,0 +1,29 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=738 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (73800,73803,73804) 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 +(738,0,1,0,11,0,100,0,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Set Active On"), +(738,0,2,0,11,0,100,0,0,0,0,0,0,80,73800,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Run Sript"), +(738,0,3,0,40,0,100,0,14,73800,0,0,0,80,73801,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 14 Reached - Run Script"), +(738,0,4,0,40,0,100,0,16,73800,0,0,0,80,73802,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"), +(738,0,5,0,38,0,100,0,1,1,0,0,0,80,73803,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Data Set - Run Script"), +(738,0,6,0,40,0,100,0,16,73801,0,0,0,80,73804,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"), +(73800,9,0,0,0,0,100,0,600000,600000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"), +(73800,9,1,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"), +(73800,9,2,0,0,0,100,0,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Remove Npc Flag Questgiver"), +(73803,9,0,0,0,0,100,0,2000,2000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 3"), +(73803,9,1,0,0,0,100,0,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Add Npc Flag Questgiver"), +(73803,9,3,0,0,0,100,0,120000,120000,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 4"), +(73803,9,4,0,0,0,100,0,5000,5000,0,0,0,53,0,73801,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"), +(73803,9,5,0,0,0,100,0,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Remove Npc Flag Questgiver"), +(73804,9,0,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.5676,"Private Thorsen - On Script - Set Orientation"), +(73804,9,1,0,0,0,100,0,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - add Npc Flag Questgiver"), +(73804,9,2,0,0,0,100,0,500,500,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 5"), +(73804,9,3,0,0,0,100,0,7000,7000,0,0,0,1,0,0,0,0,0,0,19,733,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0 (Sergeant Yohwa)"), +(73804,9,4,0,0,0,100,0,900000,900000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"), +(73804,9,6,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"), +(73804,9,5,0,0,0,100,0,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Remove Npc Flag Questgiver"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry`=215; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19,0,215,0,0,23,0,99,0,0,1,0,0,"","Quest 'Jungle Secrets' can only be taken if Private Thorsen is not in area 99"); diff --git a/sql/updates/world/master/2021_10_23_12_world_2018_09_03_01_world.sql b/sql/updates/world/master/2021_10_23_12_world_2018_09_03_01_world.sql new file mode 100644 index 000000000..294d91dff --- /dev/null +++ b/sql/updates/world/master/2021_10_23_12_world_2018_09_03_01_world.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=177964; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,177964,1,0,29,1,12876,50,0,1,0,'','Execute sai if not near 12876 alive'), +(22,1,177964,1,0,29,1,12876,50,1,1,0,'','Execute sai if not near 12876 dead'); diff --git a/sql/updates/world/master/2021_10_23_13_world_2018_09_03_02_world_335.sql b/sql/updates/world/master/2021_10_23_13_world_2018_09_03_02_world_335.sql new file mode 100644 index 000000000..3b3bf79ff --- /dev/null +++ b/sql/updates/world/master/2021_10_23_13_world_2018_09_03_02_world_335.sql @@ -0,0 +1,3 @@ +-- +UPDATE `quest_template_addon` SET `PrevQuestID`=9685 WHERE `id` IN (9690); +UPDATE `smart_scripts` SET `action_param6`=1 WHERE `action_type`=53 AND `entryorguid` IN (17811, 17812,17809,17810) AND source_type=0; diff --git a/sql/updates/world/master/2021_10_24_00_world.sql b/sql/updates/world/master/2021_10_24_00_world.sql new file mode 100644 index 000000000..0a3dc5176 --- /dev/null +++ b/sql/updates/world/master/2021_10_24_00_world.sql @@ -0,0 +1,80 @@ +-- +SET @CGUID := 1050134; + +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `VerifiedBuild`=40443 WHERE `entry`=164742; -- Prince Renathal + +DELETE FROM `creature_template_scaling` WHERE(`DifficultyID`=0 AND `Entry` IN (164742, 172367)); +INSERT INTO `creature_template_scaling` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `VerifiedBuild`) VALUES +(164742, 0, 0, 0, 837, 40443); + +DELETE FROM `creature` WHERE `guid` = @CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 164742, 2222, 10413, 10986, '0', 14983, 0, 0, 0, -1940.4791259765625, 7754.97509765625, 4228.1572265625, 5.323254108428955078, 120, 0, 0, 117910, 2434, 0, 0, 0, 0, 40443); -- Prince Renathal (Area: Sinfall - Difficulty: 0) + +DELETE FROM `creature_queststarter` WHERE `id`=164742 AND `quest`=59315; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES +(164742, 59315); -- The Court of Harvesters + +DELETE FROM `creature_questender` WHERE `id`=164742 AND `quest`=59314; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(164742, 59314); -- Sinfall + +DELETE FROM `quest_template_addon` WHERE `ID` IN(63215, 59314, 59315); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`) VALUES +(63215, 0, 59314), +(59314, 63215, 59315), +(59315, 59314, 59321); + +DELETE FROM `phase_area` WHERE `AreaId`=12917 AND `PhaseId`=14983; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(12917, 14983, 'Cosmetic: Venthyr Covenant Intro - Prince Renathal upstairs'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND `SourceGroup`=14983 AND `SourceEntry`=12917; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 14983, 12917, 0, 0, 47, 0, 59314, 0x2|0x8, 0, 0, 'Allow phase 14983 if quest state of of Sinfall (59314) is incomplete or completed'), +(26, 14983, 12917, 0, 1, 8, 0, 59314, 0, 0, 0, 'Allow phase 14983 if player has quest Sinfall (59314) rewarded'), +(26, 14983, 12917, 0, 1, 14, 0, 59315, 0, 0, 0, 'Allow phase 14983 if player doesn\'t have quest The Court of Harvesters (59315) active'); + +-- +UPDATE `quest_template` SET `VerifiedBuild`=40443 WHERE `ID`=59314; -- -Unknown- +UPDATE `quest_template` SET `VerifiedBuild`=40443 WHERE `ID`=59315; -- -Unknown- + +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `BlobIndex`=0 AND `Idx1`=4); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `BlobIndex`=0 AND `Idx1`=3); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `BlobIndex`=0 AND `Idx1`=2); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `BlobIndex`=0 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `BlobIndex`=0 AND `Idx1`=6); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `BlobIndex`=1 AND `Idx1`=5); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `BlobIndex`=0 AND `Idx1`=4); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `BlobIndex`=1 AND `Idx1`=3); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `BlobIndex`=0 AND `Idx1`=2); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `BlobIndex`=1 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- + +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `Idx1`=4 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `Idx1`=3 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `Idx1`=2 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59315 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `Idx1`=6 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `Idx1`=5 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `Idx1`=4 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `Idx1`=3 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `Idx1`=2 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59314 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- + +DELETE FROM `quest_details` WHERE `ID` IN (59315 /*-Unknown-*/, 59314 /*-Unknown-*/); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(59315, 1, 1, 0, 0, 0, 0, 0, 0, 40443), -- -Unknown- +(59314, 1, 1, 0, 0, 0, 0, 0, 0, 40443); -- -Unknown- + +DELETE FROM `quest_offer_reward` WHERE `ID` IN (59315 /*-Unknown-*/, 59314 /*-Unknown-*/); +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(59315, 1, 0, 0, 0, 0, 0, 0, 0, 'Welcome to our humble court, $p.', 40443), -- -Unknown- +(59314, 1, 0, 0, 0, 0, 0, 0, 0, 'I never doubted you for a moment, $p.', 40443); -- -Unknown- + +DELETE FROM `quest_request_items` WHERE `ID`=59315; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES +(59315, 0, 1, 0, 0, 'You will be welcomed by the court, I have no doubt, but first, you must swear an oath before the Harvesters.', 40443); -- -Unknown- diff --git a/sql/updates/world/master/2021_10_24_01_world.sql b/sql/updates/world/master/2021_10_24_01_world.sql new file mode 100644 index 000000000..3c850ff2b --- /dev/null +++ b/sql/updates/world/master/2021_10_24_01_world.sql @@ -0,0 +1,59 @@ +-- +SET @CGUID := 1050135; + +DELETE FROM `quest_offer_reward` WHERE `ID` IN (50313 /*-Unknown-*/, 49772 /*-Unknown-*/); +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(50313, 1, 0, 0, 0, 0, 0, 0, 0, 'Welcome to this beautiful city, $n. I am sure you will feel as welcome by the other members of the Alliance as I do.\n\nI have met a number of the city guards. Good people, though there are a few things they could learn from us.', 40593), -- -Unknown- +(49772, 1, 0, 0, 0, 0, 0, 0, 0, 'What have we here? One of the famed Lightforged draenei! Welcome, welcome.\n\nThank you for your service against the Legion, $n. Truly an inspiration!', 40593); -- -Unknown- + +DELETE FROM `quest_poi` WHERE (`QuestID`=50313 AND `BlobIndex`=0 AND `Idx1`=2) OR (`QuestID`=50313 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=50313 AND `BlobIndex`=0 AND `Idx1`=0); +INSERT INTO `quest_poi` (`QuestID`, `BlobIndex`, `Idx1`, `ObjectiveIndex`, `QuestObjectiveID`, `QuestObjectID`, `MapID`, `UiMapID`, `Priority`, `Flags`, `WorldEffectID`, `PlayerConditionID`, `NavigationPlayerConditionID`, `SpawnTrackingID`, `AlwaysAllowMergingBlobs`, `VerifiedBuild`) VALUES +(50313, 0, 2, 32, 0, 0, 0, 84, 0, 0, 0, 0, 0, 1456603, 0, 40593), -- -Unknown- +(50313, 0, 1, 0, 312152, 65238, 0, 84, 0, 2, 0, 0, 0, 0, 0, 40593), -- -Unknown- +(50313, 0, 0, -1, 0, 0, 0, 84, 0, 0, 0, 0, 0, 1430411, 0, 40593); -- -Unknown- + +UPDATE `quest_poi` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49772 AND `BlobIndex`=0 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49772 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=50313 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=50313 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=50313 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `Z`, `VerifiedBuild`) VALUES +(50313, 2, 0, -8173, 801, 74, 40593), -- -Unknown- +(50313, 1, 0, -8348, 634, 0, 40593), -- -Unknown- +(50313, 0, 0, -8340, 637, 95, 40593); -- -Unknown- + +UPDATE `quest_poi_points` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49772 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49772 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- + +DELETE FROM `quest_details` WHERE `ID`=50313; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(50313, 1, 1, 0, 0, 0, 0, 0, 0, 40593); -- -Unknown- + +DELETE FROM `quest_request_items` WHERE `ID`=50313; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES +(50313, 0, 0, 0, 0, 'I can feel the Light in this place.', 40593); -- -Unknown- + +UPDATE `quest_template` SET `RewardMoney`=200, `VerifiedBuild`=40593 WHERE `ID`=50313; -- -Unknown- +UPDATE `quest_template` SET `RewardMoney`=200, `RewardBonusMoney`=90, `VerifiedBuild`=40593 WHERE `ID`=49772; -- -Unknown- + +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `faction`=2916, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=2048, `VerifiedBuild`=40593 WHERE `entry`=131334; -- Vindicator Minkey +UPDATE `creature_template_model` SET `VerifiedBuild`=40593 WHERE (`CreatureID`=131334 AND `Idx`=0); -- Vindicator Minkey + +DELETE FROM `creature` WHERE `guid`=@CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 131334, 0, 1519, 5316, '0', 10036, 0, 0, 0, -8340.1611328125, 637.16839599609375, 95.515106201171875, 3.320595502853393554, 120, 0, 0, 11791, 0, 0, 0, 0, 0, 40593); -- Vindicator Minkey (Area: Olivia's Pond - Difficulty: 0) + +DELETE FROM `creature_questender` WHERE `id`=131334 AND `quest`=50313; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(131334, 50313); -- Stranger in a Strange Land + +DELETE FROM `creature_text` WHERE `CreatureID`=131334; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(131334, 0, 0, 'Light be with you, $n. I plan to seek the Legion upon Azeroth to continue our eternal battle.', 12, 0, 100, 1, 0, 0, 143327, 5, 'Vindicator Minkey to Player'); + +DELETE FROM `phase_area` WHERE `AreaId`=1519 AND `PhaseId`=10036; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(1519, 10036, 'Cosmetic: Lightforged Draenei Intro - Vindicator Minkey, Quest: Stranger in a Strange Land (50313)'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 26 AND `SourceGroup`=10036 AND `SourceEntry`=1519; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 10036, 1519, 0, 0, 47, 0, 50313, 0x2|0x8, 0, 0, 'Allow phase 10036 if quest status of Stranger in a Strange Land (50313) is incomplete or complete'); diff --git a/sql/updates/world/master/2021_10_24_02_world.sql b/sql/updates/world/master/2021_10_24_02_world.sql new file mode 100644 index 000000000..62d9fc405 --- /dev/null +++ b/sql/updates/world/master/2021_10_24_02_world.sql @@ -0,0 +1,54 @@ +-- +SET @CGUID := 1050136; + +DELETE FROM `quest_offer_reward` WHERE `ID` IN (50305 /*-Unknown-*/, 49788 /*-Unknown-*/); +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(50305, 1, 2, 0, 0, 0, 5000, 0, 0, 'Welcome to Stormwind. Though it is no Silvermoon, the city does have its charms.\n\nIf you came here expecting a warm welcome, I cannot say I have received one myself. But most folk are polite enough.\n\nNo matter. I am off to seek adventure! And perhaps a stiff drink.', 40593), -- -Unknown- +(49788, 5, 0, 0, 0, 0, 0, 0, 0, 'Ah, there you are, $n! We\'ve been inspecting--err--expecting you!', 40593); -- -Unknown- + +UPDATE `quest_poi` SET `VerifiedBuild`=40593 WHERE (`QuestID`=50305 AND `BlobIndex`=0 AND `Idx1`=2); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40593 WHERE (`QuestID`=50305 AND `BlobIndex`=0 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40593 WHERE (`QuestID`=50305 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49788 AND `BlobIndex`=0 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49788 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- + +UPDATE `quest_poi_points` SET `VerifiedBuild`=40593 WHERE (`QuestID`=50305 AND `Idx1`=2 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40593 WHERE (`QuestID`=50305 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40593 WHERE (`QuestID`=50305 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49788 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40593 WHERE (`QuestID`=49788 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- + +DELETE FROM `quest_details` WHERE `ID` IN (50305 /*-Unknown-*/, 49788 /*-Unknown-*/); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(50305, 1, 5, 0, 0, 0, 5000, 0, 0, 40593), -- -Unknown- +(49788, 1, 1, 0, 0, 0, 0, 0, 0, 40593); -- -Unknown- + +DELETE FROM `quest_request_items` WHERE `ID`=50305; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES +(50305, 0, 0, 0, 0, 'So, how does Stormwind suit you?', 40593); -- -Unknown- + +UPDATE `quest_template` SET `RewardMoney`=200, `VerifiedBuild`=40593 WHERE `ID`=50305; -- -Unknown- +UPDATE `quest_template` SET `RewardMoney`=200, `RewardBonusMoney`=90, `VerifiedBuild`=40593 WHERE `ID`=49788; -- -Unknown- + +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `faction`=1732, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=2048, `VerifiedBuild`=40593 WHERE `entry`=131347; -- Keira Onyxraven +UPDATE `creature_template_model` SET `VerifiedBuild`=40593 WHERE (`CreatureID`=131347 AND `Idx`=0); -- Keira Onyxraven + +DELETE FROM `creature_text` WHERE `CreatureID`=131347 AND `GroupID`=0 AND `ID`=0; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(131347, 0, 0, 'I have only heard stories of Stormwind before now. I will explore its streets and the wonders it holds. May the shadows guide you, $n.', 12, 0, 100, 1, 0, 0, 143328, 'Keira Onyxraven to Player'); + +DELETE FROM `creature` WHERE `guid`=@CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 131347, 0, 1519, 5316, '0', 10037, 0, 0, 0, -8340.1611328125, 637.16839599609375, 95.515106201171875, 3.320595502853393554, 120, 0, 0, 11791, 0, 0, 0, 0, 0, 40593); -- Keira Onyxraven (Area: Olivia's Pond - Difficulty: 0) + +DELETE FROM `creature_questender` WHERE `id`=131347 AND `quest`=50305; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(131347, 50305); -- Stranger in a Strange Land + +DELETE FROM `phase_area` WHERE `AreaId`=1519 AND `PhaseId`=10037; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(1519, 10037, 'Cosmetic: Voidelf Intro - Keira Onyxraven, Quest: Stranger in a Strange Land (50305)'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 26 AND `SourceGroup`=10037 AND `SourceEntry`=1519; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 10037, 1519, 0, 0, 47, 0, 50305, 0x2|0x8, 0, 0, 'Allow phase 10037 if quest status of Stranger in a Strange Land (50305) is incomplete or complete'); diff --git a/sql/updates/world/master/2021_10_24_03_world.sql b/sql/updates/world/master/2021_10_24_03_world.sql new file mode 100644 index 000000000..f896696b6 --- /dev/null +++ b/sql/updates/world/master/2021_10_24_03_world.sql @@ -0,0 +1,24 @@ +-- +SET @OGUID := 600016; + +DELETE FROM `gameobject_template_addon` WHERE `entry` IN (279608 /*Rift to Telogrus*/); +INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES +(279608, 0, 32, 0, 0); -- Rift to Telogrus + +DELETE FROM `gameobject_template` WHERE `entry` IN (279608 /*Rift to Telogrus*/); +INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `ContentTuningId`, `VerifiedBuild`) VALUES +(279608, 22, 42710, 'Rift to Telogrus', '', '', '', 0.25, 259377, -1, 0, 1, 1, 55254, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 863, 40593); -- Rift to Telogrus + +DELETE FROM `gameobject` WHERE `guid`=@OGUID+0; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 279608, 0, 1519, 9171, '0', 10035, 0, -8173.65283203125, 776.34722900390625, 74.85990142822265625, 6.195094585418701171, 0, 0, -0.04403114318847656, 0.999030172824859619, 120, 255, 1, 40593); -- Rift to Telogrus (Area: Stormwind Embassy - Difficulty: 0) + +UPDATE `spell_target_position` SET `VerifiedBuild`=40593 WHERE (`ID`=259377 AND `EffectIndex`=0); + +DELETE FROM `phase_area` WHERE `AreaId`=1519 AND `PhaseId`=10035; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(1519, 10035, 'Cosmetic: Telogrus Rift Portal in Stormwind'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=10035 AND `SourceEntry`=1519; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 10035, 1519, 0, 0, 16, 0, 0x10000000, 0, 0, 0, 'Player is race Voidelf'); diff --git a/sql/updates/world/master/2021_10_24_04_world.sql b/sql/updates/world/master/2021_10_24_04_world.sql new file mode 100644 index 000000000..72ccbb91f --- /dev/null +++ b/sql/updates/world/master/2021_10_24_04_world.sql @@ -0,0 +1,36 @@ +-- +SET @CGUID := 1050137; +SET @OGUID := 600017; + +DELETE FROM `gameobject_template_addon` WHERE `entry` IN (271723 /*Lightforged Beacon*/); +INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES +(271723, 114, 0, 0, 0); -- Lightforged Beacon + +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=34816, `VerifiedBuild`=40593 WHERE `entry`=130758; -- Lightforged Beacon +UPDATE `creature_template_model` SET `VerifiedBuild`=40593 WHERE (`CreatureID`=130758 AND `Idx`=0); -- Lightforged Beacon + +DELETE FROM `creature` WHERE `guid`=@CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 130758, 0, 1519, 9171, '0', 10034, 0, 0, 0, -8163.1318359375, 777.22918701171875, 76.84771728515625, 6.195094108581542968, 120, 0, 0, 11791, 0, 0, 0, 0, 0, 40593); -- Lightforged Beacon (Area: Stormwind Embassy - Difficulty: 0) + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=130758; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(130758, 258298, 3, 0); + +DELETE FROM `spell_target_position` WHERE (`ID`=258297 AND `EffectIndex`=0); +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `VerifiedBuild`) VALUES +(258297, 0, 1860, 459.0889892578125, 1450.1400146484375, 758.01800537109375, 40593); -- Spell: 258297 (Teleport to Vindicaar) Efffect: 252 (SPELL_EFFECT_TELEPORT_UNITS) + +UPDATE `gameobject_template` SET `ContentTuningId`=293, `VerifiedBuild`=40593 WHERE `entry`=271723; -- Lightforged Beacon + +DELETE FROM `gameobject` WHERE `guid`=@OGUID+0; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 271723, 0, 1519, 9171, '0', 10034, 0, -8163.1318359375, 777.22918701171875, 76.76438140869140625, 6.195094585418701171, 0, 0, -0.04403114318847656, 0.999030172824859619, 120, 255, 1, 40593); -- Lightforged Beacon (Area: Stormwind Embassy - Difficulty: 0) + +DELETE FROM `phase_area` WHERE `AreaId`=1519 AND `PhaseId`=10034; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(1519, 10034, 'Cosmetic: Lightforged Beacon (LF Draenei) in Stormwind'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=10034 AND `SourceEntry`=1519; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 10034, 1519, 0, 0, 16, 0, 0x20000000, 0, 0, 0, 'Player is race Lightforged Draenei'); diff --git a/sql/updates/world/master/2021_10_24_05_world_2018_09_07_00_world.sql b/sql/updates/world/master/2021_10_24_05_world_2018_09_07_00_world.sql new file mode 100644 index 000000000..10ca8af85 --- /dev/null +++ b/sql/updates/world/master/2021_10_24_05_world_2018_09_07_00_world.sql @@ -0,0 +1,33 @@ +-- +DELETE FROM `command` WHERE `name` IN ('go creature', 'go creature id', 'go object', 'go gameobject', 'go gameobject id', 'go graveyard', 'go grid', 'go instance', 'go offset', 'go taxinode', 'go ticket', 'go trigger', 'go areatrigger', 'go xyz', 'go zonexy'); +INSERT INTO `command` (`name`,`permission`,`help`) VALUES +('go creature', 377, 'Syntax: .go creature +Teleport yourself to the creature spawn with the specified spawn ID.'), +('go creature id', 377, 'Syntax: .go creature id +Teleport yourself to the first spawn point for the specified creature ID. +If multiple spawn points for the creature exist, teleport to the first one found.'), +('go gameobject', 377, 'Syntax: .go gameobject +Teleport yourself to the gameobject spawn with the specified spawn ID.'), +('go gameobject id', 377, 'Syntax: .go gameobject id +Teleport yourself to the first spawn point for the specified gameobject ID. +If multiple spawn points for the gameobject exist, teleport to the first one found.'), +('go graveyard', 377, 'Syntax: .go graveyard +Teleport yourself to the graveyard with the specified graveyard ID.'), +('go grid', 377, 'Syntax: .go grid [] +Teleport yourself to center of grid at the provided indices in specified (or current) map.'), +('go instance', 377, 'Syntax: .go instance +Teleport yourself to the entrance of the instance matching the specified script name.'), +('go offset', 377, 'Syntax: .go offset [ [ []]]] +Teleport yourself by the specified amount relative to your current position and orientation.'), +('go taxinode', 377, 'Syntax: .go taxinode +Teleport yourself to the specified taxi node.'), +('go ticket', 377, 'Syntax: .go ticket +Teleport yourself to the location at which the specified ticket was created.'), +('go areatrigger', 377, 'Syntax: .go areatrigger +Teleport yourself to the specified areatrigger\'s location. +Note that you may end up at the trigger\'s target location if it is a teleport trigger.'), +('go xyz', 377, 'Syntax: .go xyz [ [ []]] +Teleport yourself to the specified location in the specified (or current) map. +If no z coordinate is specified, defaults to ground/water level.'), +('go zonexy', 377, 'Syntax: .go zonexy [] +Teleport yourself to the given local (x,y) position in the specified (or current) zone.'); diff --git a/sql/updates/world/master/2021_10_26_01_world_2018_09_09_00_world_335.sql b/sql/updates/world/master/2021_10_26_01_world_2018_09_09_00_world_335.sql new file mode 100644 index 000000000..6c73f7a24 --- /dev/null +++ b/sql/updates/world/master/2021_10_26_01_world_2018_09_09_00_world_335.sql @@ -0,0 +1,30 @@ +-- Yeh'kinya +DELETE FROM `creature_template_movement` WHERE `CreatureId`=8579; +INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`) VALUES +(8579,1,0,2,0); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=8579; +DELETE FROM `smart_scripts` WHERE `entryorguid`=8579 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=857900 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 +(8579,0,0,0,20,0,100,0,8181,0,0,0,80,857900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Yeh'kinya - On Quest 'Confront Yeh'kinya' Finished - Run Script"), +(8579,0,1,0,20,0,100,0,8181,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Yeh'kinya - On Quest 'Confront Yeh'kinya' Finished - Set Active On"), +(8579,0,2,0,40,0,100,0,2,8579,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Yeh'kinya - On Waypoint 2 Reached - Despawn"), +(857900,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,"Yeh'kinya - On Script - Remove Npc Flag Questgiver+Gossip"), +(857900,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,"Yeh'kinya - On Script - Say Line 0"), +(857900,9,2,0,0,0,100,0,6000,6000,0,0,3,0,2706,0,0,0,0,1,0,0,0,0,0,0,0,"Yeh'kinya - On Script - Morph To Model 2706"), +(857900,9,3,0,0,0,100,0,0,0,0,0,11,7741,0,0,0,0,0,1,0,0,0,0,0,0,0,"Yeh'kinya - On Script - Cast 'Summoned Demon'"), +(857900,9,4,0,0,0,100,0,2000,2000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Yeh'kinya - On Script - Say Line 1"), +(857900,9,5,0,0,0,100,0,0,0,0,0,53,1,8579,0,0,0,0,1,0,0,0,0,0,0,0,"Yeh'kinya - On Script - Start Waypoint"); + +DELETE FROM `creature_text` WHERE `CreatureID`=8579; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(8579,0,0,"It is true, $n. The wheels of doom now turn, inevitably, toward the true return of Hakkar!",12,0,100,5,0,0,10456,0,"Yeh'kinya"), +(8579,1,0,"Blood and souls for Hakkar! HAHAHAH!",14,0,100,0,0,6963,10457,0,"Yeh'kinya"); + +DELETE FROM `waypoints` WHERE `entry`=8579; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(8579,1,-6916.84,-4847.92,12.5325,""), +(8579,2,-6964.45,-4949.57,6.45678,""); + + diff --git a/sql/updates/world/master/2021_10_26_02_world_2018_09_10_00_world.sql b/sql/updates/world/master/2021_10_26_02_world_2018_09_10_00_world.sql new file mode 100644 index 000000000..1aff3e3c5 --- /dev/null +++ b/sql/updates/world/master/2021_10_26_02_world_2018_09_10_00_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `instance_template` SET `parent` = 571 WHERE `map` = 631; diff --git a/sql/updates/world/master/2021_10_26_03_world_2018_09_10_01_world.sql b/sql/updates/world/master/2021_10_26_03_world_2018_09_10_01_world.sql new file mode 100644 index 000000000..d061f10b4 --- /dev/null +++ b/sql/updates/world/master/2021_10_26_03_world_2018_09_10_01_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `instance_template` SET `parent`=571 WHERE `map` IN (724, 668, 658, 632, 631); diff --git a/sql/updates/world/master/2021_10_26_04_world_2018_09_11_00_world.sql b/sql/updates/world/master/2021_10_26_04_world_2018_09_11_00_world.sql new file mode 100644 index 000000000..0bf494a23 --- /dev/null +++ b/sql/updates/world/master/2021_10_26_04_world_2018_09_11_00_world.sql @@ -0,0 +1,9 @@ +-- +DELETE FROM `player_factionchange_spells` WHERE `alliance_id` IN (16056, 16055); +INSERT INTO `player_factionchange_spells` (`alliance_id`, `horde_id`) VALUES +(16056, 18991), (16055, 18992); + +DELETE FROM `player_factionchange_items` WHERE `alliance_id` IN (12302,12303); +INSERT INTO `player_factionchange_items` (`race_A`, `alliance_id`, `commentA`, `race_H`, `horde_id`, `commentH`) VALUE +(0, 12302, 'Reins of the Ancient Frostsaber', 0, 15292, 'Green Kodo'), +(0, 12303, 'Reins of the Nightsaber', 0, 15293, 'Teal Kodo'); diff --git a/sql/updates/world/master/2021_10_26_05_world_2018_09_11_02_world.sql b/sql/updates/world/master/2021_10_26_05_world_2018_09_11_02_world.sql new file mode 100644 index 000000000..1bca62436 --- /dev/null +++ b/sql/updates/world/master/2021_10_26_05_world_2018_09_11_02_world.sql @@ -0,0 +1,3 @@ +-- +UPDATE `smart_scripts` SET `action_param1`=1, `comment`="All champions - Script 1 - Set run On" WHERE `entryorguid` IN (3374500) AND `source_type`=9 AND `id`=7; +UPDATE `smart_scripts` SET `action_param1`=1, `comment`="All champions - Script 1 - Set run On" WHERE `entryorguid` IN (3328500) AND `source_type`=9 AND `id`=7; diff --git a/sql/updates/world/master/2021_10_26_06_world_2018_09_11_03_world.sql b/sql/updates/world/master/2021_10_26_06_world_2018_09_11_03_world.sql new file mode 100644 index 000000000..fd9908e14 --- /dev/null +++ b/sql/updates/world/master/2021_10_26_06_world_2018_09_11_03_world.sql @@ -0,0 +1,18 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=36325; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,36325,0,31,3,21182,0,0,'','Spell 36325 target creature 21182'), +(13,1,36325,1,31,3,22401,0,0,'','Spell 36325 target creature 22401'), +(13,1,36325,2,31,3,22402,0,0,'','Spell 36325 target creature 22402'), +(13,1,36325,3,31,3,22403,0,0,'','Spell 36325 target creature 22403'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN ( 21182, 22401, 22402, 22403) AND `source_type`=0 AND `id`=2 AND action_type=11; +UPDATE `smart_scripts` SET `id`=2 WHERE `entryorguid` IN ( 21182, 22401, 22402, 22403) AND `source_type`=0 AND `id`=3; +UPDATE `smart_scripts` SET `action_param1`=34386 WHERE `entryorguid` IN (20813,20814,20815,20816) AND `source_type`=0 AND `id`=2; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (21170, 22404, 22405, 22406) AND `source_type`=0 AND `id` IN (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 +(21170,0,9,0,11,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Honor Hold Gryphon Brigadier, Foothill - On Respawn - Set active"), +(22404,0,9,0,11,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Honor Hold Gryphon Brigadier, Foothill - On Respawn - Set active"), +(22405,0,9,0,11,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Honor Hold Gryphon Brigadier, Foothill - On Respawn - Set active"), +(22406,0,9,0,11,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Honor Hold Gryphon Brigadier, Foothill - On Respawn - Set active"); diff --git a/sql/updates/world/master/2021_10_26_07_world_2018_09_12_00_world.sql b/sql/updates/world/master/2021_10_26_07_world_2018_09_12_00_world.sql new file mode 100644 index 000000000..b5c908159 --- /dev/null +++ b/sql/updates/world/master/2021_10_26_07_world_2018_09_12_00_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (32443, 32446); diff --git a/sql/updates/world/master/2021_10_29_00_world.sql b/sql/updates/world/master/2021_10_29_00_world.sql new file mode 100644 index 000000000..23635e64e --- /dev/null +++ b/sql/updates/world/master/2021_10_29_00_world.sql @@ -0,0 +1,30 @@ +-- +SET @CGUID := 1050143; + +DELETE FROM `creature` WHERE `guid`=@CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 158653, 2222, 10413, 12917, '0', 14496, 0, 0, 0, -1891.49658203125, 7650.267578125, 4193.98095703125, 2.196262121200561523, 120, 0, 0, 117910, 2434, 0, 0, 0, 0, 40443); -- Prince Renathal (Area: Sinfall - Difficulty: 0) + +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60 WHERE `entry`=158653; -- Prince Renathal +UPDATE `creature_template` SET `VerifiedBuild`=40443 WHERE `entry`=158653; -- Prince Renathal +UPDATE `creature_template_model` SET `VerifiedBuild`=40443 WHERE (`CreatureID`=158653 AND `Idx`=0); -- Prince Renathal +UPDATE `creature_model_info` SET `VerifiedBuild`=40443 WHERE `DisplayID`=94910; + +DELETE FROM `creature_template_scaling` WHERE `DifficultyID`=0 AND `Entry`=158653; +INSERT INTO `creature_template_scaling` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `VerifiedBuild`) VALUES +(158653, 0, 0, 0, 837, 40443); + +UPDATE `creature_template` SET `gossip_menu_id`=25001 WHERE `entry`=158653; -- Prince Renathal +UPDATE `npc_text` SET `VerifiedBuild`=40725 WHERE `ID`=39418; -- 39418 + +DELETE FROM `gossip_menu` WHERE (`MenuId`=25001 AND `TextId`=39418); +INSERT INTO `gossip_menu` (`MenuId`, `TextId`, `VerifiedBuild`) VALUES +(25001, 39418, 40725); -- 158653 (Prince Renathal) + +DELETE FROM `phase_area` WHERE `AreaId`=12917 AND `PhaseId`=14496; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(12917, 14496, 'Cosmetic: Venthyr Covenant Sanctum - Prince Renathal'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND `SourceGroup`=14496 AND `SourceEntry`=12917; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 14496, 12917, 0, 0, 8, 0, 59321, 0, 0, 0, 'Allow phase 14986 if quest state of Sacred Covenant (59321) is rewarded'); diff --git a/sql/updates/world/master/2021_10_29_01_world.sql b/sql/updates/world/master/2021_10_29_01_world.sql new file mode 100644 index 000000000..e0192fa41 --- /dev/null +++ b/sql/updates/world/master/2021_10_29_01_world.sql @@ -0,0 +1,77 @@ +-- +SET @CGUID := 1050139; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 164818, 2222, 10413, 12917, '0', 14986, 0, 0, 0, -1899.52783203125, 7645.5302734375, 4193.80859375, 1.381728410720825195, 120, 0, 0, 11791, 0, 0, 0, 0, 0, 40443), -- The Curator (Area: Sinfall - Difficulty: 0) +(@CGUID+1, 164796, 2222, 10413, 12917, '0', 14986, 0, 0, 0, -1891.4617919921875, 7650.27783203125, 4193.80859375, 2.007128715515136718, 120, 0, 0, 117910, 2434, 0, 2, 0, 0, 40443), -- Prince Renathal (Area: Sinfall - Difficulty: 0) +(@CGUID+2, 164817, 2222, 10413, 12917, '0', 14986, 0, 0, 0, -1881.923583984375, 7652.99853515625, 4193.89208984375, 2.27655792236328125, 120, 0, 0, 188660, 5751, 0, 0, 0, 0, 40443), -- The Accuser (Area: Sinfall - Difficulty: 0) +(@CGUID+3, 164817, 2222, 10413, 12917, '0', 14986, 0, 0, 0, -1870, 7700.509765625, 4192.169921875, 1.361356854438781738, 120, 0, 0, 188660, 5751, 0, 0, 0, 0, 40443); -- The Accuser (Area: Sinfall - Difficulty: 0) + +DELETE FROM `creature_template_scaling` WHERE `DifficultyID`=0 AND `Entry` IN(164818, 164796, 164817); +INSERT INTO `creature_template_scaling` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `VerifiedBuild`) VALUES +(164818, 0, 0, 0, 837, 40443), +(164796, 0, 0, 0, 837, 40443), +(164817, 0, 0, 0, 837, 40443); + +UPDATE `creature_template` SET `VerifiedBuild`=40443 WHERE `entry`=164818; -- The Curator +UPDATE `creature_template_model` SET `VerifiedBuild`=40443 WHERE (`CreatureID`=164818 AND `Idx`=0); -- The Curator +UPDATE `creature_model_info` SET `VerifiedBuild`=40443 WHERE `DisplayID`=93111; + +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `VerifiedBuild`=40443 WHERE `entry`=164796; -- Prince Renathal +UPDATE `creature_template_model` SET `VerifiedBuild`=40443 WHERE (`CreatureID`=164796 AND `Idx`=0); -- Prince Renathal +UPDATE `creature_model_info` SET `VerifiedBuild`=40443 WHERE `DisplayID`=94910; + +UPDATE `creature_template` SET `VerifiedBuild`=40443 WHERE `entry`=164817; -- The Accuser +UPDATE `creature_template_model` SET `VerifiedBuild`=40443 WHERE (`CreatureID`=164817 AND `Idx`=0); -- The Accuser +UPDATE `creature_model_info` SET `VerifiedBuild`=40443 WHERE `DisplayID`=93103; + +DELETE FROM `creature_queststarter` WHERE `id`=164796 AND `quest`=59321; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES +(164796, 59321); -- Sacred Covenant + +DELETE FROM `creature_questender` WHERE `id`=164796 AND `quest`=59315; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(164796, 59315); -- The Court of Harvesters + +DELETE FROM `quest_template_addon` WHERE `ID` IN(59321); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`) VALUES +(59321, 59315, 59323); + +UPDATE `quest_template` SET `VerifiedBuild`=40443 WHERE `ID`=59321; -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=2); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=2); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=2); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=1); -- -Unknown- +UPDATE `quest_poi` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `BlobIndex`=0 AND `Idx1`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=2 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=2 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=2 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=1 AND `Idx2`=0); -- -Unknown- +UPDATE `quest_poi_points` SET `VerifiedBuild`=40443 WHERE (`QuestID`=59321 AND `Idx1`=0 AND `Idx2`=0); -- -Unknown- + +DELETE FROM `quest_details` WHERE `ID` IN (59321 /*-Unknown-*/); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(59321, 1, 0, 0, 0, 0, 0, 0, 0, 40443); -- -Unknown- + +DELETE FROM `quest_offer_reward` WHERE `ID` IN (59321 /*-Unknown-*/); +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(59321, 1, 0, 0, 0, 0, 0, 0, 0, 'Welcome, I must admit my eagerness to partake in this monumental occasion.', 40443); -- -Unknown- + +DELETE FROM `phase_area` WHERE `AreaId`=12917 AND `PhaseId`=14986; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(12917, 14986, 'Cosmetic: Venthyr Covenant Intro - Court of Harvesters'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND `SourceGroup`=14986 AND `SourceEntry`=12917; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 14986, 12917, 0, 0, 47, 0, 59315, 0x2|0x8, 0, 0, 'Allow phase 14986 if quest state of Court of Harvesters (59315) is incomplete, completed'), +(26, 14986, 12917, 0, 1, 8, 0, 59315, 0, 0, 0, 'Allow phase 14986 if quest state of Court of Harvesters (59315) is rewarded'), +(26, 14986, 12917, 0, 1, 47, 0, 59321, 0x1|0x8, 0, 0, 'Allow phase 14986 if quest state of Sacred Covenant (59321) is not taken, incomplete'); diff --git a/sql/updates/world/master/2021_10_29_02_world.sql b/sql/updates/world/master/2021_10_29_02_world.sql new file mode 100644 index 000000000..159e72087 --- /dev/null +++ b/sql/updates/world/master/2021_10_29_02_world.sql @@ -0,0 +1,85 @@ +-- +SET @CGUID := 1050138; + +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `faction`=1732, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=2048, `VerifiedBuild`=40593 WHERE `entry`=133362; -- Ambassador Moorgard +UPDATE `creature_template_model` SET `VerifiedBuild`=40593 WHERE (`CreatureID`=133362 AND `Idx`=0); -- Ambassador Moorgard + +DELETE FROM `creature_model_info` WHERE `DisplayID`=82874; +INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES +(82874, 0.321299970149993896, 1.574999928474426269, 0, 40593); + +DELETE FROM `creature` WHERE `guid`=@CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 133362, 0, 1519, 9171, '0', 10275, 0, 0, 0, -8172.59228515625, 801.0711669921875, 74.05037689208984375, 3.948031902313232421, 120, 0, 0, 47165, 57510, 0, 0, 0, 0, 40593); -- Ambassador Moorgard (Area: Stormwind Embassy - Difficulty: 0) (Auras: 262182 - Tophat) + +DELETE FROM `creature_template_addon` WHERE `entry`=133362; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(133362, 0, 0, 0, 1, 0, 0, 0, 0, '262182'); -- 133362 (Ambassador Moorgard) - Tophat + +DELETE FROM `creature_questender` WHERE `id`=133362 AND `quest` IN(51486, 49772, 49788, 55142, 58146); +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(133362, 51486), -- Fer the Alliance (Dark Iron Dwarf) +(133362, 49772), -- For the Alliance (Lightforged Draenei) +(133362, 49788), -- For the Alliance (Void Elf) +(133362, 55142), -- For the Alliance (Kul Tiran) +(133362, 58146); -- For the Alliance (Mechagnome) + +DELETE FROM `creature_queststarter` WHERE `id`=133362 AND `quest` IN(50305, 50313, 53500, 55146, 58147); +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES +(133362, 50305), -- Stranger in a Strange Land (Void Elf) +(133362, 50313), -- Stranger in a Strange Land (Lightforged Draenei) +(133362, 53500), -- Stranger in a Strange Land (Dark Iron Dwarf) +(133362, 55146), -- Stranger in a Strange Land (Kul Tiran) +(133362, 58147); -- Stranger in a Strange Land (Mechagnome) + +DELETE FROM `quest_template_addon` WHERE `ID` IN(51486,49772,49788,55142,58146,53500,50313,50305,55146,58147); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`) VALUES +(51486, 0, 53500), -- Fer the Alliance (Dark Iron Dwarf) +(49772, 0, 50313), -- For the Alliance (Lightforged Draenei) +(49788, 0, 50305), -- For the Alliance (Void Elf) +(55142, 0, 55146), -- For the Alliance (Kul Tiran) +(58146, 0, 58147), -- For the Alliance (Mechagnome) +(53500, 51486, 0), -- Stranger in a Strange Land (Dark Iron Dwarf) +(50313, 49772, 0), -- Stranger in a Strange Land (Lightforged Draenei) +(50305, 49788, 0), -- Stranger in a Strange Land (Void Elf) +(55146, 55142, 0), -- Stranger in a Strange Land (Kul Tiran) +(58147, 58146, 0); -- Stranger in a Strange Land (Mechagnome) + +DELETE FROM `phase_area` WHERE `PhaseId`=10275 AND `AreaId` IN(9171, 5316, 5397); +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(9171, 10275, 'Cosmetic: Ambassador Moorgard at Stormwind Embassy (Area: Stormwind Embassy)'), +(5316, 10275, 'Cosmetic: Ambassador Moorgard at Stormwind Embassy (Area: Olivias Pond)'), +(5397, 10275, 'Cosmetic: Ambassador Moorgard at Stormwind Embassy (Area: The Wollerton Stead)'); + +DELETE FROM `conversation_actors` WHERE (`ConversationId`=6793 AND `Idx`=0); +INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `VerifiedBuild`) VALUES +(6793, 60390, 0, 126306, 82047, 40593); + +DELETE FROM `conversation_line_template` WHERE `Id` IN (15489, 15490, 15491, 15492, 15493, 15494, 15495); +INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `VerifiedBuild`) VALUES +(15489, 82, 0, 0, 40593), +(15490, 82, 0, 0, 40593), -- Lightforged Draenei +(15491, 82, 0, 0, 40593), -- Void Elf +(15492, 82, 0, 0, 40593), +(15493, 82, 0, 0, 40593), +(15494, 82, 0, 0, 40593), -- Lightforged Draenei and Dark Iron Dwarf +(15495, 82, 0, 0, 40593); -- Void Elf + +DELETE FROM `conversation_template` WHERE `Id`=6793; +INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `TextureKitId`, `VerifiedBuild`) VALUES +(6793, 15489, 5124, 40593); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup`=10275 AND `SourceEntry`=0) OR (`SourceTypeOrReferenceId`=29 AND `SourceEntry` IN(15490,15491,15494,15495)); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 10275, 0, 0, 0, 16, 0, 0x800|0x4000|0x10000000|0x20000000|0x80000000, 0, 0, 0, 'Player is race Dark Iron Dwarf/Mechagnome/Void Elf/Lightforged Draenei/Kul Tiran'), +(29, 0, 15490, 0, 0, 16, 0, 0x20000000, 0, 0, 0, 'Only show conversation line if player is Lightforged Draenei'), +(29, 0, 15494, 0, 0, 16, 0, 0x800|0x20000000, 0, 0, 0, 'Only show conversation line if player is Dark Iron Dwarf or Lightforged Draenei'), +(29, 0, 15491, 0, 0, 16, 0, 0x10000000, 0, 0, 0, 'Only show conversation line if player is Void Elf'), +(29, 0, 15495, 0, 0, 16, 0, 0x10000000, 0, 0, 0, 'Only show conversation line if player is Void Elf'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=133362; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 133362 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`, `event_param_string`, `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 +(133362, 0, 0, 0, 20, 0, 100, 0, 51486, 0, 0, 0, 0, '', 143, 6793, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ambassador Moorgard - On quest reward 51486 (Dark Iron Dwarf) - Start Conversation 6793 - Invoker'), +(133362, 0, 1, 0, 20, 0, 100, 0, 49772, 0, 0, 0, 0, '', 143, 6793, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ambassador Moorgard - On quest reward 49772 (Lightforged Draenei) - Start Conversation 6793 - Invoker'), +(133362, 0, 2, 0, 20, 0, 100, 0, 49788, 0, 0, 0, 0, '', 143, 6793, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ambassador Moorgard - On quest reward 49788 (Void Elf) - Start Conversation 6793 - Invoker'); diff --git a/sql/updates/world/master/2021_10_29_03_world.sql b/sql/updates/world/master/2021_10_29_03_world.sql new file mode 100644 index 000000000..5924e036d --- /dev/null +++ b/sql/updates/world/master/2021_10_29_03_world.sql @@ -0,0 +1 @@ +UPDATE `creature` SET `position_x`=1665.99658203125, `position_y`=-4354.52978515625, `position_z`=26.43378829956054687, `orientation`=2.923297643661499023, `PhaseId`=1167 WHERE `guid`=310903 AND `id`=39605;