From 9d1ef84690e94b85665dab6a8d178f6a89c29eac Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 24 Jun 2021 00:10:33 -0400 Subject: [PATCH] DB Updates --- ...06_13_00_world_2018_01_13_00_world_335.sql | 204 +++++++++++++ ...021_06_16_00_world_2018_01_15_00_world.sql | 1 + ...021_06_16_03_world_2018_01_18_00_world.sql | 270 ++++++++++++++++++ ...021_06_16_04_world_2018_01_18_01_world.sql | 3 + ...021_06_16_05_world_2018_01_20_00_world.sql | 4 + ...021_06_16_06_world_2018_01_21_00_world.sql | 4 + ...021_06_16_07_world_2018_01_24_01_world.sql | 47 +++ ...021_06_16_08_world_2018_01_24_02_world.sql | 113 ++++++++ ...021_06_16_09_world_2018_01_24_03_world.sql | 52 ++++ ...021_06_16_10_world_2018_01_24_04_world.sql | 230 +++++++++++++++ ...021_06_16_11_world_2018_01_24_05_world.sql | 74 +++++ ...021_06_16_13_world_2018_01_25_00_world.sql | 226 +++++++++++++++ ...021_06_16_14_world_2018_01_25_01_world.sql | 137 +++++++++ ...06_16_15_world_2018_01_25_02_world_335.sql | 12 + ...021_06_16_16_world_2018_01_25_03_world.sql | 5 + ...06_16_17_world_2018_01_25_05_world_335.sql | 6 + ...06_17_00_world_2018_01_25_06_world_335.sql | 25 ++ ...021_06_18_00_world_2018_01_26_00_world.sql | 12 + ...021_06_18_01_world_2018_01_28_00_world.sql | 17 ++ ...021_06_19_00_world_2018_01_28_02_world.sql | 14 + ...021_06_19_01_world_2018_01_28_03_world.sql | 7 + ...021_06_19_02_world_2018_01_29_00_world.sql | 3 + ...021_06_19_03_world_2018_01_30_00_world.sql | 180 ++++++++++++ ...021_06_19_04_world_2018_02_04_02_world.sql | 55 ++++ ...06_19_05_world_2018_02_08_00_world_335.sql | 16 ++ ...06_19_06_world_2018_02_08_01_world_335.sql | 82 ++++++ ...06_19_07_world_2018_02_08_02_world_335.sql | 14 + ...06_19_08_world_2018_02_08_03_world_335.sql | 42 +++ ...06_19_09_world_2018_02_08_05_world_335.sql | 6 + ...06_19_10_world_2018_02_08_06_world_335.sql | 219 ++++++++++++++ ...06_19_11_world_2018_02_08_07_world_335.sql | 33 +++ ...06_19_12_world_2018_02_08_08_world_335.sql | 25 ++ ...06_19_13_world_2018_02_08_09_world_335.sql | 9 + ...021_06_19_14_world_2018_02_08_10_world.sql | 3 + ...021_06_19_15_world_2018_02_09_01_world.sql | 6 + ...021_06_19_16_world_2018_02_10_00_world.sql | 2 + ...021_06_19_17_world_2018_02_10_01_world.sql | 4 + ...06_19_19_world_2018_02_11_02_world_335.sql | 3 + ...021_06_19_20_world_2018_02_12_00_world.sql | 2 + ...021_06_19_21_world_2018_02_12_01_world.sql | 2 + ...021_06_20_00_world_2018_02_12_02_world.sql | 6 + ...06_20_01_world_2018_02_13_00_world_335.sql | 26 ++ ...021_06_20_02_world_2018_02_13_01_world.sql | 6 + ...021_06_20_03_world_2018_02_13_02_world.sql | 2 + ...021_06_20_04_world_2018_02_13_03_world.sql | 2 + ...021_06_20_06_world_2018_02_13_05_world.sql | 4 + ...021_06_20_07_world_2018_02_13_06_world.sql | 3 + ...021_06_20_08_world_2018_02_13_07_world.sql | 2 + ...021_06_20_09_world_2018_02_14_00_world.sql | 2 + ...021_06_20_10_world_2018_02_14_08_world.sql | 4 + ...021_06_20_11_world_2018_02_14_01_world.sql | 5 + ...021_06_21_00_world_2018_02_15_01_world.sql | 11 + ...021_06_21_01_world_2018_02_15_02_world.sql | 4 + ...021_06_21_02_world_2018_02_15_03_world.sql | 11 + ...021_06_21_03_world_2018_02_15_04_world.sql | 11 + ...021_06_22_00_world_2018_02_16_00_world.sql | 12 + ...021_06_22_01_world_2018_02_16_01_world.sql | 13 + 57 files changed, 2293 insertions(+) create mode 100644 sql/updates/world/master/2021_06_13_00_world_2018_01_13_00_world_335.sql create mode 100644 sql/updates/world/master/2021_06_16_00_world_2018_01_15_00_world.sql create mode 100644 sql/updates/world/master/2021_06_16_03_world_2018_01_18_00_world.sql create mode 100644 sql/updates/world/master/2021_06_16_04_world_2018_01_18_01_world.sql create mode 100644 sql/updates/world/master/2021_06_16_05_world_2018_01_20_00_world.sql create mode 100644 sql/updates/world/master/2021_06_16_06_world_2018_01_21_00_world.sql create mode 100644 sql/updates/world/master/2021_06_16_07_world_2018_01_24_01_world.sql create mode 100644 sql/updates/world/master/2021_06_16_08_world_2018_01_24_02_world.sql create mode 100644 sql/updates/world/master/2021_06_16_09_world_2018_01_24_03_world.sql create mode 100644 sql/updates/world/master/2021_06_16_10_world_2018_01_24_04_world.sql create mode 100644 sql/updates/world/master/2021_06_16_11_world_2018_01_24_05_world.sql create mode 100644 sql/updates/world/master/2021_06_16_13_world_2018_01_25_00_world.sql create mode 100644 sql/updates/world/master/2021_06_16_14_world_2018_01_25_01_world.sql create mode 100644 sql/updates/world/master/2021_06_16_15_world_2018_01_25_02_world_335.sql create mode 100644 sql/updates/world/master/2021_06_16_16_world_2018_01_25_03_world.sql create mode 100644 sql/updates/world/master/2021_06_16_17_world_2018_01_25_05_world_335.sql create mode 100644 sql/updates/world/master/2021_06_17_00_world_2018_01_25_06_world_335.sql create mode 100644 sql/updates/world/master/2021_06_18_00_world_2018_01_26_00_world.sql create mode 100644 sql/updates/world/master/2021_06_18_01_world_2018_01_28_00_world.sql create mode 100644 sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql create mode 100644 sql/updates/world/master/2021_06_19_01_world_2018_01_28_03_world.sql create mode 100644 sql/updates/world/master/2021_06_19_02_world_2018_01_29_00_world.sql create mode 100644 sql/updates/world/master/2021_06_19_03_world_2018_01_30_00_world.sql create mode 100644 sql/updates/world/master/2021_06_19_04_world_2018_02_04_02_world.sql create mode 100644 sql/updates/world/master/2021_06_19_05_world_2018_02_08_00_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_06_world_2018_02_08_01_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_07_world_2018_02_08_02_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_08_world_2018_02_08_03_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_09_world_2018_02_08_05_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_10_world_2018_02_08_06_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_11_world_2018_02_08_07_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_12_world_2018_02_08_08_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_13_world_2018_02_08_09_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_14_world_2018_02_08_10_world.sql create mode 100644 sql/updates/world/master/2021_06_19_15_world_2018_02_09_01_world.sql create mode 100644 sql/updates/world/master/2021_06_19_16_world_2018_02_10_00_world.sql create mode 100644 sql/updates/world/master/2021_06_19_17_world_2018_02_10_01_world.sql create mode 100644 sql/updates/world/master/2021_06_19_19_world_2018_02_11_02_world_335.sql create mode 100644 sql/updates/world/master/2021_06_19_20_world_2018_02_12_00_world.sql create mode 100644 sql/updates/world/master/2021_06_19_21_world_2018_02_12_01_world.sql create mode 100644 sql/updates/world/master/2021_06_20_00_world_2018_02_12_02_world.sql create mode 100644 sql/updates/world/master/2021_06_20_01_world_2018_02_13_00_world_335.sql create mode 100644 sql/updates/world/master/2021_06_20_02_world_2018_02_13_01_world.sql create mode 100644 sql/updates/world/master/2021_06_20_03_world_2018_02_13_02_world.sql create mode 100644 sql/updates/world/master/2021_06_20_04_world_2018_02_13_03_world.sql create mode 100644 sql/updates/world/master/2021_06_20_06_world_2018_02_13_05_world.sql create mode 100644 sql/updates/world/master/2021_06_20_07_world_2018_02_13_06_world.sql create mode 100644 sql/updates/world/master/2021_06_20_08_world_2018_02_13_07_world.sql create mode 100644 sql/updates/world/master/2021_06_20_09_world_2018_02_14_00_world.sql create mode 100644 sql/updates/world/master/2021_06_20_10_world_2018_02_14_08_world.sql create mode 100644 sql/updates/world/master/2021_06_20_11_world_2018_02_14_01_world.sql create mode 100644 sql/updates/world/master/2021_06_21_00_world_2018_02_15_01_world.sql create mode 100644 sql/updates/world/master/2021_06_21_01_world_2018_02_15_02_world.sql create mode 100644 sql/updates/world/master/2021_06_21_02_world_2018_02_15_03_world.sql create mode 100644 sql/updates/world/master/2021_06_21_03_world_2018_02_15_04_world.sql create mode 100644 sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql create mode 100644 sql/updates/world/master/2021_06_22_01_world_2018_02_16_01_world.sql diff --git a/sql/updates/world/master/2021_06_13_00_world_2018_01_13_00_world_335.sql b/sql/updates/world/master/2021_06_13_00_world_2018_01_13_00_world_335.sql new file mode 100644 index 000000000..f6d31f513 --- /dev/null +++ b/sql/updates/world/master/2021_06_13_00_world_2018_01_13_00_world_335.sql @@ -0,0 +1,204 @@ +DELETE FROM `game_event` WHERE `eventEntry`=76; +INSERT INTO `game_event` (`eventEntry`, `start_time`, `end_time`, `occurence`, `length`, `holiday`, `holidayStage`, `description`, `world_event`, `announce`) VALUES +(76, '2018-01-01 07:00:00', '2020-01-01 08:00:00', 1440, 60, 0, 0, 'Childeren of Goldshire', 0, 2); + +UPDATE `creature` SET `guid`=79638 WHERE `guid`=280697 AND `id`=805; -- Cameron +UPDATE `creature` SET `guid`=79639 WHERE `guid`=280040 AND `id`=806; -- John +UPDATE `creature` SET `guid`=79640 WHERE `guid`=280043 AND `id`=804; -- Dana +UPDATE `creature` SET `guid`=79641 WHERE `guid`=280042 AND `id`=811; -- Jose +UPDATE `creature` SET `guid`=79642 WHERE `guid`=280696 AND `id`=807; -- Lisa +UPDATE `creature` SET `guid`=79643 WHERE `guid`=280041 AND `id`=810; -- Aaron + +UPDATE `creature_template` SET `ScriptName`='npc_cameron' WHERE `entry`=805; + +DELETE FROM `creature_formations` WHERE `leaderGUID`=79638; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(79638, 79638, 0, 0, 515), -- Cameron +(79638, 79639, 3, 230, 515), -- John +(79638, 79640, 3, 180, 515), -- Dana +(79638, 79641, 3, 130, 515), -- Jose +(79638, 79642, 3, 310, 515), -- Lisa +(79638, 79643, 3, 50, 515); -- Aaron + +-- STORMWIND_PATH +SET @ENTRY := 80500; +DELETE FROM `waypoint_data` WHERE `id`=@ENTRY; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@ENTRY,1 ,-9372.823,-66.29554,69.201859, 0, 0, 1, 0, 100, 0), +(@ENTRY,2 ,-9375.251,-70.71793,69.201691, 0, 0, 1, 0, 100, 0), +(@ENTRY,3 ,-9377.161,-72.19738,69.198997, 0, 0, 1, 0, 100, 0), +(@ENTRY,4 ,-9382.018,-76.88008,69.164696, 0, 0, 1, 0, 100, 0), +(@ENTRY,5 ,-9385.052,-76.36288,69.202148, 0, 0, 1, 0, 100, 0), +(@ENTRY,6 ,-9392.218,-71.91143,64.437691, 0, 0, 1, 0, 100, 0), +(@ENTRY,7 ,-9390.718,-68.80339,64.437691, 0, 0, 1, 0, 100, 0), +(@ENTRY,8 ,-9380.336,-78.55399,64.437691, 0, 0, 1, 0, 100, 0), +(@ENTRY,9 ,-9383.135,-84.98008,63.336449, 0, 0, 1, 0, 100, 0), +(@ENTRY,10,-9376.598,-89.94442,63.722805, 0, 0, 1, 0, 100, 0), +(@ENTRY,11,-9372.031,-87.89227,64.235367, 0, 0, 1, 0, 100, 0), +(@ENTRY,12,-9357.252,-67.5625,65.31458, 0, 0, 1, 0, 100, 0), -- 07:00:21 +(@ENTRY,13,-9357.252,-67.5625,65.31458, 0, 0, 1, 0, 100, 0), -- 07:00:21 +(@ENTRY,14,-9356.818,-59.81693,66.47333, 0, 0, 1, 0, 100, 0), -- 07:00:23 +(@ENTRY,15,-9359.703,-40.74677,64.90179, 0, 0, 1, 0, 100, 0), -- 07:00:24 +(@ENTRY,16,-9366.912,-26.63774,63.58042, 0, 0, 1, 0, 100, 0), -- 07:00:27 +(@ENTRY,17,-9376.815,-16.4907,62.47466, 0, 0, 1, 0, 100, 0), -- 07:00:29 +(@ENTRY,18,-9390.682,0.2398973,60.84456, 0, 0, 1, 0, 100, 0), -- 07:00:30 +(@ENTRY,19,-9402.53,14.60529,59.79248, 0, 0, 1, 0, 100, 0), -- 07:00:34 +(@ENTRY,20,-9419.141,34.55973,57.84264, 0, 0, 1, 0, 100, 0), -- 07:00:35 +(@ENTRY,21,-9426.896,43.84751,57.06255, 0, 0, 1, 0, 100, 0), -- 07:00:40 +(@ENTRY,22,-9433.867,53.78213,56.78226, 0, 0, 1, 0, 100, 0), -- 07:00:41 +(@ENTRY,23,-9438.548,61.02147,56.39376, 0, 0, 1, 0, 100, 0), -- 07:00:42 +(@ENTRY,24,-9436.482,68.04466,56.42494, 0, 0, 1, 0, 100, 0), -- 07:00:44 +(@ENTRY,25,-9415.27,87.07191,57.30513, 0, 0, 1, 0, 100, 0), -- 07:00:45 +(@ENTRY,26,-9396.235,98.29691,59.15154, 0, 0, 1, 0, 100, 0), -- 07:00:47 +(@ENTRY,27,-9375.271,106.7702,60.70432, 0, 0, 1, 0, 100, 0), -- 07:00:51 +(@ENTRY,28,-9364.256,110.7547,61.50436, 0, 0, 1, 0, 100, 0), -- 07:00:53 +(@ENTRY,29,-9344.307,120.2394,63.43427, 0, 0, 1, 0, 100, 0), -- 07:00:55 +(@ENTRY,30,-9332.738,126.8489,63.9777, 0, 0, 1, 0, 100, 0), -- 07:00:57 +(@ENTRY,31,-9308.697,137.7139,65.57498, 0, 0, 1, 0, 100, 0), -- 07:00:59 +(@ENTRY,32,-9292.605,144.2936,66.53963, 0, 0, 1, 0, 100, 0), -- 07:01:03 +(@ENTRY,33,-9271.355,152.9366,67.37766, 0, 0, 1, 0, 100, 0), -- 07:01:04 +(@ENTRY,34,-9258.908,158.3268,67.75345, 0, 0, 1, 0, 100, 0), -- 07:01:07 +(@ENTRY,35,-9258.107,158.9872,67.80977, 0, 0, 1, 0, 100, 0), -- 07:01:08 +(@ENTRY,36,-9245.959,170.1512,68.25052, 0, 0, 1, 0, 100, 0), -- 07:01:10 +(@ENTRY,37,-9219.314,201.358,69.06726, 0, 0, 1, 0, 100, 0), -- 07:01:13 +(@ENTRY,38,-9208.215,212.5414,70.81392, 0, 0, 1, 0, 100, 0), -- 07:01:17 +(@ENTRY,39,-9198.92,222.5978,71.63802, 0, 0, 1, 0, 100, 0), -- 07:01:18 +(@ENTRY,40, -9194.827, 227.36, 71.91199, 0, 0, 1, 0, 100, 0), -- 07:01:20 +(@ENTRY,41,-9187.375,241.8835,72.91473, 0, 0, 1, 0, 100, 0), -- 07:01:21 +(@ENTRY,42,-9184.045,254.7417,73.77821, 0, 0, 1, 0, 100, 0), -- 07:01:23 +(@ENTRY,43,-9182.289,274.1739,75.36765, 0, 0, 1, 0, 100, 0), -- 07:01:25 +(@ENTRY,44,-9181.092,289.6617,77.20319, 0, 0, 1, 0, 100, 0), -- 07:01:26 +(@ENTRY,45,-9180.633,300.7958,78.49542, 0, 0, 1, 0, 100, 0), -- 07:01:29 +(@ENTRY,46,-9178.008,326.7234,81.67275, 0, 0, 1, 0, 100, 0), -- 07:01:31 +(@ENTRY,47,-9174.055,336.8582,84.08626, 0, 0, 1, 0, 100, 0), -- 07:01:34 +(@ENTRY,48,-9163.633,351.4775,87.70863, 0, 0, 1, 0, 100, 0), -- 07:01:35 +(@ENTRY,49,-9153.682,362.516,90.23949, 0, 0, 1, 0, 100, 0), -- 07:01:37 +(@ENTRY,50,-9148.218,368.3586,90.66177, 0, 0, 1, 0, 100, 0), -- 07:01:40 +(@ENTRY,51,-9125.46,390.1248,91.81776, 0, 0, 1, 0, 100, 0), -- 07:01:43 +(@ENTRY,52,-9115.926,397.5776,92.71513, 0, 0, 1, 0, 100, 0), -- 07:01:45 +(@ENTRY,53,-9095.435,413.1418,92.21481, 0, 0, 1, 0, 100, 0), -- 07:01:46 +(@ENTRY,54,-9088.044,418.7169,92.44129, 0, 0, 1, 0, 100, 0), -- 07:01:49 +(@ENTRY,55,-9058.086,439.64,93.14257, 0, 0, 1, 0, 100, 0), -- 07:01:52 +(@ENTRY,56,-9045.07,450.092,93.28775, 0, 0, 1, 0, 100, 0), -- 07:01:54 +(@ENTRY,57,-9040.674,453.6961,93.05584, 0, 0, 0, 0, 100, 0); + +-- GOLDSHIRE_PATH +SET @ENTRY := 80501; +DELETE FROM `waypoint_data` WHERE `id`=@ENTRY; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@ENTRY, 1 ,-9057.086,442.696,93.05582, 0, 0, 1, 0, 100, 0), -- 07:13:02 +(@ENTRY, 2 ,-9074.805,431.4119,93.05582, 0, 0, 1, 0, 100, 0), -- 07:13:03 +(@ENTRY, 3 ,-9077.455,426.727,92.54478, 0, 0, 1, 0, 100, 0), -- 07:13:05 +(@ENTRY, 4 ,-9130.008,384.1526,91.08342, 0, 0, 1, 0, 100, 0), -- 07:13:11 +(@ENTRY, 5 ,-9138.167,378.1005,90.83872, 0, 0, 1, 0, 100, 0), -- 07:13:14 +(@ENTRY, 6 ,-9170.719,340.1506,85.00079, 0, 0, 1, 0, 100, 0), -- 07:13:17 +(@ENTRY, 7 ,-9177.553,324.4485,81.63397, 0, 0, 1, 0, 100, 0), -- 07:13:22 +(@ENTRY, 8 ,-9179.79,302.5313,78.90688, 0, 0, 1, 0, 100, 0), -- 07:13:24 +(@ENTRY, 9 ,-9180.076,284.7124,76.62807, 0, 0, 1, 0, 100, 0), -- 07:13:26 +(@ENTRY, 10 ,-9180.527,273.4619,75.51992, 0, 0, 1, 0, 100, 0), -- 07:13:29 +(@ENTRY, 11 ,-9181.712,261.4136,74.55137, 0, 0, 1, 0, 100, 0), -- 07:13:30 +(@ENTRY, 12 ,-9187.871,242.3035,72.95731, 0, 0, 1, 0, 100, 0), -- 07:13:32 +(@ENTRY, 13 ,-9199.146,222.4604,71.7192, 0, 0, 1, 0, 100, 0), -- 07:13:35 +(@ENTRY, 14 ,-9217.201,203.2024,69.32413, 0, 0, 1, 0, 100, 0), -- 07:13:37 +(@ENTRY, 15 ,-9230.155,189.5526,68.19696, 0, 0, 1, 0, 100, 0), -- 07:13:41 +(@ENTRY, 16 ,-9241.491,176.5851,67.95673, 0, 0, 1, 0, 100, 0), -- 07:13:45 +(@ENTRY, 17 ,-9263.844,156.9561,67.57113, 0, 0, 1, 0, 100, 0), -- 07:13:46 +(@ENTRY, 18 ,-9267.183,155.5535,67.38669, 0, 0, 1, 0, 100, 0), -- 07:13:48 +(@ENTRY, 19 ,-9276.685,152.7653,67.1469, 0, 0, 1, 0, 100, 0), -- 07:13:50 +(@ENTRY, 20 ,-9299.891,144.6541,66.28534, 0, 0, 1, 0, 100, 0), -- 07:13:52 +(@ENTRY, 21 ,-9319.277,135.1606,65.03548, 0, 0, 1, 0, 100, 0), -- 07:13:53 +(@ENTRY, 22 ,-9332.896,126.1193,63.87636, 0, 0, 1, 0, 100, 0), -- 07:13:57 +(@ENTRY, 23 ,-9352.381,116.5327,62.6504, 0, 0, 1, 0, 100, 0), -- 07:13:58 +(@ENTRY, 24 ,-9372.848,108.2433,60.93748, 0, 0, 1, 0, 100, 0), -- 07:14:02 +(@ENTRY, 25 ,-9390.894,102.341,59.62895, 0, 0, 1, 0, 100, 0), -- 07:14:04 +(@ENTRY, 26 ,-9395.941,100.5215,59.13963, 0, 0, 1, 0, 100, 0), -- 07:14:07 +(@ENTRY, 27 ,-9409.482,92.83659,58.09391, 0, 0, 1, 0, 100, 0), -- 07:14:08 +(@ENTRY, 28 ,-9417.838,86.17823,57.23439, 0, 0, 1, 0, 100, 0), -- 07:14:09 +(@ENTRY, 29 ,-9433.703,74.28316,56.51966, 0, 0, 1, 0, 100, 0), -- 07:14:10 +(@ENTRY, 30 ,-9435.221,73.19769,56.34148, 0, 0, 1, 0, 100, 0), -- 07:14:13 +(@ENTRY, 31 ,-9448.541,67.65511,56.51829, 0, 0, 1, 0, 100, 0), -- 07:14:14 +(@ENTRY, 32 ,-9460.035,63.37641,55.895, 0, 0, 0, 0, 100, 0); + +-- WOODS_PATH +SET @ENTRY := 80502; +DELETE FROM `waypoint_data` WHERE `id`=@ENTRY; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@ENTRY, 1 ,-9445.364,58.4987,55.97727, 0, 0, 1, 0, 100, 0), -- 07:31:27 +(@ENTRY, 2 ,-9445.032,58.55785,56.2136, 0, 0, 1, 0, 100, 0), -- 07:31:28 +(@ENTRY, 3 ,-9427.596,41.84236,57.21891, 0, 0, 1, 0, 100, 0), -- 07:31:30 +(@ENTRY, 4 ,-9410.779,22.67539,58.65345, 0, 0, 1, 0, 100, 0), -- 07:31:32 +(@ENTRY, 5 ,-9391.792,0.02795124,60.67725, 0, 0, 1, 0, 100, 0), -- 07:31:34 +(@ENTRY, 6 ,-9377.568,-14.63209,62.37714, 0, 0, 1, 0, 100, 0), -- 07:31:38 +(@ENTRY, 7 ,-9363.139,-29.04746,63.92186, 0, 0, 1, 0, 100, 0), -- 07:31:41 +(@ENTRY, 8 ,-9348.428,-41.40288,65.24854, 0, 0, 1, 0, 100, 0), -- 07:31:43 +(@ENTRY, 9 ,-9333.074,-51.61682,66.22433, 0, 0, 1, 0, 100, 0), -- 07:31:46 +(@ENTRY, 10,-9324.543,-55.41918,66.51912, 0, 0, 1, 0, 100, 0), -- 07:31:49 +(@ENTRY, 11,-9306.514,-57.01295,66.98401, 0, 0, 1, 0, 100, 0), -- 07:31:51 +(@ENTRY, 12,-9288.65,-65.67791,67.9245, 0, 0, 1, 0, 100, 0), -- 07:31:53 +(@ENTRY, 13,-9266.111,-81.1689,69.09925, 0, 0, 1, 0, 100, 0), -- 07:31:55 +(@ENTRY, 14,-9246.279,-94.43002,70.69906, 0, 0, 1, 0, 100, 0), -- 07:31:57 +(@ENTRY, 15,-9241.527,-97.61461,70.86122, 0, 0, 1, 0, 100, 0), -- 07:32:01 +(@ENTRY, 16,-9228.587,-103.1802,71.24693, 0, 0, 1, 0, 100, 0), -- 07:32:02 +(@ENTRY, 17,-9202.936,-110.5503,71.32005, 0, 0, 1, 0, 100, 0), -- 07:32:06 +(@ENTRY, 18,-9189.19,-111.8865,71.32235, 0, 0, 1, 0, 100, 0), -- 07:32:07 +(@ENTRY, 19,-9164.87,-117.8934,73.10243, 0, 0, 1, 0, 100, 0), -- 07:32:10 +(@ENTRY, 20,-9164.276,-118.5964,73.10841, 0, 0, 1, 0, 100, 0), -- 07:32:11 +(@ENTRY, 21,-9157.389,-130.045,74.83447, 0, 0, 1, 0, 100, 0), -- 07:32:12 +(@ENTRY, 22,-9155.88,-137.6466,74.73592, 0, 0, 0, 0, 100, 0); + +-- HOUSE_PATH +SET @ENTRY := 80503; +DELETE FROM `waypoint_data` WHERE `id`=@ENTRY; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@ENTRY, 1 ,-9158.411,-126.9952,74.33096, 0, 0, 0, 0, 100, 0), -- 07:38:14 +(@ENTRY, 2 ,-9161.936,-122.2632,73.48005, 0, 0, 0, 0, 100, 0), -- 07:38:18 +(@ENTRY, 3 ,-9171.188,-116.403,72.13133, 0, 0, 0, 0, 100, 0), -- 07:38:23 +(@ENTRY, 4 ,-9175.792,-115.2302,71.66595, 0, 0, 0, 0, 100, 0), -- 07:38:26 +(@ENTRY, 5 ,-9188.126,-113.6762,71.1235, 0, 0, 0, 0, 100, 0), -- 07:38:31 +(@ENTRY, 6 ,-9198.314,-111.6536,71.19713, 0, 0, 0, 0, 100, 0), -- 07:38:36 +(@ENTRY, 7 ,-9212.777,-108.1362,71.49892, 0, 0, 0, 0, 100, 0), -- 07:38:41 +(@ENTRY, 8 ,-9221.962,-106.0956,71.29646, 0, 0, 0, 0, 100, 0), -- 07:38:46 +(@ENTRY, 9 ,-9238.102,-98.25057,71.02353, 0, 0, 0, 0, 100, 0), -- 07:38:52 +(@ENTRY, 10,-9255.748,-87.4807,70.21791, 0, 0, 0, 0, 100, 0), -- 07:38:55 +(@ENTRY, 11,-9262.821,-82.41038,69.39944, 0, 0, 0, 0, 100, 0), -- 07:39:01 +(@ENTRY, 12,-9267.083,-79.06253,68.88945, 0, 0, 0, 0, 100, 0), -- 07:39:06 +(@ENTRY, 13,-9277.369,-71.58946,68.45795, 0, 0, 0, 0, 100, 0), -- 07:39:11 +(@ENTRY, 14,-9294.043,-62.51098,67.73149, 0, 0, 0, 0, 100, 0), -- 07:39:15 +(@ENTRY, 15,-9296.369,-61.36803,67.39666, 0, 0, 0, 0, 100, 0), -- 07:39:20 +(@ENTRY, 16,-9306.391,-58.70887,67.12717, 0, 0, 0, 0, 100, 0), -- 07:39:23 +(@ENTRY, 17,-9314.822,-57.41774,66.82509, 0, 0, 0, 0, 100, 0), -- 07:39:27 +(@ENTRY, 18,-9336.649,-53.8809,66.1555, 0, 0, 0, 0, 100, 0), -- 07:39:31 +(@ENTRY, 19,-9337.359,-53.52038,65.92425, 0, 0, 0, 0, 100, 0), -- 07:39:37 +(@ENTRY, 20,-9350.479,-55.02436,66.34923, 0, 0, 0, 0, 100, 0), -- 07:39:40 +(@ENTRY, 21,-9351.158,-55.39683,66.35679, 0, 0, 0, 0, 100, 0), -- 07:39:43 +(@ENTRY, 22,-9359.373,-69.76035,64.45229, 0, 0, 0, 0, 100, 0), -- 07:39:44 +(@ENTRY, 23,-9360.618,-71.72406,64.24545, 0, 0, 0, 0, 100, 0), -- 07:39:50 +(@ENTRY, 24,-9366.256,-80.96321,64.52115, 0, 0, 0, 0, 100, 0), -- 07:39:54 +(@ENTRY, 25,-9372.031,-87.89227,64.235367, 0, 0, 0, 0, 100, 0), +(@ENTRY, 26,-9376.598,-89.94442,63.722805, 0, 0, 0, 0, 100, 0), +(@ENTRY, 27,-9383.135,-84.98008,63.336449, 0, 0, 0, 0, 100, 0), +(@ENTRY, 28,-9380.336,-78.55399,64.437691, 0, 0, 0, 0, 100, 0), +(@ENTRY, 29,-9390.718,-68.80339,64.437691, 0, 0, 0, 0, 100, 0), +(@ENTRY, 30,-9392.218,-71.91143,64.437691, 0, 0, 0, 0, 100, 0), +(@ENTRY, 31,-9385.052,-76.36288,69.202148, 0, 0, 0, 0, 100, 0), +(@ENTRY, 32,-9382.018,-76.88008,69.164696, 0, 0, 0, 0, 100, 0), +(@ENTRY, 33,-9377.161,-72.19738,69.198997, 0, 0, 0, 0, 100, 0), +(@ENTRY, 34,-9375.251,-70.71793,69.201691, 0, 0, 0, 0, 100, 0), +(@ENTRY, 35,-9372.823,-66.29554,69.201859, 0, 0, 0, 0, 100, 0); + +-- Lisa run away waypoints +SET @ENTRY := 80700; +DELETE FROM `waypoint_data` WHERE `id`=@ENTRY; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@ENTRY, 1,-9154.618,-134.9246,75.17611, 0, 0, 1, 0, 100, 0), -- 07:32:15 +(@ENTRY, 2,-9155.719,-132.458,75.17039, 0, 0, 1, 0, 100, 0), -- 07:32:15 +(@ENTRY, 3,-9340.689,-89.09771,66.49249, 0, 0, 1, 0, 100, 0), -- 07:32:27 +(@ENTRY, 4,-9353.076,-86.58789,65.68958, 0, 0, 0, 0, 100, 0); -- 07:33:47 + +-- Correct position for each child +UPDATE `creature` SET `position_x`=-9373.521, `position_y`=-67.71767, `position_z`=69.201965, `orientation`=1.117011 WHERE `guid`=79642; +UPDATE `creature` SET `position_x`=-9374.94, `position_y`=-62.51654, `position_z`=69.201965, `orientation`=5.201081 WHERE `guid`=79643; +UPDATE `creature` SET `position_x`=-9371.013, `position_y`=-71.20811, `position_z`=69.201965, `orientation`=1.937315 WHERE `guid`=79641; +UPDATE `creature` SET `position_x`=-9368.419, `position_y`=-66.47543, `position_z`=69.201965, `orientation`=3.141593 WHERE `guid`=79638; +UPDATE `creature` SET `position_x`=-9372.376, `position_y`=-65.49946, `position_z`=69.201965, `orientation`=4.206244 WHERE `guid`=79640; +UPDATE `creature` SET `position_x`=-9377.477, `position_y`=-67.8297, `position_z`=69.201965, `orientation`=0.296706 WHERE `guid`=79639; diff --git a/sql/updates/world/master/2021_06_16_00_world_2018_01_15_00_world.sql b/sql/updates/world/master/2021_06_16_00_world_2018_01_15_00_world.sql new file mode 100644 index 000000000..036a54f7d --- /dev/null +++ b/sql/updates/world/master/2021_06_16_00_world_2018_01_15_00_world.sql @@ -0,0 +1 @@ +UPDATE `creature_text` SET `Text`='%s goes into a berserker rage!', `Type`=41, `Probability`=100, `BroadcastTextId`=34057 WHERE `CreatureID`=34780 AND `GroupID`=11; diff --git a/sql/updates/world/master/2021_06_16_03_world_2018_01_18_00_world.sql b/sql/updates/world/master/2021_06_16_03_world_2018_01_18_00_world.sql new file mode 100644 index 000000000..d34bb6ba1 --- /dev/null +++ b/sql/updates/world/master/2021_06_16_03_world_2018_01_18_00_world.sql @@ -0,0 +1,270 @@ +-- SpawnGroupMapper auto-generated SQL for map 576 (The Nexus) + +-- Constant setter section - adjust this +-- spawn_group_template (5 entries) +SET @FIRSTGROUPID := 23; +-- Boss state associations +SET @FROZENCOMMANDERS := 0; -- boss state that controls group "Frozen Commanders" +SET @GRANDMAGUSTELESTRA := 1; -- boss state that controls group "Grand Magus Telestra" +SET @ANOMALUS := 2; -- boss state that controls group "Anomalus" +SET @ORMOROKTHETREESHAPER := 3; -- boss state that controls group "Ormorok the Tree-Shaper" +SET @KERISTRASZA := 4; -- boss state that controls group "Keristrasza" + +-- DB modification section - you shouldn't need to touch this +-- Insert spawn group templates +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES + (@FIRSTGROUPID+0, "The Nexus - Frozen Commanders", 0x04), + (@FIRSTGROUPID+1, "The Nexus - Grand Magus Telestra", 0x04), + (@FIRSTGROUPID+2, "The Nexus - Anomalus", 0x04), + (@FIRSTGROUPID+3, "The Nexus - Ormorok the Tree-Shaper", 0x04), + (@FIRSTGROUPID+4, "The Nexus - Keristrasza", 0x04); + +-- Insert spawn group data +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES + (@FIRSTGROUPID+1, 0, 126461), + (@FIRSTGROUPID+1, 0, 126477), + (@FIRSTGROUPID+4, 0, 126493), + (@FIRSTGROUPID+2, 0, 126509), + (@FIRSTGROUPID+2, 0, 126525), + (@FIRSTGROUPID+2, 0, 126541), + (@FIRSTGROUPID+2, 0, 126557), + (@FIRSTGROUPID+2, 0, 126573), + (@FIRSTGROUPID+2, 0, 126589), + (@FIRSTGROUPID+3, 0, 126605), + (@FIRSTGROUPID+3, 0, 126621), + (@FIRSTGROUPID+3, 0, 126637), + (@FIRSTGROUPID+3, 0, 126653), + (@FIRSTGROUPID+3, 0, 126446), + (@FIRSTGROUPID+1, 0, 126462), + (@FIRSTGROUPID+1, 0, 126478), + (@FIRSTGROUPID+4, 0, 126494), + (@FIRSTGROUPID+2, 0, 126510), + (@FIRSTGROUPID+2, 0, 126526), + (@FIRSTGROUPID+2, 0, 126542), + (@FIRSTGROUPID+2, 0, 126558), + (@FIRSTGROUPID+2, 0, 126574), + (@FIRSTGROUPID+2, 0, 126590), + (@FIRSTGROUPID+3, 0, 126606), + (@FIRSTGROUPID+3, 0, 126622), + (@FIRSTGROUPID+3, 0, 126638), + (@FIRSTGROUPID+3, 0, 126654), + (@FIRSTGROUPID+3, 0, 126447), + (@FIRSTGROUPID+1, 0, 126463), + (@FIRSTGROUPID+1, 0, 126479), + (@FIRSTGROUPID+2, 0, 126495), + (@FIRSTGROUPID+2, 0, 126511), + (@FIRSTGROUPID+2, 0, 126527), + (@FIRSTGROUPID+2, 0, 126543), + (@FIRSTGROUPID+2, 0, 126559), + (@FIRSTGROUPID+2, 0, 126575), + (@FIRSTGROUPID+2, 0, 126591), + (@FIRSTGROUPID+3, 0, 126607), + (@FIRSTGROUPID+3, 0, 126623), + (@FIRSTGROUPID+3, 0, 126639), + (@FIRSTGROUPID+3, 0, 126655), + (@FIRSTGROUPID+4, 0, 126448), + (@FIRSTGROUPID+1, 0, 126464), + (@FIRSTGROUPID+1, 0, 126480), + (@FIRSTGROUPID+2, 0, 126496), + (@FIRSTGROUPID+2, 0, 126512), + (@FIRSTGROUPID+2, 0, 126528), + (@FIRSTGROUPID+2, 0, 126544), + (@FIRSTGROUPID+2, 0, 126560), + (@FIRSTGROUPID+2, 0, 126576), + (@FIRSTGROUPID+2, 0, 126592), + (@FIRSTGROUPID+3, 0, 126608), + (@FIRSTGROUPID+3, 0, 126624), + (@FIRSTGROUPID+3, 0, 126640), + (@FIRSTGROUPID+3, 0, 126656), + (@FIRSTGROUPID+4, 0, 126449), + (@FIRSTGROUPID+1, 0, 126465), + (@FIRSTGROUPID+2, 0, 126481), + (@FIRSTGROUPID+2, 0, 126497), + (@FIRSTGROUPID+2, 0, 126513), + (@FIRSTGROUPID+2, 0, 126529), + (@FIRSTGROUPID+2, 0, 126545), + (@FIRSTGROUPID+2, 0, 126561), + (@FIRSTGROUPID+2, 0, 126577), + (@FIRSTGROUPID+2, 0, 126593), + (@FIRSTGROUPID+3, 0, 126609), + (@FIRSTGROUPID+3, 0, 126625), + (@FIRSTGROUPID+3, 0, 126641), + (@FIRSTGROUPID+3, 0, 126657), + (@FIRSTGROUPID+4, 0, 126450), + (@FIRSTGROUPID+1, 0, 126466), + (@FIRSTGROUPID+2, 0, 126482), + (@FIRSTGROUPID+3, 0, 126498), + (@FIRSTGROUPID+2, 0, 126514), + (@FIRSTGROUPID+2, 0, 126530), + (@FIRSTGROUPID+2, 0, 126546), + (@FIRSTGROUPID+2, 0, 126562), + (@FIRSTGROUPID+2, 0, 126578), + (@FIRSTGROUPID+2, 0, 126594), + (@FIRSTGROUPID+3, 0, 126610), + (@FIRSTGROUPID+3, 0, 126626), + (@FIRSTGROUPID+3, 0, 126642), + (@FIRSTGROUPID+3, 0, 126658), + (@FIRSTGROUPID+2, 0, 126435), + (@FIRSTGROUPID+4, 0, 126451), + (@FIRSTGROUPID+1, 0, 126467), + (@FIRSTGROUPID+2, 0, 126483), + (@FIRSTGROUPID+2, 0, 126499), + (@FIRSTGROUPID+2, 0, 126515), + (@FIRSTGROUPID+2, 0, 126531), + (@FIRSTGROUPID+2, 0, 126547), + (@FIRSTGROUPID+2, 0, 126563), + (@FIRSTGROUPID+2, 0, 126579), + (@FIRSTGROUPID+2, 0, 126595), + (@FIRSTGROUPID+3, 0, 126627), + (@FIRSTGROUPID+3, 0, 126643), + (@FIRSTGROUPID+3, 0, 126659), + (@FIRSTGROUPID+2, 0, 126436), + (@FIRSTGROUPID+4, 0, 126452), + (@FIRSTGROUPID+1, 0, 126468), + (@FIRSTGROUPID+2, 0, 126484), + (@FIRSTGROUPID+4, 0, 126500), + (@FIRSTGROUPID+2, 0, 126516), + (@FIRSTGROUPID+2, 0, 126532), + (@FIRSTGROUPID+2, 0, 126548), + (@FIRSTGROUPID+2, 0, 126564), + (@FIRSTGROUPID+2, 0, 126580), + (@FIRSTGROUPID+2, 0, 126596), + (@FIRSTGROUPID+3, 0, 126628), + (@FIRSTGROUPID+3, 0, 126644), + (@FIRSTGROUPID+3, 0, 126660), + (@FIRSTGROUPID+0, 0, 4764), + (@FIRSTGROUPID+2, 0, 126437), + (@FIRSTGROUPID+4, 0, 126453), + (@FIRSTGROUPID+1, 0, 126469), + (@FIRSTGROUPID+2, 0, 126485), + (@FIRSTGROUPID+4, 0, 126501), + (@FIRSTGROUPID+2, 0, 126517), + (@FIRSTGROUPID+2, 0, 126533), + (@FIRSTGROUPID+2, 0, 126549), + (@FIRSTGROUPID+2, 0, 126565), + (@FIRSTGROUPID+2, 0, 126581), + (@FIRSTGROUPID+2, 0, 126597), + (@FIRSTGROUPID+3, 0, 126629), + (@FIRSTGROUPID+3, 0, 126645), + (@FIRSTGROUPID+3, 0, 126661), + (@FIRSTGROUPID+2, 0, 126438), + (@FIRSTGROUPID+1, 0, 126454), + (@FIRSTGROUPID+1, 0, 126470), + (@FIRSTGROUPID+2, 0, 126486), + (@FIRSTGROUPID+4, 0, 126502), + (@FIRSTGROUPID+2, 0, 126518), + (@FIRSTGROUPID+2, 0, 126534), + (@FIRSTGROUPID+2, 0, 126550), + (@FIRSTGROUPID+2, 0, 126566), + (@FIRSTGROUPID+2, 0, 126582), + (@FIRSTGROUPID+2, 0, 126598), + (@FIRSTGROUPID+3, 0, 126614), + (@FIRSTGROUPID+3, 0, 126630), + (@FIRSTGROUPID+3, 0, 126646), + (@FIRSTGROUPID+3, 0, 126662), + (@FIRSTGROUPID+2, 0, 126439), + (@FIRSTGROUPID+0, 0, 126455), + (@FIRSTGROUPID+1, 0, 126471), + (@FIRSTGROUPID+2, 0, 126487), + (@FIRSTGROUPID+4, 0, 126503), + (@FIRSTGROUPID+2, 0, 126519), + (@FIRSTGROUPID+2, 0, 126535), + (@FIRSTGROUPID+2, 0, 126551), + (@FIRSTGROUPID+2, 0, 126567), + (@FIRSTGROUPID+2, 0, 126583), + (@FIRSTGROUPID+2, 0, 126599), + (@FIRSTGROUPID+3, 0, 126615), + (@FIRSTGROUPID+3, 0, 126631), + (@FIRSTGROUPID+3, 0, 126647), + (@FIRSTGROUPID+3, 0, 126663), + (@FIRSTGROUPID+3, 0, 126440), + (@FIRSTGROUPID+1, 0, 126456), + (@FIRSTGROUPID+1, 0, 126472), + (@FIRSTGROUPID+3, 0, 126488), + (@FIRSTGROUPID+4, 0, 126504), + (@FIRSTGROUPID+2, 0, 126520), + (@FIRSTGROUPID+2, 0, 126536), + (@FIRSTGROUPID+2, 0, 126552), + (@FIRSTGROUPID+2, 0, 126568), + (@FIRSTGROUPID+2, 0, 126584), + (@FIRSTGROUPID+3, 0, 126600), + (@FIRSTGROUPID+3, 0, 126616), + (@FIRSTGROUPID+3, 0, 126632), + (@FIRSTGROUPID+3, 0, 126648), + (@FIRSTGROUPID+0, 0, 126664), + (@FIRSTGROUPID+3, 0, 126441), + (@FIRSTGROUPID+1, 0, 126457), + (@FIRSTGROUPID+1, 0, 126473), + (@FIRSTGROUPID+3, 0, 126489), + (@FIRSTGROUPID+4, 0, 126505), + (@FIRSTGROUPID+2, 0, 126521), + (@FIRSTGROUPID+2, 0, 126537), + (@FIRSTGROUPID+2, 0, 126553), + (@FIRSTGROUPID+2, 0, 126569), + (@FIRSTGROUPID+2, 0, 126585), + (@FIRSTGROUPID+3, 0, 126601), + (@FIRSTGROUPID+3, 0, 126617), + (@FIRSTGROUPID+3, 0, 126633), + (@FIRSTGROUPID+3, 0, 126649), + (@FIRSTGROUPID+0, 0, 126665), + (@FIRSTGROUPID+3, 0, 126442), + (@FIRSTGROUPID+1, 0, 126458), + (@FIRSTGROUPID+0, 0, 126474), + (@FIRSTGROUPID+2, 0, 126490), + (@FIRSTGROUPID+4, 0, 126506), + (@FIRSTGROUPID+2, 0, 126522), + (@FIRSTGROUPID+2, 0, 126538), + (@FIRSTGROUPID+2, 0, 126554), + (@FIRSTGROUPID+2, 0, 126570), + (@FIRSTGROUPID+2, 0, 126586), + (@FIRSTGROUPID+3, 0, 126602), + (@FIRSTGROUPID+3, 0, 126618), + (@FIRSTGROUPID+3, 0, 126634), + (@FIRSTGROUPID+3, 0, 126650), + (@FIRSTGROUPID+0, 0, 126666), + (@FIRSTGROUPID+3, 0, 126443), + (@FIRSTGROUPID+1, 0, 126459), + (@FIRSTGROUPID+0, 0, 126475), + (@FIRSTGROUPID+2, 0, 126491), + (@FIRSTGROUPID+2, 0, 126507), + (@FIRSTGROUPID+2, 0, 126523), + (@FIRSTGROUPID+2, 0, 126539), + (@FIRSTGROUPID+2, 0, 126555), + (@FIRSTGROUPID+2, 0, 126571), + (@FIRSTGROUPID+2, 0, 126587), + (@FIRSTGROUPID+3, 0, 126603), + (@FIRSTGROUPID+3, 0, 126619), + (@FIRSTGROUPID+3, 0, 126635), + (@FIRSTGROUPID+3, 0, 126651), + (@FIRSTGROUPID+0, 0, 126667), + (@FIRSTGROUPID+3, 0, 126444), + (@FIRSTGROUPID+1, 0, 126460), + (@FIRSTGROUPID+1, 0, 126476), + (@FIRSTGROUPID+2, 0, 126492), + (@FIRSTGROUPID+2, 0, 126508), + (@FIRSTGROUPID+2, 0, 126524), + (@FIRSTGROUPID+2, 0, 126540), + (@FIRSTGROUPID+2, 0, 126556), + (@FIRSTGROUPID+2, 0, 126572), + (@FIRSTGROUPID+2, 0, 126588), + (@FIRSTGROUPID+3, 0, 126604), + (@FIRSTGROUPID+3, 0, 126620), + (@FIRSTGROUPID+3, 0, 126636), + (@FIRSTGROUPID+3, 0, 126652), + (@FIRSTGROUPID+0, 0, 126668), + (@FIRSTGROUPID+3, 0, 126445), + (@FIRSTGROUPID+2, 0, 126434); + +-- Link information for instance script +DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 576; +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES + (576,@FROZENCOMMANDERS,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Frozen Commanders if state is not DONE + (576,@GRANDMAGUSTELESTRA,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Grand Magus Telestra if state is not DONE + (576,@ANOMALUS,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Anomalus if state is not DONE + (576,@ORMOROKTHETREESHAPER,0x17,@FIRSTGROUPID+3,0x1), -- Spawn Ormorok the Tree-Shaper if state is not DONE + (576,@KERISTRASZA,0x17,@FIRSTGROUPID+4,0x1); -- Spawn Keristrasza if state is not DONE + +-- Remove legacy linked_respawn entries +DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`; diff --git a/sql/updates/world/master/2021_06_16_04_world_2018_01_18_01_world.sql b/sql/updates/world/master/2021_06_16_04_world_2018_01_18_01_world.sql new file mode 100644 index 000000000..70b72d779 --- /dev/null +++ b/sql/updates/world/master/2021_06_16_04_world_2018_01_18_01_world.sql @@ -0,0 +1,3 @@ +-- amphitheater of anguish (12932) should be startable without completing "The Champion's Call!" (12974) +UPDATE `quest_template` SET `RewardNextQuest`=12932 WHERE `ID`=12974; +UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=12932; diff --git a/sql/updates/world/master/2021_06_16_05_world_2018_01_20_00_world.sql b/sql/updates/world/master/2021_06_16_05_world_2018_01_20_00_world.sql new file mode 100644 index 000000000..e65560f3b --- /dev/null +++ b/sql/updates/world/master/2021_06_16_05_world_2018_01_20_00_world.sql @@ -0,0 +1,4 @@ +-- A Rough Ride +UPDATE `smart_scripts` SET `target_type` = 23 WHERE `entryorguid` = 28308 and `id` IN (2,3); +-- Black Knights Order +UPDATE `smart_scripts` SET `target_type` = 23 WHERE `entryorguid` = 33519 and `id` IN (1,2); diff --git a/sql/updates/world/master/2021_06_16_06_world_2018_01_21_00_world.sql b/sql/updates/world/master/2021_06_16_06_world_2018_01_21_00_world.sql new file mode 100644 index 000000000..9e2018a9e --- /dev/null +++ b/sql/updates/world/master/2021_06_16_06_world_2018_01_21_00_world.sql @@ -0,0 +1,4 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_50pct_count_pct_from_max_hp' AND `spell_id`=48292; +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dark_slash'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(48292, 'spell_dark_slash'); diff --git a/sql/updates/world/master/2021_06_16_07_world_2018_01_24_01_world.sql b/sql/updates/world/master/2021_06_16_07_world_2018_01_24_01_world.sql new file mode 100644 index 000000000..cf77e551c --- /dev/null +++ b/sql/updates/world/master/2021_06_16_07_world_2018_01_24_01_world.sql @@ -0,0 +1,47 @@ +-- SpawnGroupMapper auto-generated SQL for map 624 (Vault of Archavon) + +-- Constant setter section - adjust this +-- spawn_group_template (4 entries) +SET @FIRSTGROUPID := 28; +-- Boss state associations +SET @ARCHAVON := 0; -- boss state that controls group "Archavon" +SET @EMALON := 1; -- boss state that controls group "Emalon" +SET @KORALON := 2; -- boss state that controls group "Koralon" +SET @TORAVON := 3; -- boss state that controls group "Toravon" + +-- DB modification section - you shouldn't need to touch this +-- Insert spawn group templates +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES + (@FIRSTGROUPID+0, "Vault of Archavon - Archavon", 0x04), + (@FIRSTGROUPID+1, "Vault of Archavon - Emalon", 0x04), + (@FIRSTGROUPID+2, "Vault of Archavon - Koralon", 0x04), + (@FIRSTGROUPID+3, "Vault of Archavon - Toravon", 0x04); + +-- Insert spawn group data +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES + (@FIRSTGROUPID+2, 0, 202596), + (@FIRSTGROUPID+2, 0, 202598), + (@FIRSTGROUPID+3, 0, 202600), + (@FIRSTGROUPID+0, 0, 202589), + (@FIRSTGROUPID+0, 0, 202591), + (@FIRSTGROUPID+1, 0, 202593), + (@FIRSTGROUPID+1, 0, 202595), + (@FIRSTGROUPID+2, 0, 202597), + (@FIRSTGROUPID+3, 0, 202606), + (@FIRSTGROUPID+0, 0, 202588), + (@FIRSTGROUPID+0, 0, 202590), + (@FIRSTGROUPID+1, 0, 202594), + (@FIRSTGROUPID+3, 0, 202605); + +-- Link information for instance script +DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 624; +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES + (624,@ARCHAVON,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Archavon if state is not DONE + (624,@EMALON,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Emalon if state is not DONE + (624,@KORALON,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Koralon if state is not DONE + (624,@TORAVON,0x17,@FIRSTGROUPID+3,0x1); -- Spawn Toravon if state is not DONE + +-- Remove legacy linked_respawn entries +DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`; diff --git a/sql/updates/world/master/2021_06_16_08_world_2018_01_24_02_world.sql b/sql/updates/world/master/2021_06_16_08_world_2018_01_24_02_world.sql new file mode 100644 index 000000000..294df6dbb --- /dev/null +++ b/sql/updates/world/master/2021_06_16_08_world_2018_01_24_02_world.sql @@ -0,0 +1,113 @@ +-- SpawnGroupMapper auto-generated SQL for map 604 (Gundrak) + +-- Constant setter section - adjust this +-- spawn_group_template (5 entries) +SET @FIRSTGROUPID := 32; +-- Boss state associations +SET @SLADRAN := 0; -- boss state that controls group "Slad'ran" +SET @DRAKKARICOLOSSUS := 1; -- boss state that controls group "Drakkari Colossus" +SET @MOORABI := 2; -- boss state that controls group "Moorabi" +SET @GALDARAH := 3; -- boss state that controls group "Gal'darah" +SET @ECKTHEFEROCIOUS := 4; -- boss state that controls group "Eck the Ferocious" + +-- DB modification section - you shouldn't need to touch this +-- Insert spawn group templates +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES + (@FIRSTGROUPID+0, "Gundrak - Slad'ran", 0x04), + (@FIRSTGROUPID+1, "Gundrak - Drakkari Colossus", 0x04), + (@FIRSTGROUPID+2, "Gundrak - Moorabi", 0x04), + (@FIRSTGROUPID+3, "Gundrak - Gal'darah", 0x04), + (@FIRSTGROUPID+4, "Gundrak - Eck the Ferocious", 0x04); + +-- Insert spawn group data +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES + (@FIRSTGROUPID+0, 0, 127019), + (@FIRSTGROUPID+2, 0, 127051), + (@FIRSTGROUPID+2, 0, 127067), + (@FIRSTGROUPID+0, 0, 127020), + (@FIRSTGROUPID+2, 0, 127052), + (@FIRSTGROUPID+2, 0, 127068), + (@FIRSTGROUPID+0, 0, 127021), + (@FIRSTGROUPID+2, 0, 127053), + (@FIRSTGROUPID+2, 0, 127069), + (@FIRSTGROUPID+0, 0, 127006), + (@FIRSTGROUPID+0, 0, 127022), + (@FIRSTGROUPID+2, 0, 127054), + (@FIRSTGROUPID+2, 0, 127070), + (@FIRSTGROUPID+0, 0, 127007), + (@FIRSTGROUPID+0, 0, 127023), + (@FIRSTGROUPID+2, 0, 127055), + (@FIRSTGROUPID+1, 0, 127071), + (@FIRSTGROUPID+0, 0, 127008), + (@FIRSTGROUPID+0, 0, 127024), + (@FIRSTGROUPID+2, 0, 127056), + (@FIRSTGROUPID+1, 0, 127072), + (@FIRSTGROUPID+0, 0, 127009), + (@FIRSTGROUPID+0, 0, 127025), + (@FIRSTGROUPID+2, 0, 127057), + (@FIRSTGROUPID+1, 0, 127073), + (@FIRSTGROUPID+4, 0, 127201), + (@FIRSTGROUPID+0, 0, 127010), + (@FIRSTGROUPID+0, 0, 127026), + (@FIRSTGROUPID+0, 0, 127042), + (@FIRSTGROUPID+0, 0, 127058), + (@FIRSTGROUPID+1, 0, 127074), + (@FIRSTGROUPID+4, 0, 127202), + (@FIRSTGROUPID+0, 0, 127011), + (@FIRSTGROUPID+0, 0, 127027), + (@FIRSTGROUPID+2, 0, 127043), + (@FIRSTGROUPID+2, 0, 127059), + (@FIRSTGROUPID+1, 0, 127075), + (@FIRSTGROUPID+4, 0, 127203), + (@FIRSTGROUPID+0, 0, 127012), + (@FIRSTGROUPID+0, 0, 127028), + (@FIRSTGROUPID+3, 0, 127044), + (@FIRSTGROUPID+2, 0, 127060), + (@FIRSTGROUPID+1, 0, 127076), + (@FIRSTGROUPID+4, 0, 127204), + (@FIRSTGROUPID+0, 0, 127013), + (@FIRSTGROUPID+0, 0, 127029), + (@FIRSTGROUPID+0, 0, 127045), + (@FIRSTGROUPID+2, 0, 127061), + (@FIRSTGROUPID+1, 0, 127077), + (@FIRSTGROUPID+4, 0, 127205), + (@FIRSTGROUPID+0, 0, 127014), + (@FIRSTGROUPID+1, 0, 127046), + (@FIRSTGROUPID+2, 0, 127062), + (@FIRSTGROUPID+1, 0, 127078), + (@FIRSTGROUPID+3, 0, 127110), + (@FIRSTGROUPID+4, 0, 127206), + (@FIRSTGROUPID+0, 0, 127015), + (@FIRSTGROUPID+2, 0, 127047), + (@FIRSTGROUPID+2, 0, 127063), + (@FIRSTGROUPID+1, 0, 127079), + (@FIRSTGROUPID+3, 0, 127111), + (@FIRSTGROUPID+3, 0, 127207), + (@FIRSTGROUPID+0, 0, 127016), + (@FIRSTGROUPID+2, 0, 127048), + (@FIRSTGROUPID+2, 0, 127064), + (@FIRSTGROUPID+1, 0, 127080), + (@FIRSTGROUPID+3, 0, 127112), + (@FIRSTGROUPID+0, 0, 127017), + (@FIRSTGROUPID+2, 0, 127049), + (@FIRSTGROUPID+2, 0, 127065), + (@FIRSTGROUPID+1, 0, 127081), + (@FIRSTGROUPID+2, 0, 127113), + (@FIRSTGROUPID+0, 0, 127018), + (@FIRSTGROUPID+2, 0, 127050), + (@FIRSTGROUPID+2, 0, 127066), + (@FIRSTGROUPID+1, 0, 127082); + +-- Link information for instance script +DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 604; +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES + (604,@SLADRAN,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Slad'ran if state is not DONE + (604,@DRAKKARICOLOSSUS,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Drakkari Colossus if state is not DONE + (604,@MOORABI,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Moorabi if state is not DONE + (604,@GALDARAH,0x17,@FIRSTGROUPID+3,0x1), -- Spawn Gal'darah if state is not DONE + (604,@ECKTHEFEROCIOUS,0x17,@FIRSTGROUPID+4,0x1); -- Spawn Eck the Ferocious if state is not DONE + +-- Remove legacy linked_respawn entries +DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`; diff --git a/sql/updates/world/master/2021_06_16_09_world_2018_01_24_03_world.sql b/sql/updates/world/master/2021_06_16_09_world_2018_01_24_03_world.sql new file mode 100644 index 000000000..743e1250d --- /dev/null +++ b/sql/updates/world/master/2021_06_16_09_world_2018_01_24_03_world.sql @@ -0,0 +1,52 @@ +UPDATE `smart_scripts` SET `event_param3`=240000, `event_param4`=240000 WHERE `entryorguid`=5734 AND `source_type`=0 AND `id`=0 AND `link`=0; +DELETE FROM `creature` WHERE `guid`=326468; +UPDATE `creature` SET `guid`=31877 WHERE `guid`=326250; -- sync guid with 3.3.5 + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=5736; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=573400; + +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 +(573400, 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, 'Apothecary Keever - Script - Say Line 0'), +(573400, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 11, 7794, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Cast Teleport'), +(573400, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Kneel'), +(573400, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, 5736, 8, 0, 0, 0, 0, 8, 0, 0, 0, 1400.85, 363.242, -84.868, 1.11701, 'Apothecary Keever - Script - Spawn Caged Human Male'), +(573400, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Stand'), +(573400, 9, 5, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 1'), +(573400, 9, 6, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 2'), +(573400, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Kneel'), +(573400, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 5736, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Set Data 1 1 on Caged Human'), +(573400, 9, 9, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 3'), +(573400, 9, 10, 0, 0, 0, 100, 0, 13000, 13000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 4'), +(573400, 9, 11, 0, 0, 0, 100, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Stand'), +(573400, 9, 12, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 5'), +(573400, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Kneel'), +(573400, 9, 14, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 5742, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Set Data 2 2 on Caged Toad'), +(573400, 9, 15, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 6'), +(573400, 9, 16, 0, 0, 0, 100, 0, 13000, 13000, 0, 0, 1, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 7'), +(573400, 9, 17, 0, 0, 0, 100, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Stand'), +(573400, 9, 18, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 8'), +(573400, 9, 19, 0, 0, 0, 100, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Kneel'), +(573400, 9, 20, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 45, 3, 3, 0, 0, 0, 0, 19, 5739, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Set Data 3 3 on Caged Squirrel'), +(573400, 9, 21, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 6'), +(573400, 9, 22, 0, 0, 0, 100, 0, 13000, 13000, 0, 0, 1, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 7'), +(573400, 9, 23, 0, 0, 0, 100, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Stand'), +(573400, 9, 24, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 8'), +(573400, 9, 25, 0, 0, 0, 100, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Kneel'), +(573400, 9, 26, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 45, 4, 4, 0, 0, 0, 0, 19, 5741, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Set Data 4 4 on Caged Rabbit'), +(573400, 9, 27, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 12, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 6'), +(573400, 9, 28, 0, 0, 0, 100, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Stand'), +(573400, 9, 29, 0, 0, 0, 100, 0, 13000, 13000, 0, 0, 1, 13, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 7'), +(573400, 9, 30, 0, 0, 0, 100, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Kneel'), +(573400, 9, 31, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 45, 5, 5, 0, 0, 0, 0, 19, 5743, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Set Data 5 5 on Caged Sheep'), +(573400, 9, 32, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Say Line 8'), +(573400, 9, 33, 0, 0, 0, 100, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Apothecary Keever - Script - Stand'), +(5736, 0, 0, 1, 38, 0, 100, 0, 1, 1, 0, 0, 36, 5742, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 1 1 Change Entry to Caged Toad'), +(5736, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 3, 5742, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 1 1 Change Entry to Caged Toad'), +(5736, 0, 2, 3, 38, 0, 100, 0, 2, 2, 0, 0, 36, 5739, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 2 2 Change Entry to Caged Sqirrel'), +(5736, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 3, 5739, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 1 1 Change Entry to Caged Squirrel'), +(5736, 0, 4, 5, 38, 0, 100, 0, 3, 3, 0, 0, 36, 5741, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 3 3 Change Entry to Caged Rabbit'), +(5736, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 3, 5741, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 1 1 Change Entry to Caged Rabbit'), +(5736, 0, 6, 7, 38, 0, 100, 0, 4, 4, 0, 0, 36, 5743, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 4 4 Change Entry to Caged Sheep'), +(5736, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 3, 5743, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 1 1 Change Entry to Caged Sheep'), +(5736, 0, 8, 9, 38, 0, 100, 0, 5, 5, 0, 0, 11, 7670, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 5 5 Cast Explode'), +(5736, 0, 9, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 1000, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caged Human Male - On Data Set 5 5 - Run Script'); diff --git a/sql/updates/world/master/2021_06_16_10_world_2018_01_24_04_world.sql b/sql/updates/world/master/2021_06_16_10_world_2018_01_24_04_world.sql new file mode 100644 index 000000000..ef50a71d0 --- /dev/null +++ b/sql/updates/world/master/2021_06_16_10_world_2018_01_24_04_world.sql @@ -0,0 +1,230 @@ +-- SpawnGroupMapper auto-generated SQL for map 658 (Pit of Saron) + +-- Constant setter section - adjust this +-- spawn_group_template (5 entries) +SET @FIRSTGROUPID := 39; +-- Boss state associations +SET @FORGEMASTERGARFROST := 0; -- boss state that controls group "Forgemaster Garfrost" +SET @KRICKICK := 1; -- boss state that controls group "Krick & Ick" +SET @SCOURGELORDTYRANNUS := 2; -- boss state that controls group "Scourgelord Tyrannus" + +-- DB modification section - you shouldn't need to touch this +-- Insert spawn group templates +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES + (@FIRSTGROUPID+0, "Pit of Saron - Forgemaster Garfrost", 0x04), + (@FIRSTGROUPID+1, "Pit of Saron - Krick & Ick", 0x04), + (@FIRSTGROUPID+2, "Pit of Saron - Scourgelord Tyrannus", 0x04), + (@FIRSTGROUPID+3, "Pit of Saron - Tyrannus - Event", 0x04), + (@FIRSTGROUPID+4, "Pit of Saron - Forge section (Bosses 1+2)", 0x04); + +-- Insert spawn group data +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES + (@FIRSTGROUPID+4, 0, 201900), + (@FIRSTGROUPID+4, 0, 202028), + (@FIRSTGROUPID+1, 0, 202156), + (@FIRSTGROUPID+4, 0, 201901), + (@FIRSTGROUPID+3, 0, 201965), + (@FIRSTGROUPID+2, 0, 202093), + (@FIRSTGROUPID+4, 0, 202030), + (@FIRSTGROUPID+2, 0, 202158), + (@FIRSTGROUPID+4, 0, 202222), + (@FIRSTGROUPID+1, 0, 201903), + (@FIRSTGROUPID+0, 0, 202159), + (@FIRSTGROUPID+4, 0, 201840), + (@FIRSTGROUPID+4, 0, 202032), + (@FIRSTGROUPID+4, 0, 202096), + (@FIRSTGROUPID+3, 0, 201841), + (@FIRSTGROUPID+4, 0, 201905), + (@FIRSTGROUPID+4, 0, 202097), + (@FIRSTGROUPID+4, 0, 201970), + (@FIRSTGROUPID+4, 0, 202098), + (@FIRSTGROUPID+4, 0, 202099), + (@FIRSTGROUPID+2, 0, 202163), + (@FIRSTGROUPID+4, 0, 202227), + (@FIRSTGROUPID+4, 0, 201845), + (@FIRSTGROUPID+4, 0, 201909), + (@FIRSTGROUPID+2, 0, 202165), + (@FIRSTGROUPID+4, 0, 202229), + (@FIRSTGROUPID+4, 0, 201974), + (@FIRSTGROUPID+4, 0, 202038), + (@FIRSTGROUPID+3, 0, 201911), + (@FIRSTGROUPID+4, 0, 202103), + (@FIRSTGROUPID+4, 0, 202231), + (@FIRSTGROUPID+4, 0, 201976), + (@FIRSTGROUPID+2, 0, 202104), + (@FIRSTGROUPID+4, 0, 202232), + (@FIRSTGROUPID+4, 0, 202041), + (@FIRSTGROUPID+2, 0, 202105), + (@FIRSTGROUPID+4, 0, 202233), + (@FIRSTGROUPID+4, 0, 201914), + (@FIRSTGROUPID+1, 0, 202042), + (@FIRSTGROUPID+4, 0, 202107), + (@FIRSTGROUPID+2, 0, 201852), + (@FIRSTGROUPID+4, 0, 201980), + (@FIRSTGROUPID+4, 0, 202108), + (@FIRSTGROUPID+2, 0, 202172), + (@FIRSTGROUPID+1, 0, 202236), + (@FIRSTGROUPID+4, 0, 201917), + (@FIRSTGROUPID+1, 0, 201981), + (@FIRSTGROUPID+2, 0, 202045), + (@FIRSTGROUPID+2, 0, 201982), + (@FIRSTGROUPID+2, 0, 202174), + (@FIRSTGROUPID+0, 0, 202238), + (@FIRSTGROUPID+0, 0, 201855), + (@FIRSTGROUPID+3, 0, 202048), + (@FIRSTGROUPID+4, 0, 202112), + (@FIRSTGROUPID+4, 0, 201857), + (@FIRSTGROUPID+4, 0, 201921), + (@FIRSTGROUPID+4, 0, 201985), + (@FIRSTGROUPID+4, 0, 202050), + (@FIRSTGROUPID+2, 0, 201987), + (@FIRSTGROUPID+4, 0, 201988), + (@FIRSTGROUPID+3, 0, 202180), + (@FIRSTGROUPID+4, 0, 202244), + (@FIRSTGROUPID+4, 0, 201797), + (@FIRSTGROUPID+4, 0, 201861), + (@FIRSTGROUPID+3, 0, 201989), + (@FIRSTGROUPID+4, 0, 202181), + (@FIRSTGROUPID+4, 0, 201798), + (@FIRSTGROUPID+2, 0, 201926), + (@FIRSTGROUPID+4, 0, 201990), + (@FIRSTGROUPID+4, 0, 202054), + (@FIRSTGROUPID+4, 0, 202118), + (@FIRSTGROUPID+4, 0, 202182), + (@FIRSTGROUPID+2, 0, 202246), + (@FIRSTGROUPID+3, 0, 201863), + (@FIRSTGROUPID+0, 0, 201927), + (@FIRSTGROUPID+4, 0, 201991), + (@FIRSTGROUPID+4, 0, 202119), + (@FIRSTGROUPID+4, 0, 202183), + (@FIRSTGROUPID+4, 0, 201800), + (@FIRSTGROUPID+0, 0, 201992), + (@FIRSTGROUPID+2, 0, 202056), + (@FIRSTGROUPID+4, 0, 202184), + (@FIRSTGROUPID+2, 0, 202248), + (@FIRSTGROUPID+4, 0, 201865), + (@FIRSTGROUPID+4, 0, 202121), + (@FIRSTGROUPID+4, 0, 202249), + (@FIRSTGROUPID+4, 0, 201994), + (@FIRSTGROUPID+4, 0, 202058), + (@FIRSTGROUPID+4, 0, 202122), + (@FIRSTGROUPID+3, 0, 201803), + (@FIRSTGROUPID+4, 0, 202059), + (@FIRSTGROUPID+3, 0, 202187), + (@FIRSTGROUPID+3, 0, 201804), + (@FIRSTGROUPID+4, 0, 201932), + (@FIRSTGROUPID+4, 0, 202124), + (@FIRSTGROUPID+4, 0, 201805), + (@FIRSTGROUPID+4, 0, 202061), + (@FIRSTGROUPID+4, 0, 202125), + (@FIRSTGROUPID+4, 0, 201806), + (@FIRSTGROUPID+4, 0, 201934), + (@FIRSTGROUPID+2, 0, 201998), + (@FIRSTGROUPID+4, 0, 202126), + (@FIRSTGROUPID+2, 0, 201871), + (@FIRSTGROUPID+4, 0, 202063), + (@FIRSTGROUPID+2, 0, 201872), + (@FIRSTGROUPID+4, 0, 202000), + (@FIRSTGROUPID+2, 0, 202128), + (@FIRSTGROUPID+4, 0, 202256), + (@FIRSTGROUPID+3, 0, 202001), + (@FIRSTGROUPID+2, 0, 202257), + (@FIRSTGROUPID+2, 0, 201874), + (@FIRSTGROUPID+2, 0, 202258), + (@FIRSTGROUPID+2, 0, 201939), + (@FIRSTGROUPID+2, 0, 201876), + (@FIRSTGROUPID+2, 0, 202068), + (@FIRSTGROUPID+2, 0, 202132), + (@FIRSTGROUPID+4, 0, 202196), + (@FIRSTGROUPID+4, 0, 202260), + (@FIRSTGROUPID+4, 0, 201813), + (@FIRSTGROUPID+2, 0, 201941), + (@FIRSTGROUPID+4, 0, 202197), + (@FIRSTGROUPID+4, 0, 201815), + (@FIRSTGROUPID+4, 0, 201943), + (@FIRSTGROUPID+4, 0, 202071), + (@FIRSTGROUPID+2, 0, 202135), + (@FIRSTGROUPID+4, 0, 202199), + (@FIRSTGROUPID+4, 0, 201816), + (@FIRSTGROUPID+0, 0, 202072), + (@FIRSTGROUPID+2, 0, 202200), + (@FIRSTGROUPID+4, 0, 202264), + (@FIRSTGROUPID+4, 0, 201817), + (@FIRSTGROUPID+4, 0, 201945), + (@FIRSTGROUPID+2, 0, 202265), + (@FIRSTGROUPID+4, 0, 201818), + (@FIRSTGROUPID+3, 0, 201882), + (@FIRSTGROUPID+4, 0, 201946), + (@FIRSTGROUPID+3, 0, 202010), + (@FIRSTGROUPID+2, 0, 202074), + (@FIRSTGROUPID+4, 0, 202202), + (@FIRSTGROUPID+4, 0, 201819), + (@FIRSTGROUPID+4, 0, 201947), + (@FIRSTGROUPID+4, 0, 202139), + (@FIRSTGROUPID+4, 0, 202203), + (@FIRSTGROUPID+4, 0, 201820), + (@FIRSTGROUPID+4, 0, 201884), + (@FIRSTGROUPID+3, 0, 201948), + (@FIRSTGROUPID+4, 0, 202076), + (@FIRSTGROUPID+4, 0, 202204), + (@FIRSTGROUPID+4, 0, 201949), + (@FIRSTGROUPID+4, 0, 202013), + (@FIRSTGROUPID+3, 0, 202077), + (@FIRSTGROUPID+4, 0, 202141), + (@FIRSTGROUPID+4, 0, 202269), + (@FIRSTGROUPID+4, 0, 201823), + (@FIRSTGROUPID+2, 0, 201887), + (@FIRSTGROUPID+2, 0, 201951), + (@FIRSTGROUPID+2, 0, 202015), + (@FIRSTGROUPID+4, 0, 202079), + (@FIRSTGROUPID+4, 0, 202271), + (@FIRSTGROUPID+4, 0, 201888), + (@FIRSTGROUPID+4, 0, 201952), + (@FIRSTGROUPID+4, 0, 202144), + (@FIRSTGROUPID+2, 0, 201889), + (@FIRSTGROUPID+4, 0, 202145), + (@FIRSTGROUPID+4, 0, 202273), + (@FIRSTGROUPID+4, 0, 201954), + (@FIRSTGROUPID+4, 0, 202018), + (@FIRSTGROUPID+4, 0, 202082), + (@FIRSTGROUPID+4, 0, 202083), + (@FIRSTGROUPID+4, 0, 202211), + (@FIRSTGROUPID+4, 0, 202275), + (@FIRSTGROUPID+2, 0, 201828), + (@FIRSTGROUPID+3, 0, 201892), + (@FIRSTGROUPID+4, 0, 201956), + (@FIRSTGROUPID+4, 0, 202084), + (@FIRSTGROUPID+2, 0, 202212), + (@FIRSTGROUPID+4, 0, 202276), + (@FIRSTGROUPID+3, 0, 201829), + (@FIRSTGROUPID+4, 0, 201957), + (@FIRSTGROUPID+2, 0, 202085), + (@FIRSTGROUPID+2, 0, 201894), + (@FIRSTGROUPID+4, 0, 202022), + (@FIRSTGROUPID+4, 0, 202151), + (@FIRSTGROUPID+4, 0, 201960), + (@FIRSTGROUPID+4, 0, 202152), + (@FIRSTGROUPID+4, 0, 202216), + (@FIRSTGROUPID+1, 0, 201833), + (@FIRSTGROUPID+4, 0, 201897), + (@FIRSTGROUPID+3, 0, 201961), + (@FIRSTGROUPID+4, 0, 202281), + (@FIRSTGROUPID+4, 0, 202282), + (@FIRSTGROUPID+0, 0, 202027), + (@FIRSTGROUPID+4, 0, 42160); + +-- Link information for instance script +DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 658; +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES + (658,@FORGEMASTERGARFROST,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Forgemaster Garfrost if state is not DONE + (658,@KRICKICK,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Krick & Ick if state is not DONE + (658,@SCOURGELORDTYRANNUS,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Scourgelord Tyrannus if state is not DONE + (658,@FORGEMASTERGARFROST,0x17,@FIRSTGROUPID+3,0x1), -- Tyrannus - Event (I would prefer if we had a boss state for this...) + (658,@KRICKICK,0x17,@FIRSTGROUPID+3,0x1), + (658,@FORGEMASTERGARFROST,0x17,@FIRSTGROUPID+4,0x1), -- Spawn Forge section (Bosses 1+2) if Forgemaster Garfrost state is not DONE + (658,@KRICKICK,0x17,@FIRSTGROUPID+4,0x1); -- Spawn Forge section (Bosses 1+2) if Krick & Ick state is not DONE + +-- Remove legacy linked_respawn entries +DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+4 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`; diff --git a/sql/updates/world/master/2021_06_16_11_world_2018_01_24_05_world.sql b/sql/updates/world/master/2021_06_16_11_world_2018_01_24_05_world.sql new file mode 100644 index 000000000..3f395f61b --- /dev/null +++ b/sql/updates/world/master/2021_06_16_11_world_2018_01_24_05_world.sql @@ -0,0 +1,74 @@ +-- SpawnGroupMapper auto-generated SQL for map 632 (The Forge of Souls) + +-- Constant setter section - adjust this +-- spawn_group_template (2 entries) +SET @FIRSTGROUPID := 37; +-- Boss state associations +SET @BRONJAHM := 0; -- boss state that controls group "Bronjahm" +SET @DEVOUREROFSOULS := 1; -- boss state that controls group "Devourer of Souls" + +-- DB modification section - you shouldn't need to touch this +-- Insert spawn group templates +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+1; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES + (@FIRSTGROUPID+0, "The Forge of Souls - Bronjahm", 0x04), + (@FIRSTGROUPID+1, "The Forge of Souls - Devourer of Souls", 0x04); + +-- Insert spawn group data +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+1; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES + (@FIRSTGROUPID+0, 0, 201698), + (@FIRSTGROUPID+1, 0, 201714), + (@FIRSTGROUPID+0, 0, 201762), + (@FIRSTGROUPID+0, 0, 201699), + (@FIRSTGROUPID+0, 0, 201763), + (@FIRSTGROUPID+1, 0, 201700), + (@FIRSTGROUPID+1, 0, 201732), + (@FIRSTGROUPID+1, 0, 201748), + (@FIRSTGROUPID+0, 0, 201764), + (@FIRSTGROUPID+1, 0, 201796), + (@FIRSTGROUPID+0, 0, 201733), + (@FIRSTGROUPID+0, 0, 201749), + (@FIRSTGROUPID+0, 0, 201686), + (@FIRSTGROUPID+0, 0, 201734), + (@FIRSTGROUPID+0, 0, 201766), + (@FIRSTGROUPID+1, 0, 201687), + (@FIRSTGROUPID+0, 0, 201719), + (@FIRSTGROUPID+0, 0, 201735), + (@FIRSTGROUPID+0, 0, 201751), + (@FIRSTGROUPID+0, 0, 201783), + (@FIRSTGROUPID+0, 0, 201688), + (@FIRSTGROUPID+1, 0, 201736), + (@FIRSTGROUPID+0, 0, 201705), + (@FIRSTGROUPID+1, 0, 201737), + (@FIRSTGROUPID+0, 0, 201753), + (@FIRSTGROUPID+0, 0, 201706), + (@FIRSTGROUPID+0, 0, 201786), + (@FIRSTGROUPID+0, 0, 201707), + (@FIRSTGROUPID+0, 0, 201676), + (@FIRSTGROUPID+0, 0, 201677), + (@FIRSTGROUPID+0, 0, 201693), + (@FIRSTGROUPID+0, 0, 201725), + (@FIRSTGROUPID+1, 0, 201757), + (@FIRSTGROUPID+0, 0, 201678), + (@FIRSTGROUPID+0, 0, 201726), + (@FIRSTGROUPID+0, 0, 201742), + (@FIRSTGROUPID+0, 0, 201758), + (@FIRSTGROUPID+1, 0, 201790), + (@FIRSTGROUPID+0, 0, 201695), + (@FIRSTGROUPID+0, 0, 201711), + (@FIRSTGROUPID+0, 0, 201791), + (@FIRSTGROUPID+0, 0, 201712), + (@FIRSTGROUPID+0, 0, 201776), + (@FIRSTGROUPID+0, 0, 201792), + (@FIRSTGROUPID+0, 0, 201697), + (@FIRSTGROUPID+0, 0, 201713); + +-- Link information for instance script +DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 632; +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES + (632,@BRONJAHM,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Bronjahm if state is not DONE + (632,@DEVOUREROFSOULS,0x17,@FIRSTGROUPID+1,0x1); -- Spawn Devourer of Souls if state is not DONE + +-- Remove legacy linked_respawn entries +DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+1 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`; diff --git a/sql/updates/world/master/2021_06_16_13_world_2018_01_25_00_world.sql b/sql/updates/world/master/2021_06_16_13_world_2018_01_25_00_world.sql new file mode 100644 index 000000000..1ba2f52ac --- /dev/null +++ b/sql/updates/world/master/2021_06_16_13_world_2018_01_25_00_world.sql @@ -0,0 +1,226 @@ +-- SpawnGroupMapper auto-generated SQL for map 550 (Tempest Keep) + +-- Constant setter section - adjust this +-- spawn_group_template (4 entries) +SET @FIRSTGROUPID := 44; +-- Boss state associations +SET @ALAR := 1; -- boss state that controls group "Al'ar" +SET @VOIDREAVER := 3; -- boss state that controls group "Void Reaver" +SET @SOLARIAN := 2; -- boss state that controls group "Solarian" +SET @KAELTHAS := 0; -- boss state that controls group "Kael'thas" + +-- DB modification section - you shouldn't need to touch this +-- Insert spawn group templates +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES + (@FIRSTGROUPID+0, "Tempest Keep - Al'ar", 0x04), + (@FIRSTGROUPID+1, "Tempest Keep - Void Reaver", 0x04), + (@FIRSTGROUPID+2, "Tempest Keep - Solarian", 0x04), + (@FIRSTGROUPID+3, "Tempest Keep - Kael'thas", 0x04); + +-- Insert spawn group data +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES + (@FIRSTGROUPID+2, 0, 12524), + (@FIRSTGROUPID+3, 0, 86952), + (@FIRSTGROUPID+2, 0, 12532), + (@FIRSTGROUPID+2, 0, 12534), + (@FIRSTGROUPID+2, 0, 12536), + (@FIRSTGROUPID+2, 0, 12538), + (@FIRSTGROUPID+2, 0, 12540), + (@FIRSTGROUPID+2, 0, 12542), + (@FIRSTGROUPID+1, 0, 12550), + (@FIRSTGROUPID+1, 0, 12552), + (@FIRSTGROUPID+1, 0, 12554), + (@FIRSTGROUPID+1, 0, 12556), + (@FIRSTGROUPID+1, 0, 12558), + (@FIRSTGROUPID+1, 0, 12564), + (@FIRSTGROUPID+1, 0, 12566), + (@FIRSTGROUPID+3, 0, 12568), + (@FIRSTGROUPID+3, 0, 12570), + (@FIRSTGROUPID+0, 0, 554), + (@FIRSTGROUPID+3, 0, 144136), + (@FIRSTGROUPID+3, 0, 144105), + (@FIRSTGROUPID+3, 0, 144137), + (@FIRSTGROUPID+3, 0, 86939), + (@FIRSTGROUPID+3, 0, 144106), + (@FIRSTGROUPID+3, 0, 144138), + (@FIRSTGROUPID+3, 0, 7987), + (@FIRSTGROUPID+3, 0, 144107), + (@FIRSTGROUPID+3, 0, 144139), + (@FIRSTGROUPID+3, 0, 86941), + (@FIRSTGROUPID+3, 0, 86940), + (@FIRSTGROUPID+3, 0, 144110), + (@FIRSTGROUPID+3, 0, 144108), + (@FIRSTGROUPID+3, 0, 144140), + (@FIRSTGROUPID+2, 0, 12467), + (@FIRSTGROUPID+3, 0, 144146), + (@FIRSTGROUPID+2, 0, 12411), + (@FIRSTGROUPID+2, 0, 12413), + (@FIRSTGROUPID+2, 0, 12415), + (@FIRSTGROUPID+3, 0, 144109), + (@FIRSTGROUPID+2, 0, 12419), + (@FIRSTGROUPID+2, 0, 12421), + (@FIRSTGROUPID+2, 0, 12423), + (@FIRSTGROUPID+2, 0, 12425), + (@FIRSTGROUPID+2, 0, 12427), + (@FIRSTGROUPID+2, 0, 12429), + (@FIRSTGROUPID+2, 0, 12431), + (@FIRSTGROUPID+0, 0, 12433), + (@FIRSTGROUPID+0, 0, 12435), + (@FIRSTGROUPID+0, 0, 12437), + (@FIRSTGROUPID+0, 0, 12439), + (@FIRSTGROUPID+0, 0, 12441), + (@FIRSTGROUPID+0, 0, 12443), + (@FIRSTGROUPID+0, 0, 12445), + (@FIRSTGROUPID+0, 0, 12447), + (@FIRSTGROUPID+0, 0, 12449), + (@FIRSTGROUPID+0, 0, 12451), + (@FIRSTGROUPID+0, 0, 12453), + (@FIRSTGROUPID+0, 0, 12455), + (@FIRSTGROUPID+1, 0, 12461), + (@FIRSTGROUPID+3, 0, 12463), + (@FIRSTGROUPID+3, 0, 144144), + (@FIRSTGROUPID+2, 0, 12469), + (@FIRSTGROUPID+2, 0, 12471), + (@FIRSTGROUPID+2, 0, 12473), + (@FIRSTGROUPID+0, 0, 12475), + (@FIRSTGROUPID+2, 0, 12477), + (@FIRSTGROUPID+0, 0, 12479), + (@FIRSTGROUPID+3, 0, 144145), + (@FIRSTGROUPID+0, 0, 12485), + (@FIRSTGROUPID+0, 0, 12487), + (@FIRSTGROUPID+2, 0, 12489), + (@FIRSTGROUPID+2, 0, 12491), + (@FIRSTGROUPID+3, 0, 86943), + (@FIRSTGROUPID+2, 0, 12495), + (@FIRSTGROUPID+2, 0, 12497), + (@FIRSTGROUPID+2, 0, 12499), + (@FIRSTGROUPID+2, 0, 12501), + (@FIRSTGROUPID+2, 0, 12503), + (@FIRSTGROUPID+2, 0, 12505), + (@FIRSTGROUPID+2, 0, 12507), + (@FIRSTGROUPID+2, 0, 12509), + (@FIRSTGROUPID+2, 0, 12511), + (@FIRSTGROUPID+3, 0, 144147), + (@FIRSTGROUPID+2, 0, 12517), + (@FIRSTGROUPID+2, 0, 12519), + (@FIRSTGROUPID+2, 0, 12521), + (@FIRSTGROUPID+2, 0, 12523), + (@FIRSTGROUPID+3, 0, 86944), + (@FIRSTGROUPID+2, 0, 12527), + (@FIRSTGROUPID+3, 0, 144148), + (@FIRSTGROUPID+2, 0, 12533), + (@FIRSTGROUPID+2, 0, 12535), + (@FIRSTGROUPID+2, 0, 12537), + (@FIRSTGROUPID+2, 0, 12539), + (@FIRSTGROUPID+2, 0, 12541), + (@FIRSTGROUPID+3, 0, 12543), + (@FIRSTGROUPID+3, 0, 144149), + (@FIRSTGROUPID+1, 0, 12549), + (@FIRSTGROUPID+1, 0, 12551), + (@FIRSTGROUPID+1, 0, 12553), + (@FIRSTGROUPID+1, 0, 12555), + (@FIRSTGROUPID+1, 0, 12557), + (@FIRSTGROUPID+1, 0, 12559), + (@FIRSTGROUPID+3, 0, 144150), + (@FIRSTGROUPID+1, 0, 12565), + (@FIRSTGROUPID+3, 0, 12567), + (@FIRSTGROUPID+3, 0, 12569), + (@FIRSTGROUPID+3, 0, 144141), + (@FIRSTGROUPID+2, 0, 12513), + (@FIRSTGROUPID+3, 0, 144151), + (@FIRSTGROUPID+2, 0, 12515), + (@FIRSTGROUPID+2, 0, 12529), + (@FIRSTGROUPID+2, 0, 12526), + (@FIRSTGROUPID+3, 0, 86946), + (@FIRSTGROUPID+3, 0, 144152), + (@FIRSTGROUPID+3, 0, 86951), + (@FIRSTGROUPID+2, 0, 12531), + (@FIRSTGROUPID+2, 0, 12530), + (@FIRSTGROUPID+2, 0, 12528), + (@FIRSTGROUPID+2, 0, 12525), + (@FIRSTGROUPID+3, 0, 144153), + (@FIRSTGROUPID+3, 0, 144142), + (@FIRSTGROUPID+0, 0, 12480), + (@FIRSTGROUPID+3, 0, 12465), + (@FIRSTGROUPID+3, 0, 86947), + (@FIRSTGROUPID+2, 0, 12493), + (@FIRSTGROUPID+3, 0, 12544), + (@FIRSTGROUPID+3, 0, 86945), + (@FIRSTGROUPID+3, 0, 86953), + (@FIRSTGROUPID+3, 0, 86942), + (@FIRSTGROUPID+1, 0, 12462), + (@FIRSTGROUPID+1, 0, 12562), + (@FIRSTGROUPID+1, 0, 12561), + (@FIRSTGROUPID+1, 0, 12563), + (@FIRSTGROUPID+1, 0, 12560), + (@FIRSTGROUPID+3, 0, 86948), + (@FIRSTGROUPID+0, 0, 12450), + (@FIRSTGROUPID+2, 0, 12430), + (@FIRSTGROUPID+0, 0, 12434), + (@FIRSTGROUPID+2, 0, 12410), + (@FIRSTGROUPID+2, 0, 12412), + (@FIRSTGROUPID+2, 0, 12414), + (@FIRSTGROUPID+2, 0, 12416), + (@FIRSTGROUPID+2, 0, 12418), + (@FIRSTGROUPID+2, 0, 12420), + (@FIRSTGROUPID+2, 0, 12422), + (@FIRSTGROUPID+2, 0, 12424), + (@FIRSTGROUPID+2, 0, 12426), + (@FIRSTGROUPID+2, 0, 12428), + (@FIRSTGROUPID+3, 0, 86949), + (@FIRSTGROUPID+2, 0, 12432), + (@FIRSTGROUPID+0, 0, 12436), + (@FIRSTGROUPID+0, 0, 12438), + (@FIRSTGROUPID+0, 0, 12440), + (@FIRSTGROUPID+0, 0, 12442), + (@FIRSTGROUPID+0, 0, 12444), + (@FIRSTGROUPID+0, 0, 12446), + (@FIRSTGROUPID+0, 0, 12448), + (@FIRSTGROUPID+0, 0, 12452), + (@FIRSTGROUPID+0, 0, 12454), + (@FIRSTGROUPID+0, 0, 12456), + (@FIRSTGROUPID+1, 0, 12458), + (@FIRSTGROUPID+3, 0, 144143), + (@FIRSTGROUPID+3, 0, 86950), + (@FIRSTGROUPID+3, 0, 12464), + (@FIRSTGROUPID+3, 0, 12466), + (@FIRSTGROUPID+3, 0, 12468), + (@FIRSTGROUPID+2, 0, 12470), + (@FIRSTGROUPID+2, 0, 12472), + (@FIRSTGROUPID+2, 0, 12474), + (@FIRSTGROUPID+0, 0, 12476), + (@FIRSTGROUPID+1, 0, 12478), + (@FIRSTGROUPID+0, 0, 12484), + (@FIRSTGROUPID+0, 0, 12486), + (@FIRSTGROUPID+2, 0, 12488), + (@FIRSTGROUPID+2, 0, 12490), + (@FIRSTGROUPID+2, 0, 12492), + (@FIRSTGROUPID+2, 0, 12494), + (@FIRSTGROUPID+2, 0, 12496), + (@FIRSTGROUPID+2, 0, 12498), + (@FIRSTGROUPID+2, 0, 12500), + (@FIRSTGROUPID+2, 0, 12502), + (@FIRSTGROUPID+2, 0, 12504), + (@FIRSTGROUPID+2, 0, 12506), + (@FIRSTGROUPID+2, 0, 12508), + (@FIRSTGROUPID+2, 0, 12510), + (@FIRSTGROUPID+2, 0, 12512), + (@FIRSTGROUPID+2, 0, 12514), + (@FIRSTGROUPID+2, 0, 12516), + (@FIRSTGROUPID+2, 0, 12518), + (@FIRSTGROUPID+2, 0, 12520), + (@FIRSTGROUPID+2, 0, 12522), + (@FIRSTGROUPID+2, 0, 12417); + +-- Link information for instance script +DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 550; +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES + (550,@ALAR,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Al'ar if state is not DONE + (550,@VOIDREAVER,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Void Reaver if state is not DONE + (550,@SOLARIAN,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Solarian if state is not DONE + (550,@KAELTHAS,0x17,@FIRSTGROUPID+3,0x1); -- Spawn Kael'thas if state is not DONE + +-- Remove legacy linked_respawn entries +DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`; diff --git a/sql/updates/world/master/2021_06_16_14_world_2018_01_25_01_world.sql b/sql/updates/world/master/2021_06_16_14_world_2018_01_25_01_world.sql new file mode 100644 index 000000000..5bd3757d1 --- /dev/null +++ b/sql/updates/world/master/2021_06_16_14_world_2018_01_25_01_world.sql @@ -0,0 +1,137 @@ +-- SpawnGroupMapper auto-generated SQL for map 543 (Hellfire Citadel: Ramparts) + +-- Constant setter section - adjust this +-- spawn_group_template (4 entries) +SET @FIRSTGROUPID := 48; +-- Boss state associations +SET @WATCHKEEPERGARGOLMAR := 0; -- boss state that controls group "Watchkeeper Gargolmar" +SET @OMORTHEUNSCARRED := 1; -- boss state that controls group "Omor the Unscarred" +SET @VAZRUDEN := 2; -- boss state that controls group "Vazruden & Nazan" +SET @NAZAN := 3; -- boss state that controls group "Vazruden & Nazan" + +-- DB modification section - you shouldn't need to touch this +-- Insert spawn group templates +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES + (@FIRSTGROUPID+0, "Hellfire Citadel: Ramparts - Watchkeeper Gargolmar", 0x04), + (@FIRSTGROUPID+1, "Hellfire Citadel: Ramparts - Final boss trash", 0x04), + (@FIRSTGROUPID+2, "Hellfire Citadel: Ramparts - Omor the Unscarred", 0x04), + (@FIRSTGROUPID+3, "Hellfire Citadel: Ramparts - Vazruden & Nazan", 0x04); + +-- Insert spawn group data +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES + (@FIRSTGROUPID+0, 0, 202634), + (@FIRSTGROUPID+1, 0, 202650), + (@FIRSTGROUPID+1, 0, 202666), + (@FIRSTGROUPID+0, 0, 202682), + (@FIRSTGROUPID+1, 0, 202698), + (@FIRSTGROUPID+0, 0, 202619), + (@FIRSTGROUPID+0, 0, 202635), + (@FIRSTGROUPID+1, 0, 202651), + (@FIRSTGROUPID+0, 0, 202667), + (@FIRSTGROUPID+1, 0, 202683), + (@FIRSTGROUPID+1, 0, 202699), + (@FIRSTGROUPID+1, 0, 202620), + (@FIRSTGROUPID+0, 0, 202636), + (@FIRSTGROUPID+1, 0, 202652), + (@FIRSTGROUPID+1, 0, 202668), + (@FIRSTGROUPID+0, 0, 202684), + (@FIRSTGROUPID+1, 0, 202700), + (@FIRSTGROUPID+0, 0, 202621), + (@FIRSTGROUPID+0, 0, 202637), + (@FIRSTGROUPID+1, 0, 202653), + (@FIRSTGROUPID+1, 0, 202669), + (@FIRSTGROUPID+1, 0, 202685), + (@FIRSTGROUPID+1, 0, 202701), + (@FIRSTGROUPID+0, 0, 202622), + (@FIRSTGROUPID+0, 0, 202638), + (@FIRSTGROUPID+0, 0, 202654), + (@FIRSTGROUPID+0, 0, 202670), + (@FIRSTGROUPID+1, 0, 202686), + (@FIRSTGROUPID+0, 0, 202702), + (@FIRSTGROUPID+0, 0, 202607), + (@FIRSTGROUPID+1, 0, 202623), + (@FIRSTGROUPID+0, 0, 202639), + (@FIRSTGROUPID+0, 0, 202655), + (@FIRSTGROUPID+0, 0, 202671), + (@FIRSTGROUPID+1, 0, 202687), + (@FIRSTGROUPID+0, 0, 202703), + (@FIRSTGROUPID+1, 0, 202608), + (@FIRSTGROUPID+1, 0, 202624), + (@FIRSTGROUPID+0, 0, 202640), + (@FIRSTGROUPID+0, 0, 202656), + (@FIRSTGROUPID+0, 0, 202672), + (@FIRSTGROUPID+1, 0, 202688), + (@FIRSTGROUPID+0, 0, 202704), + (@FIRSTGROUPID+1, 0, 202609), + (@FIRSTGROUPID+0, 0, 202625), + (@FIRSTGROUPID+0, 0, 202641), + (@FIRSTGROUPID+0, 0, 202657), + (@FIRSTGROUPID+0, 0, 202673), + (@FIRSTGROUPID+1, 0, 202689), + (@FIRSTGROUPID+3, 0, 202705), + (@FIRSTGROUPID+0, 0, 202610), + (@FIRSTGROUPID+0, 0, 202626), + (@FIRSTGROUPID+1, 0, 202642), + (@FIRSTGROUPID+0, 0, 202658), + (@FIRSTGROUPID+0, 0, 202674), + (@FIRSTGROUPID+1, 0, 202690), + (@FIRSTGROUPID+3, 0, 202706), + (@FIRSTGROUPID+0, 0, 202611), + (@FIRSTGROUPID+0, 0, 202627), + (@FIRSTGROUPID+1, 0, 202643), + (@FIRSTGROUPID+0, 0, 202659), + (@FIRSTGROUPID+0, 0, 202675), + (@FIRSTGROUPID+0, 0, 202691), + (@FIRSTGROUPID+0, 0, 202612), + (@FIRSTGROUPID+0, 0, 202628), + (@FIRSTGROUPID+1, 0, 202644), + (@FIRSTGROUPID+0, 0, 202660), + (@FIRSTGROUPID+0, 0, 202676), + (@FIRSTGROUPID+0, 0, 202692), + (@FIRSTGROUPID+0, 0, 202613), + (@FIRSTGROUPID+0, 0, 202629), + (@FIRSTGROUPID+0, 0, 202645), + (@FIRSTGROUPID+1, 0, 202661), + (@FIRSTGROUPID+0, 0, 202677), + (@FIRSTGROUPID+3, 0, 202693), + (@FIRSTGROUPID+1, 0, 202614), + (@FIRSTGROUPID+1, 0, 202630), + (@FIRSTGROUPID+0, 0, 202646), + (@FIRSTGROUPID+1, 0, 202662), + (@FIRSTGROUPID+0, 0, 202678), + (@FIRSTGROUPID+2, 0, 202694), + (@FIRSTGROUPID+1, 0, 202615), + (@FIRSTGROUPID+0, 0, 202631), + (@FIRSTGROUPID+0, 0, 202647), + (@FIRSTGROUPID+0, 0, 202663), + (@FIRSTGROUPID+0, 0, 202679), + (@FIRSTGROUPID+0, 0, 202695), + (@FIRSTGROUPID+1, 0, 202616), + (@FIRSTGROUPID+2, 0, 202632), + (@FIRSTGROUPID+0, 0, 202648), + (@FIRSTGROUPID+0, 0, 202664), + (@FIRSTGROUPID+0, 0, 202680), + (@FIRSTGROUPID+0, 0, 202696), + (@FIRSTGROUPID+0, 0, 202617), + (@FIRSTGROUPID+2, 0, 202633), + (@FIRSTGROUPID+0, 0, 202649), + (@FIRSTGROUPID+0, 0, 202665), + (@FIRSTGROUPID+0, 0, 202681), + (@FIRSTGROUPID+0, 0, 202697), + (@FIRSTGROUPID+0, 0, 202618); + +-- Link information for instance script +DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 543; +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES + (543,@WATCHKEEPERGARGOLMAR,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Watchkeeper Gargolmar if state is not DONE + (543,@OMORTHEUNSCARRED,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Final boss trash if state is not DONE + (543,@VAZRUDEN,0x08,@FIRSTGROUPID+1,0x2), -- Do not spawn Final boss trash if state is DONE + (543,@NAZAN,0x08,@FIRSTGROUPID+1,0x2), -- Do not spawn Final boss trash if state is DONE + (543,@OMORTHEUNSCARRED,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Omor the Unscarred if state is not DONE + (543,@VAZRUDEN,0x17,@FIRSTGROUPID+3,0x1), -- Spawn Vazruden & Nazan if state is not DONE + (543,@NAZAN,0x08,@FIRSTGROUPID+3,0x2); -- Do not spawn Vazruden & Nazan if state is DONE + +-- Remove legacy linked_respawn entries +DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`; diff --git a/sql/updates/world/master/2021_06_16_15_world_2018_01_25_02_world_335.sql b/sql/updates/world/master/2021_06_16_15_world_2018_01_25_02_world_335.sql new file mode 100644 index 000000000..e52cd25de --- /dev/null +++ b/sql/updates/world/master/2021_06_16_15_world_2018_01_25_02_world_335.sql @@ -0,0 +1,12 @@ +-- Gavis Greyshield +DELETE FROM `smart_scripts` WHERE `entryorguid`= 23941 AND `source_type`= 0; +DELETE FROM `smart_scripts` WHERE `entryorguid`= 2394100 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 +(23941, 0,0,0, 2,0,100, 1, 0, 15,0,0, 11, 42660,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - Between 0-15% Health - Cast 'Gavis Greyshield Credit' (No Repeat)"), +(23941, 0,1,2, 2,0,100, 1, 0, 15,0,0, 80,2394100,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - Between 0-15% Health - Run Script (No Repeat)"), +(23941, 0,2,3,61,0,100,512, 0, 0,0,0, 2, 35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - Between 0-15% Health - Set Faction 35"), +(23941, 0,3,4,61,0,100,512, 0, 0,0,0, 24, 0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - Between 0-15% Health - Evade"), +(23941, 0,4,0,61,0,100,512, 0, 0,0,0,103, 1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - Between 0-15% Health - Set Root On"), +(2394100,9,0,0, 0,0,100, 0, 1000, 1000,0,0, 1, 0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - On Script - Say Line 0"), +(2394100,9,1,0, 0,0,100, 0, 4000, 4000,0,0, 1, 1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - On Script - Say Line 1"), +(2394100,9,2,0, 0,0,100, 0,10000,10000,0,0, 41, 0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gavis Greyshield - On Script - Despawn"); diff --git a/sql/updates/world/master/2021_06_16_16_world_2018_01_25_03_world.sql b/sql/updates/world/master/2021_06_16_16_world_2018_01_25_03_world.sql new file mode 100644 index 000000000..8a5dac2a5 --- /dev/null +++ b/sql/updates/world/master/2021_06_16_16_world_2018_01_25_03_world.sql @@ -0,0 +1,5 @@ +-- Master Smith Burninate --> Fix gossip conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=5962; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,5962,7121,0,0,8,0,7722,0,0,0,0,0,"","Show gossip text 7121 if player has quest 'What the Flux?' rewarded"), +(14,5962,7121,0,0,5,0,59,128,0,0,0,0,"","Show gossip text 7121 if player is exalted with Thorium Brotherhood"); diff --git a/sql/updates/world/master/2021_06_16_17_world_2018_01_25_05_world_335.sql b/sql/updates/world/master/2021_06_16_17_world_2018_01_25_05_world_335.sql new file mode 100644 index 000000000..dbdcd1a6e --- /dev/null +++ b/sql/updates/world/master/2021_06_16_17_world_2018_01_25_05_world_335.sql @@ -0,0 +1,6 @@ +-- Primal Torntusk --> Add Gossip Text +UPDATE `creature_template` SET `gossip_menu_id`=6084 WHERE `entry`=14736; + +DELETE FROM `gossip_menu` WHERE `MenuID`=6084; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(6084,7238,0); diff --git a/sql/updates/world/master/2021_06_17_00_world_2018_01_25_06_world_335.sql b/sql/updates/world/master/2021_06_17_00_world_2018_01_25_06_world_335.sql new file mode 100644 index 000000000..49f50ddf9 --- /dev/null +++ b/sql/updates/world/master/2021_06_17_00_world_2018_01_25_06_world_335.sql @@ -0,0 +1,25 @@ +-- Fallen Hero of the Horde --> Fix gossip texts +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=840; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,840,1451,0,1,9,0,2801,0,0,0,0,0,"","Show gossip text 1451 if player has quest 'A Tale of Sorrow' taken"); + +DELETE FROM `gossip_menu` WHERE `MenuID` IN (841, 842); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(841,1392,0), +(842,1411,0); + +UPDATE `gossip_menu_option` SET `OptionText`="Why are you here?", `OptionBroadcastTextId`=3582 WHERE `MenuID`=840 AND `OptionIndex`=0; +DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (841, 842); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextId`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(841,0,0,"Continue with your story.",3601,1,1,0), +(842,0,0,"Tragic...",3830,1,1,0); + +UPDATE `gossip_menu_option_action` SET `ActionMenuId`=841 WHERE `MenuId`=840 AND `OptionIndex`=0; +DELETE FROM `gossip_menu_option_action` WHERE `MenuId`=841; +INSERT INTO `gossip_menu_option_action` (`MenuId`, `OptionIndex`, `ActionMenuId`, `ActionPoiId`) VALUES +(841,0,842,0); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=7572 AND `source_type`=0 AND `id` IN (0,1); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `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 +(7572,0,0,2,62,0,100,512,842,0,0,0,26,2784,0,0,0,0,0,7,0,0,0,0,0,0,0,"Fallen Hero of the Horde - On Gossip Option 0 Selected - Quest Credit 'Fall From Grace'"), +(7572,0,1,2,62,0,100,512,881,0,0,0,26,2801,0,0,0,0,0,7,0,0,0,0,0,0,0,"Fallen Hero of the Horde - On Gossip Option 0 Selected - Quest Credit 'A Tale of Sorrow'"); diff --git a/sql/updates/world/master/2021_06_18_00_world_2018_01_26_00_world.sql b/sql/updates/world/master/2021_06_18_00_world_2018_01_26_00_world.sql new file mode 100644 index 000000000..4753dd2d8 --- /dev/null +++ b/sql/updates/world/master/2021_06_18_00_world_2018_01_26_00_world.sql @@ -0,0 +1,12 @@ +-- +DELETE FROM `event_scripts` WHERE `id` = 19714; +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(19714,0,9,5272,60,0,0,0,0,0), +(19714,0,9,5273,60,0,0,0,0,0), +(19714,0,9,5274,60,0,0,0,0,0), +(19714,0,9,5271,60,0,0,0,0,0), +(19714,0,9,5275,60,0,0,0,0,0), +(19714,0,10,30461,600000,0,6947.48,-859.518,1147.6,5.67487); +UPDATE `gameobject` SET `position_z`=1066.73991 WHERE `guid`=5275; +UPDATE `gameobject` SET `position_z`=1067.04003 WHERE `guid`=5274; + diff --git a/sql/updates/world/master/2021_06_18_01_world_2018_01_28_00_world.sql b/sql/updates/world/master/2021_06_18_01_world_2018_01_28_00_world.sql new file mode 100644 index 000000000..2692c016d --- /dev/null +++ b/sql/updates/world/master/2021_06_18_01_world_2018_01_28_00_world.sql @@ -0,0 +1,17 @@ + +DELETE FROM `smart_scripts` WHERE `entryorguid`=22127 AND `source_type`=0 AND `id` IN(3,4); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `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 +(22127, 0, 3, 4, 62, 0, 100, 0, 8523, 1, 0, 0, 11, 39203, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Wildlord Antelarion - On Gossip Option 1 Selected - Cast \'Create Druid Signal\''), +(22127, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Wildlord Antelarion - On Gossip Option 0 Selected - Close Gossip'); + +DELETE FROM `gossip_menu_option` WHERE `MenuID`=8523 AND `OptionIndex`=1; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(8523, 1, 0, 'Wildlord, I seem to have lost my druid signal.', 20299, 1, 1, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8523 AND `SourceEntry`=1; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 8523, 1, 0, 0, 2, 0, 31763, 1, 0, 1, 0, 0, '', 'Show gossip only if player doesnt have Druid Signal'), +(15, 8523, 1, 0, 0, 9, 0, 10910, 0, 0, 0, 0, 0, '', 'Show gossip if Deaths Door quest taken'), +(15, 8523, 1, 0, 1, 2, 0, 31763, 1, 0, 1, 0, 0, '', 'Show gossip only if player doesnt have Druid Signal'), +(15, 8523, 1, 0, 1, 8, 0, 10910, 0, 0, 0, 0, 0, '', 'Show gossip if deaths door quest rewarded'), +(15, 8523, 1, 0, 1, 8, 0, 10912, 0, 0, 1, 0, 0, '', 'Hide gossip when The Houndmaster quest rewarded'); diff --git a/sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql b/sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql new file mode 100644 index 000000000..280591c87 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql @@ -0,0 +1,14 @@ +DELETE FROM `creature_text` WHERE `CreatureID`=12818; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12818, 0, 0, "Thank you for freeing me. Speak with my sister in Splintertree. I... I must find a place to rest...", 12, 0, 100, 0, 10000, 0, 8265, 0, "Ruul Snowhoof"); + +DELETE FROM `script_waypoint` WHERE `entry`=12818 AND `pointid`>20; +INSERT INTO `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) VALUES +(12818, 21, 3484.2211, -489.7181, 182.391, 0, ""), +(12818, 22, 3454.7424, -476.7681, 170.161, 0, ""), +(12818, 23, 3381.2749, -428.4134, 149.411, 0, ""), +(12818, 24, 3323.4501, -446.5041, 150.590, 0, ""), +(12818, 25, 3302.2722, -485.8791, 153.285, 0, ""), +(12818, 26, 3287.0722, -519.1887, 154.622, 0, ""), +(12818, 27, 3249.5512, -531.9198, 151.633, 5000, "The end"), +(12818, 28, 3249.5512, -531.9198, 151.633, 0, "The end"); diff --git a/sql/updates/world/master/2021_06_19_01_world_2018_01_28_03_world.sql b/sql/updates/world/master/2021_06_19_01_world_2018_01_28_03_world.sql new file mode 100644 index 000000000..a157bb23a --- /dev/null +++ b/sql/updates/world/master/2021_06_19_01_world_2018_01_28_03_world.sql @@ -0,0 +1,7 @@ +DELETE FROM `creature_text` WHERE `CreatureID`=36627 AND `GroupID`=4; +DELETE FROM `creature_text` WHERE `CreatureID`=36899; +INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES +(36899,0,0,'%s grows more unstable!',16,0,0,0,0,0,36950,0,'Big Ooze - EMOTE_UNSTABLE_2'), +(36899,1,0,'%s is growing volatile!',16,0,0,0,0,0,36952,0,'Big Ooze - EMOTE_UNSTABLE_3'), +(36899,2,0,'%s can barely maintain its form!',16,0,0,0,0,0,36956,0,'Big Ooze - EMOTE_UNSTABLE_4'), +(36899,3,0,'|TInterface\\Icons\\spell_shadow_unstableaffliction_2.blp:16|t%s begins to cast |cFFFF0000Unstable Ooze Explosion!|r',41,0,0,0,0,0,37064,0,'Big Ooze - EMOTE_UNSTABLE_EXPLOSION'); diff --git a/sql/updates/world/master/2021_06_19_02_world_2018_01_29_00_world.sql b/sql/updates/world/master/2021_06_19_02_world_2018_01_29_00_world.sql new file mode 100644 index 000000000..2ef44a537 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_02_world_2018_01_29_00_world.sql @@ -0,0 +1,3 @@ +-- +DELETE FROM `spell_custom_attr` WHERE `entry`=60988; +INSERT INTO `spell_custom_attr` (`entry`,`attributes`) VALUES (60988,0x80000); diff --git a/sql/updates/world/master/2021_06_19_03_world_2018_01_30_00_world.sql b/sql/updates/world/master/2021_06_19_03_world_2018_01_30_00_world.sql new file mode 100644 index 000000000..01aeecb9e --- /dev/null +++ b/sql/updates/world/master/2021_06_19_03_world_2018_01_30_00_world.sql @@ -0,0 +1,180 @@ +-- Duplicates -- +DELETE FROM creature WHERE guid IN (130015,129723,130021,129653,129643,129702,129724,130005,129709,129810,129750,129787,130343,130340,130341,130342,130338,130339,129696); +DELETE FROM creature_addon WHERE guid IN (130015,129723,130021,129653,129643,129702,129724,130005,129709,129810,129750,129787,130343,130340,130341,130342,130338,130339,129696); + +-- missing creatures -- +DELETE FROM creature WHERE guid IN (45218); +DELETE FROM creature_addon WHERE guid IN (45218); +INSERT INTO creature (guid, id, modelid, map, spawnDifficulties, phaseId, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, curhealth, curmana, MovementType) VALUES +-- Scarlet Marksman +(45218,28610,0,609,'0',171,1491,-5933,132.781,5.5541,180,5,2614,2117,1); + +-- UPDATES -- +UPDATE creature_template SET inhabittype = 4 WHERE entry IN (28804,29038,28906); +UPDATE creature SET position_x = 2333.83, position_y = -5995.26, position_z = 56.932, spawndist = 10, MovementType = 1 WHERE guid = 130309; +UPDATE creature SET position_x = 1415.26, position_y = -5858.53, position_z = 131.53, spawndist = 10, MovementType = 1 WHERE guid = 130032; +UPDATE creature SET position_x = 1724.94, position_y = -5802.69, position_z = 117.32, spawndist = 5, MovementType = 1 WHERE guid = 129676; +UPDATE creature SET position_x = 1742.46, position_y = -5734.76, position_z = 112.5, spawndist = 10, MovementType = 1 WHERE guid = 130023; +UPDATE creature SET position_x = 1616.89, position_y = -5882.22, position_z = 115.91, spawndist = 10, MovementType = 1 WHERE guid = 129710; +UPDATE creature SET position_x = 1736.884888, position_y = -5929.806641, position_z = 117.481873, orientation = 0.825981, spawndist = 10, MovementType = 1 WHERE guid = 129670; +UPDATE creature SET position_x = 1665.335449, position_y = -5821.938477, position_z = 117.471611, orientation = 3.148665, spawndist = 15, MovementType = 1 WHERE guid = 129725; +UPDATE creature SET position_x = 1768.745728, position_y = -5783.970703, position_z = 116.123192, orientation = 4.962763, spawndist = 15, MovementType = 1 WHERE guid = 129679; +UPDATE creature SET position_x = 1783.516846, position_y = -5807.990723, position_z = 114.257050, orientation = 6.089830, spawndist = 0, MovementType = 0 WHERE guid = 129649; +UPDATE creature SET position_x = 1781.896362, position_y = -5801.923340, position_z = 115.135803, orientation = 5.912445, spawndist = 0, MovementType = 0 WHERE guid = 129648; +UPDATE creature SET position_x = 1812.887573, position_y = -5796.937500, position_z = 116.069069, orientation = 5.765442, spawndist = 0, MovementType = 0 WHERE guid = 130018; +UPDATE creature SET position_x = 1802.113770, position_y = -5800.691406, position_z = 115.556595, orientation = 5.613868, spawndist = 0, MovementType = 0 WHERE guid = 130019; +UPDATE creature SET position_x = 1792.531616, position_y = -5824.551758, position_z = 111.479637, orientation = 6.211735, spawndist = 0, MovementType = 0 WHERE guid = 130022; +UPDATE creature SET position_x = 1791.961548, position_y = -5811.046875, position_z = 111.580521, orientation = 0.091129, spawndist = 0, MovementType = 0 WHERE guid = 130027; +UPDATE creature SET position_x = 1789.263062, position_y = -5803.730957, position_z = 113.554192, orientation = 5.855959, spawndist = 0, MovementType = 0 WHERE guid = 130029; +UPDATE creature SET position_x = 1787.844360, position_y = -5832.341309, position_z = 115.062073, orientation = 0.281136, spawndist = 0, MovementType = 0 WHERE guid = 130033; +UPDATE creature SET position_x = 1579.620850, position_y = -5703.322266, position_z = 121.681549, orientation = 2.945991, spawndist = 0, MovementType = 0 WHERE guid = 129809; +UPDATE creature SET position_x = 1828.536743, position_y = -5918.959473, position_z = 109.820824, orientation = 0.376951, spawndist = 0, MovementType = 0 WHERE guid = 130031; +UPDATE creature SET position_x = 1833.080444, position_y = -5932.240723, position_z = 111.163170, orientation = 0.244101, spawndist = 0, MovementType = 0 WHERE guid = 130030; +UPDATE creature SET position_x = 1825.181641, position_y = -5907.274414, position_z = 115.891685, orientation = 6.098576, spawndist = 0, MovementType = 0 WHERE guid = 130012; +UPDATE creature SET position_x = 1821.618530, position_y = -5916.443848, position_z = 111.221413, orientation = 6.210087, spawndist = 0, MovementType = 0 WHERE guid = 130017; +UPDATE creature SET position_x = 1832.372803, position_y = -5937.548828, position_z = 112.914291, orientation = 0.873289, spawndist = 0, MovementType = 0 WHERE guid = 130016; +UPDATE creature SET position_x = 1825.616577, position_y = -5943.870605, position_z = 115.999161, orientation = 0.734298, spawndist = 0, MovementType = 0 WHERE guid = 129645; +UPDATE creature SET position_x = 1825.279663, position_y = -5936.830566, position_z = 113.658310, orientation = 0.573291, spawndist = 0, MovementType = 0 WHERE guid = 129641; +UPDATE creature SET position_x = 1813.636719, position_y = -5922.254883, position_z = 114.224655, orientation = 6.276883, spawndist = 0, MovementType = 0 WHERE guid = 129642; +UPDATE creature SET position_x = 1808.542114, position_y = -5915.114258, position_z = 115.840347, orientation = 6.127660, spawndist = 0, MovementType = 0 WHERE guid = 129650; +UPDATE creature SET spawndist = 10, MovementType = 1 WHERE guid = 129681; +UPDATE creature SET spawndist = 0, MovementType = 0 WHERE guid IN (129992,129813); +UPDATE creature SET spawndist = 0, MovementType = 0 WHERE id IN (29038); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (29030,29031); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (29030,29031) 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 +(29030, 0, 0, 1, 1, 0, 100, 0, 2000, 5000, 5000, 9000, 11, 52953, 0, 0, 0, 0, 0, 19, 29038, 40, 0, 0, 0, 0, 0, "Death Knight - Ooc - Cast 'Torch'"), +(29030, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 67, 1, 1000, 1000, 0, 0, 100, 1, 0, 0, 0, 0, 0, 0, 0, "Death Knight - Ooc - create event1"), +(29030, 0, 2, 0, 59, 0, 100, 0, 1, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Death Knight - On event1 - play emote cheers"), +(29031, 0, 0, 1, 1, 0, 100, 0, 2000, 5000, 5000, 9000, 11, 52953, 0, 0, 0, 0, 0, 19, 29038, 40, 0, 0, 0, 0, 0, "Death Knight - Ooc - Cast 'Torch'"), +(29031, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 67, 1, 1000, 1000, 0, 0, 100, 1, 0, 0, 0, 0, 0, 0, 0, "Death Knight - Ooc - create event1"), +(29031, 0, 2, 0, 59, 0, 100, 0, 1, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Death Knight - On event1 - play emote cheers"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=52953; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,52953,0,0,31,0,3,29038,0,0,0,0,'',"'Death Knight' must cast spell on '[Chapter II] Torch Toss Dummy"); +UPDATE smart_scripts SET `event_type`=1, `event_flags`=0, `event_param3`=13000, `event_param4`=15000 WHERE `entryorguid`=29038 AND `source_type`=0 AND `id`=0; + +-- Scarlet Commander +UPDATE `creature_addon` SET `mount`=2404, `auras`="48356" WHERE `guid` IN (129639, 129654, 129657, 129640); +UPDATE `creature_template_addon` SET `auras`="48356" WHERE `entry` = 28936; + +-- New Avalon Councilman +DELETE FROM `creature_addon` WHERE `guid` IN (129808,129809,129811,129812); + +-- Scarlet Crusader +UPDATE `creature_addon` SET `auras` = '48356' WHERE `guid` IN (129688,129698,129700,129701,129703,129705,129706,129707,129708,129713,129716,129718,129720,129721); +UPDATE `creature_addon` SET `auras` = '48356 52103' WHERE `guid` IN (129722,129726,130014,130009); + +-- Scarlet Marksman +UPDATE creature_addon SET auras = "" WHERE guid IN (130007,130010,130012,130018,130030); + +-- Scarlet Captain -- phase 1 +UPDATE `creature_addon` SET `mount`=2404, `auras`="48356", `bytes2`=1 WHERE guid IN (129292,129296,129297,129299,129300,129301,129302,129303); +UPDATE `creature_template_addon` SET `auras`="48356" WHERE `entry` = 28611; + +-- Citizen of New Avalon -- 28941 28942 +DELETE FROM creature_addon WHERE guid IN (129730, 129749, 129760, 129761, 129764, 129770, 129786, 129805, 129753, 129791); +INSERT INTO creature_addon (guid, mount, bytes1, bytes2, auras) VALUES +(129753,0,0,1,'52742'), -- individual +(129791,0,0,1,'52742'); -- individual + +-- Citizen of New Avalon +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (28941,28942); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (28941,28942) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2894100,2894101) 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 +(28941, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 87, 2894100, 2894101, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - On aggro - Random action list"), +(28942, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 87, 2894100, 2894101, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - On aggro - Random action list"), +(2894100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 52262, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - On aggro - cast"), +(2894100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - On aggro - say text0"), +(2894101, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 52716, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - On aggro - cast"), +(2894101, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - On aggro - say text1"), +(28941, 0, 1, 0, 1, 0, 10, 0, 5000, 20000, 15000, 20000, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - Ooc - say text 2"), +(28942, 0, 1, 0, 1, 0, 10, 0, 5000, 20000, 15000, 20000, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - Ooc - say text 2"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN (28941,28942); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,2,28941,0,0,23,1,4346,0,0,0,0,0,'',"Citizen of New Avalon ooc sai only on area 4346"), +(22,2,28942,0,0,23,1,4346,0,0,0,0,0,'',"Citizen of New Avalon ooc sai only on area 4346"); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (28941,28942); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(28941,0,0,"Ask for anything and you shall have it! Just spare my life!",12,0,100,0,0,0,29088,0,"Citizen of New Avalon"), +(28941,0,1,"HELP! HELP!",12,0,100,0,0,0,29074,0,"Citizen of New Avalon"), +(28941,0,2,"I'll give you anything you want! Just let me live!",12,0,100,0,0,0,29087,0,"Citizen of New Avalon"), +(28941,0,3,"I'm too young to die!",12,0,100,0,0,0,29086,0,"Citizen of New Avalon"), +(28941,0,4,"RUN FOR YOUR LIVES!",12,0,100,0,0,0,29072,0,"Citizen of New Avalon"), +(28941,0,5,"SCOURGE!!! RUN!!!",12,0,100,0,0,0,29075,0,"Citizen of New Avalon"), +(28941,0,6,"Somebody save me!",12,0,100,0,0,0,29078,0,"Citizen of New Avalon"), +(28941,0,7,"Spare my life, $n! Please!",12,0,100,0,0,0,29076,0,"Citizen of New Avalon"), +(28941,0,8,"The Scourge has broken through! RUN AWAY! RUN AWAY!",12,0,100,0,0,0,29073,0,"Citizen of New Avalon"), +(28941,0,9,"The... They promised that we'd be safe...",12,0,100,0,0,0,29085,0,"Citizen of New Avalon"), +(28941,0,10,"Is nowhere safe from these monsters?",12,0,100,0,0,0,29077,0,"Citizen of New Avalon"), +(28941,0,11,"We're all gonna die!!!",12,0,100,0,0,0,29079,0,"Citizen of New Avalon"), +(28941,0,12,"Filthy coward! Get it over with...",12,0,100,0,0,0,29089,0,"Citizen of New Avalon"), +(28941,0,13,"Scourge scum... May the Light purge you from this world!",12,0,100,0,0,0,29090,0,"Citizen of New Avalon"), +(28941,1,0,"Come then, $c!",12,0,100,0,0,0,28790,0,"Citizen of New Avalon"), +(28941,1,1,"Die Scourge dog! DIE!",12,0,100,0,0,0,28789,0,"Citizen of New Avalon"), +(28941,1,2,"DIE!",12,0,100,0,0,0,28793,0,"Citizen of New Avalon"), +(28941,1,3,"I won't go down that easy!",12,0,100,0,0,0,28788,0,"Citizen of New Avalon"), +(28941,1,4,"Is this the best the Scourge can do?",12,0,100,0,0,0,28791,0,"Citizen of New Avalon"), +(28941,1,5,"You may take my life, but you won't take my freedom!",12,0,100,0,0,0,28792,0,"Citizen of New Avalon"), +(28941,1,6,"You're not taking me without a fight!",12,0,100,0,0,0,28787,0,"Citizen of New Avalon"), +(28941,2,0,"I assure you this much, Quimby, you won't be getting my vote next term!",12,0,100,0,0,0,29109,0,"Citizen of New Avalon"), +(28941,2,1,"I want on that last ship! Don't leave us!",12,0,100,0,0,0,29113,0,"Citizen of New Avalon"), +(28941,2,2,"If you don't come out, we'll tear this place apart!",12,0,100,0,0,0,29105,0,"Citizen of New Avalon"), +(28941,2,3,"My whole family's been killed! Where was the army when we needed them most?",12,0,100,0,0,0,29100,0,"Citizen of New Avalon"), +(28941,2,4,"Naxxramas is gone? Who cares! Acherus is here now and the death knights are killing everybody!",12,0,100,0,0,0,29108,0,"Citizen of New Avalon"), +(28941,2,5,"No more lies, Quimby! We want answers!",12,0,100,0,0,0,29102,0,"Citizen of New Avalon"), +(28941,2,6,"QUIMBY!!!!!!",12,0,100,0,0,0,29115,0,"Citizen of New Avalon"), +(28941,2,7,"So much for the Scarlet 'paradise!'",12,0,100,0,0,0,29114,0,"Citizen of New Avalon"), +(28941,2,8,"The Scourge are running freely through the streets!",12,0,100,0,0,0,29099,0,"Citizen of New Avalon"), +(28941,2,9,"This is a slap in the face! We demand answers!",12,0,100,0,0,0,29111,0,"Citizen of New Avalon"), +(28941,2,10,"We were promised safety! Security!",12,0,100,0,0,0,29098,0,"Citizen of New Avalon"), +(28941,2,11,"We're done for! Save us, Quimby!",12,0,100,0,0,0,29104,0,"Citizen of New Avalon"), +(28941,2,12,"What's 'Crimson Dawn!' We deserve to know the truth, Quimby!",12,0,100,0,0,0,29107,0,"Citizen of New Avalon"), +(28941,2,13,"Where are those ships going, Quimby! Tell us the truth!",12,0,100,0,0,0,29103,0,"Citizen of New Avalon"), +(28941,2,14,"You're useless, Quimby!",12,0,100,0,0,0,29110,0,"Citizen of New Avalon"), +(28941,2,15,"Everybody is dying! Help us!",12,0,100,0,0,0,29106,0,"Citizen of New Avalon"), +(28942,0,0,"Ask for anything and you shall have it! Just spare my life!",12,0,100,0,0,0,29088,0,"Citizen of New Avalon"), +(28942,0,1,"HELP! HELP!",12,0,100,0,0,0,29074,0,"Citizen of New Avalon"), +(28942,0,2,"I'll give you anything you want! Just let me live!",12,0,100,0,0,0,29087,0,"Citizen of New Avalon"), +(28942,0,3,"I'm too young to die!",12,0,100,0,0,0,29086,0,"Citizen of New Avalon"), +(28942,0,4,"RUN FOR YOUR LIVES!",12,0,100,0,0,0,29072,0,"Citizen of New Avalon"), +(28942,0,5,"SCOURGE!!! RUN!!!",12,0,100,0,0,0,29075,0,"Citizen of New Avalon"), +(28942,0,6,"Somebody save me!",12,0,100,0,0,0,29078,0,"Citizen of New Avalon"), +(28942,0,7,"Spare my life, $n! Please!",12,0,100,0,0,0,29076,0,"Citizen of New Avalon"), +(28942,0,8,"The Scourge has broken through! RUN AWAY! RUN AWAY!",12,0,100,0,0,0,29073,0,"Citizen of New Avalon"), +(28942,0,9,"The... They promised that we'd be safe...",12,0,100,0,0,0,29085,0,"Citizen of New Avalon"), +(28942,0,10,"Is nowhere safe from these monsters?",12,0,100,0,0,0,29077,0,"Citizen of New Avalon"), +(28942,0,11,"We're all gonna die!!!",12,0,100,0,0,0,29079,0,"Citizen of New Avalon"), +(28942,0,12,"Filthy coward! Get it over with...",12,0,100,0,0,0,29089,0,"Citizen of New Avalon"), +(28942,0,13,"Scourge scum... May the Light purge you from this world!",12,0,100,0,0,0,29090,0,"Citizen of New Avalon"), +(28942,1,0,"Come then, $c!",12,0,100,0,0,0,28790,0,"Citizen of New Avalon"), +(28942,1,1,"Die Scourge dog! DIE!",12,0,100,0,0,0,28789,0,"Citizen of New Avalon"), +(28942,1,2,"DIE!",12,0,100,0,0,0,28793,0,"Citizen of New Avalon"), +(28942,1,3,"I won't go down that easy!",12,0,100,0,0,0,28788,0,"Citizen of New Avalon"), +(28942,1,4,"Is this the best the Scourge can do?",12,0,100,0,0,0,28791,0,"Citizen of New Avalon"), +(28942,1,5,"You may take my life, but you won't take my freedom!",12,0,100,0,0,0,28792,0,"Citizen of New Avalon"), +(28942,1,6,"You're not taking me without a fight!",12,0,100,0,0,0,28787,0,"Citizen of New Avalon"), +(28942,2,0,"I assure you this much, Quimby, you won't be getting my vote next term!",12,0,100,0,0,0,29109,0,"Citizen of New Avalon"), +(28942,2,1,"I want on that last ship! Don't leave us!",12,0,100,0,0,0,29113,0,"Citizen of New Avalon"), +(28942,2,2,"If you don't come out, we'll tear this place apart!",12,0,100,0,0,0,29105,0,"Citizen of New Avalon"), +(28942,2,3,"My whole family's been killed! Where was the army when we needed them most?",12,0,100,0,0,0,29100,0,"Citizen of New Avalon"), +(28942,2,4,"Naxxramas is gone? Who cares! Acherus is here now and the death knights are killing everybody!",12,0,100,0,0,0,29108,0,"Citizen of New Avalon"), +(28942,2,5,"No more lies, Quimby! We want answers!",12,0,100,0,0,0,29102,0,"Citizen of New Avalon"), +(28942,2,6,"QUIMBY!!!!!!",12,0,100,0,0,0,29115,0,"Citizen of New Avalon"), +(28942,2,7,"So much for the Scarlet 'paradise!'",12,0,100,0,0,0,29114,0,"Citizen of New Avalon"), +(28942,2,8,"The Scourge are running freely through the streets!",12,0,100,0,0,0,29099,0,"Citizen of New Avalon"), +(28942,2,9,"This is a slap in the face! We demand answers!",12,0,100,0,0,0,29111,0,"Citizen of New Avalon"), +(28942,2,10,"We were promised safety! Security!",12,0,100,0,0,0,29098,0,"Citizen of New Avalon"), +(28942,2,11,"We're done for! Save us, Quimby!",12,0,100,0,0,0,29104,0,"Citizen of New Avalon"), +(28942,2,12,"What's 'Crimson Dawn!' We deserve to know the truth, Quimby!",12,0,100,0,0,0,29107,0,"Citizen of New Avalon"), +(28942,2,13,"Where are those ships going, Quimby! Tell us the truth!",12,0,100,0,0,0,29103,0,"Citizen of New Avalon"), +(28942,2,14,"You're useless, Quimby!",12,0,100,0,0,0,29110,0,"Citizen of New Avalon"), +(28942,2,15,"Everybody is dying! Help us!",12,0,100,0,0,0,29106,0,"Citizen of New Avalon"); + +-- Scarlet Miner +UPDATE creature SET spawntimesecs = 60 WHERE id = 28822; diff --git a/sql/updates/world/master/2021_06_19_04_world_2018_02_04_02_world.sql b/sql/updates/world/master/2021_06_19_04_world_2018_02_04_02_world.sql new file mode 100644 index 000000000..014a52c77 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_04_world_2018_02_04_02_world.sql @@ -0,0 +1,55 @@ +-- +DELETE FROM `reference_loot_template` WHERE `entry`=11001; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(11001, 118, 0.5 , 0, 1, 1, 1, 1), +(11001, 159, 0.1 , 0, 1, 1, 1, 1), +(11001, 774, 0.1 , 0, 1, 1, 1, 1), +(11001, 1423, 0.1 , 0, 1, 1, 1, 1), +(11001, 2407, 0.1 , 0, 1, 1, 1, 1), +(11001, 2455, 0.5 , 0, 1, 1, 1, 1), +(11001, 2589, 0.5 , 0, 1, 1, 1, 1), +(11001, 4540, 0.1 , 0, 1, 1, 1, 1), +(11001, 4565, 0.1 , 0, 1, 1, 1, 1), +(11001, 4757, 0.1 , 0, 1, 1, 1, 1), +(11001, 4775, 0.1 , 0, 1, 1, 1, 1), +(11001, 4814, 0.1 , 0, 1, 1, 1, 1), +(11001, 5523, 0.1 , 0, 1, 1, 1, 1), +(11001, 6289, 30 , 0, 1, 1, 1, 1), +(11001, 6291, 36 , 0, 1, 1, 1, 1), +(11001, 6292, 0.5 , 0, 1, 1, 1, 1), +(11001, 6294, 0.5 , 0, 1, 1, 1, 1), +(11001, 6295, 0.1 , 0, 1, 1, 1, 1), +(11001, 6303, 15 , 0, 1, 1, 1, 1), +(11001, 6308, 0.5 , 0, 1, 1, 1, 1), +(11001, 6356, 2 , 0, 1, 1, 1, 1), +(11001, 6358, 0.1 , 0, 1, 1, 1, 1), +(11001, 6361, 0.1 , 0, 1, 1, 1, 1), +(11001, 6643, 0.1 , 0, 1, 1, 1, 1), +(11001, 6889, 0.1 , 0, 1, 1, 1, 1), +(11001, 7096, 0.1 , 0, 1, 1, 1, 1), +(11001, 7097, 0.1 , 0, 1, 1, 1, 1), +(11001, 20812, 0.1, 0, 1, 1, 1, 1), +(11001, 20813, 0.1, 0, 1, 1, 1, 1), +(11001, 20847, 0.1, 0, 1, 1, 1, 1), +(11001, 20848, 0.1, 0, 1, 1, 1, 1), +(11001, 21002, 0.1, 0, 1, 1, 1, 1), +(11001, 21004, 0.1, 0, 1, 1, 1, 1), +(11001, 21006, 0.1, 0, 1, 1, 1, 1), +(11001, 21008, 0.1, 0, 1, 1, 1, 1), +(11001, 21009, 0.1, 0, 1, 1, 1, 1), +(11001, 21011, 0.1, 0, 1, 1, 1, 1), +(11001, 21013, 0.1, 0, 1, 1, 1, 1), +(11001, 21014, 0.1, 0, 1, 1, 1, 1), +(11001, 21019, 0.1, 0, 1, 1, 1, 1), +(11001, 23333, 0.1, 0, 1, 1, 1, 1), +(11001, 27668, 0.1, 0, 1, 1, 1, 1), +(11001, 45190, 2 , 0, 1, 1, 1, 1), +(11001, 45194, 2 , 0, 1, 1, 1, 1), +(11001, 45195, 0.1, 0, 1, 1, 1, 1), +(11001, 45196, 2 , 0, 1, 1, 1, 1), +(11001, 45197, 0.1, 0, 1, 1, 1, 1), +(11001, 45198, 2 , 0, 1, 1, 1, 1), +(11001, 45199, 0.1, 0, 1, 1, 1, 1), +(11001, 45200, 2 , 0, 1, 1, 1, 1), +(11001, 45201, 0.1, 0, 1, 1, 1, 1), +(11001, 45202, 0.1, 0, 1, 1, 1, 1); diff --git a/sql/updates/world/master/2021_06_19_05_world_2018_02_08_00_world_335.sql b/sql/updates/world/master/2021_06_19_05_world_2018_02_08_00_world_335.sql new file mode 100644 index 000000000..7fa291e24 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_05_world_2018_02_08_00_world_335.sql @@ -0,0 +1,16 @@ +-- Remove unique items from reference table 24060, as well as removing Agile Boots (4788) which is sold only and does not drop +DELETE FROM `reference_loot_template` WHERE `Entry`=24060 AND `Item` IN (1218, 1220, 1296, 1300, 1448, 1460, 1934, 2021, 2166, 2167, 2168, 3018, 3227, 4788, 4949, 5182, 5183); + +-- Add former items from reference table 24060 to their proper NPCs, as well as removing 4788 which is sold only and does not drop +DELETE FROM `creature_loot_template` WHERE `Item` IN (1218, 1220, 1296, 1300, 1448, 1460, 1934, 2021, 2166, 2167, 2168, 3018, 3227, 4788, 4949, 5182, 5183); +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Chance`,`GroupId`,`Comment`) VALUES +(580, 1220, 0.1, 0, "Redridge Drudger - Lupine Axe"), +(437, 1296, 0.1, 0, "Blackrock Renegade - Blackrock Mace"), +(4065, 1296, 0.1, 0, "Blackrock Sentry - Blackrock Mace"), +(485, 1448, 0.1, 0, "Blackrock Outrunner - Blackrock Gauntlets"), +(626, 2166, 2, 2, "Foreman Thistlenettle - Foreman's Leggings"), +(626, 2167, 2, 2, "Foreman Thistlenettle - Foreman's Gloves"), +(626, 2168, 2, 2, "Foreman Thistlenettle - Corpse Rompers"), +(7170, 4949, 100, 0, "Thragomm - Orcish Cleaver"), +(3398, 5182, 2, 2, "Gesharahan - Shiver Blade"), +(3398, 5183, 2, 2, "Gesharahan - Pulsating Hydra Heart"); diff --git a/sql/updates/world/master/2021_06_19_06_world_2018_02_08_01_world_335.sql b/sql/updates/world/master/2021_06_19_06_world_2018_02_08_01_world_335.sql new file mode 100644 index 000000000..40a1c3f0c --- /dev/null +++ b/sql/updates/world/master/2021_06_19_06_world_2018_02_08_01_world_335.sql @@ -0,0 +1,82 @@ +-- Ragged Timber Wolf +DELETE FROM `creature_loot_template` WHERE `Entry`=704; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(704, 750, 0, 100, 1, 1, 0, 1, 1, "Tough Wolf Meat (quest)"), +(704, 4865, 0, 20, 0, 1, 1, 1, 2, "Ruined Pelt"), +(704, 3300, 0, 30, 0, 1, 1, 1, 2, "Rabbit's Foot"), +(704, 7074, 0, 20, 0, 1, 1, 1, 2, "Chipped Claw"), +(704, 7073, 0, 30, 0, 1, 1, 1, 2, "Broken Fang"), +(704, 24073, 24073, 1, 0, 1, 0, 1, 1, "Junk"), +(704, 11111, 11111, 0.1, 0, 1, 0, 1, 1, "Bags"); + +-- Ragged Young Wolf +DELETE FROM `creature_loot_template` WHERE `Entry`=705; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(705, 750, 0, 100, 1, 1, 0, 1, 1, "Tough Wolf Meat (quest)"), +(705, 4865, 0, 20, 0, 1, 1, 1, 2, "Ruined Pelt"), +(705, 3300, 0, 30, 0, 1, 1, 1, 2, "Rabbit's Foot"), +(705, 7074, 0, 20, 0, 1, 1, 1, 2, "Chipped Claw"), +(705, 7073, 0, 30, 0, 1, 1, 1, 2, "Broken Fang"), +(705, 24073, 24073, 1, 0, 1, 0, 1, 1, "Junk"), +(705, 11111, 11111, 0.1, 0, 1, 0, 1, 1, "Bags"); + +-- Frostmane Troll Whelp +DELETE FROM `creature_loot_template` WHERE `Entry`=706; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(706, 117, 0, 15, 0, 1, 0, 1, 1, "Tough Jerky"), +(706, 159, 0, 10, 0, 1, 0, 1, 1, "Refreshing Spring Water"), +(706, 2108, 0, 1, 0, 1, 0, 1, 1, "Frostmane Leather Vest (unique)"), +(706, 24073, 24073, 5, 0, 1, 0, 1, 1, "Junk"), +(706, 11111, 11111, 0.5, 0, 1, 0, 1, 1, "Bags"); + +-- Rockjaw Trogg +DELETE FROM `creature_loot_template` WHERE `Entry`=707; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(707, 117, 0, 15, 0, 1, 0, 1, 1, "Tough Jerky"), +(707, 159, 0, 10, 0, 1, 0, 1, 1, "Refreshing Spring Water"), +(707, 24073, 24073, 5, 0, 1, 0, 1, 1, "Junk"), +(707, 11111, 11111, 0.5, 0, 1, 0, 1, 1, "Bags"); + +-- Small Crag Boar +DELETE FROM `creature_loot_template` WHERE `Entry`=708; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(708, 49747, 0, 100, 0, 1, 0, 1, 1, "Boar Haunch"), +(708, 117, 0, 30, 0, 1, 0, 1, 2, "Tough Jerky"), +(708, 771, 0, 30, 0, 1, 1, 1, 2, "Chipped Boar Tusk"), +(708, 4865, 0, 35, 0, 1, 1, 1, 2, "Ruined Pelt"), +(708, 7098, 0, 35, 0, 1, 1, 1, 2, "Splintered Tusk"), +(708, 24073, 24073, 2, 0, 1, 0, 1, 1, "Junk"), +(708, 11111, 11111, 0.1, 0, 1, 0, 1, 1, "Bags"); + +-- Burly Rockjaw Trogg +DELETE FROM `creature_loot_template` WHERE `Entry`=724; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(724, 117, 0, 15, 0, 1, 0, 1, 1, "Tough Jerky"), +(724, 159, 0, 10, 0, 1, 0, 1, 1, "Refreshing Spring Water"), +(724, 2787, 0, 1, 0, 1, 0, 1, 1, "Trogg Dagger (unique)"), +(724, 24073, 24073, 5, 0, 1, 0, 1, 1, "Junk"), +(724, 11111, 11111, 0.1, 0, 1, 0, 1, 1, "Bags"); + +-- Grik'nir the Cold +DELETE FROM `creature_loot_template` WHERE `Entry`=808; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(808, 117, 0, 15, 0, 1, 0, 1, 1, "Tough Jerky"), +(808, 159, 0, 10, 0, 1, 0, 1, 1, "Refreshing Spring Water"), +(808, 2004, 0, 100, 1, 1, 0, 1, 1, "Grelin Whitebeard's Journal (quest)"), +(808, 11111, 11111, 1, 0, 1, 0, 1, 1, "Bags"); + +-- Frostmane Novice +DELETE FROM `creature_loot_template` WHERE `Entry`=946; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(946, 117, 0, 15, 0, 1, 0, 1, 1, "Tough Jerky"), +(946, 159, 0, 10, 0, 1, 0, 1, 1, "Refreshing Spring Water"), +(946, 11111, 11111, 0.1, 0, 1, 0, 1, 1, "Bags"); + +-- Rockjaw Raider +DELETE FROM `creature_loot_template` WHERE `Entry`=1718; +INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES +(1718, 117, 0, 15, 0, 1, 0, 1, 1, "Tough Jerky"), +(1718, 159, 0, 10, 0, 1, 0, 1, 1, "Refreshing Spring Water"), +(1718, 2054, 0, 1, 0, 1, 0, 1, 1, "Trogg Hand Axe (unique)"), +(1718, 24073, 24073, 5, 0, 1, 0, 1, 1, "Junk"), +(1718, 11111, 11111, 0.1, 0, 1, 0, 1, 1, "Bags"); diff --git a/sql/updates/world/master/2021_06_19_07_world_2018_02_08_02_world_335.sql b/sql/updates/world/master/2021_06_19_07_world_2018_02_08_02_world_335.sql new file mode 100644 index 000000000..61a8fa303 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_07_world_2018_02_08_02_world_335.sql @@ -0,0 +1,14 @@ +-- Remove unique items from reference table 24062 +DELETE FROM `reference_loot_template` WHERE `Entry`=24062 AND `Item` IN (880, 1299, 1457, 1458, 2175, 1462, 1461, 1459, 3018, 3227); + +-- Add former items from reference table 24062 to their proper NPCs +DELETE FROM `creature_loot_template` WHERE `Item` IN (880, 1299, 1457, 1458, 2175, 1462, 1461, 1459); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `Comment`) VALUES +(202, 880, 0.1, 0, "Rotting Horror - Staff of Horrors"), +(436, 1299, 0.1, 0, "Blackrock Shadowcaster - Lesser Belt of the Spire"), +(433, 1457, 0.1, 0, "Shadowhide Gnoll - Shadowhide Mace"), +(432, 1458, 0.1, 0, "Shadowhide Brute - Shadowhide Maul"), +(568, 2175, 0.1, 0, "Shadowhide Warrior - Shadowhide Battle Axe"), +(429, 1462, 0.1, 0, "Shadowhide Darkweaver - Ring of the Shadow"), +(431, 1461, 0.1, 0, "Shadowhide Slayer - Slayer's Battle Axe"), +(579, 1459, 0.1, 0, "Shadowhide Assassin - Shadowhide Scalper"); diff --git a/sql/updates/world/master/2021_06_19_08_world_2018_02_08_03_world_335.sql b/sql/updates/world/master/2021_06_19_08_world_2018_02_08_03_world_335.sql new file mode 100644 index 000000000..e1fecf17a --- /dev/null +++ b/sql/updates/world/master/2021_06_19_08_world_2018_02_08_03_world_335.sql @@ -0,0 +1,42 @@ +-- Create new reference loot template for Shadowfang Keep +SET @ENTRY := 1055; -- need a new id + +DELETE FROM `reference_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `Comment`) VALUES +(@ENTRY, 1318, 0, 1, "Night Reaver"), +(@ENTRY, 1482, 0, 1, "Shadowfang"), +(@ENTRY, 1483, 0, 1, "Face Smasher"), +(@ENTRY, 1484, 0, 1, "Witching Stave"), +(@ENTRY, 1489, 0, 1, "Gloomshroud Armor"), +(@ENTRY, 1935, 0, 1, "Assassin's Blade"), +(@ENTRY, 1974, 0, 1, "Mindthrust Bracers"), +(@ENTRY, 2205, 0, 1, "Duskbringer"), +(@ENTRY, 2292, 0, 1, "Necrology Robes"), +(@ENTRY, 2807, 0, 1, "Guillotine Axe"), +(@ENTRY, 3194, 0, 1, "Black Malice"); + +-- Remove all SFK exclusive items from direct drops from NPCs +DELETE FROM `creature_loot_template` WHERE `Item` IN +(1318, 1482, 1483, 1484, 1489, 1935, 1974, 2205, 2292, 2807, 3194); + +-- Add SFK reference template for non-boss NPCs +DELETE FROM `creature_loot_template` WHERE `Reference` = @ENTRY; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Comment`) VALUES +(3870, @ENTRY, @ENTRY, 0.1, "Stone Sleeper - SFK Rares"), +(3873, @ENTRY, @ENTRY, 0.1, "Tormented Officer - SFK Rares"), +(3875, @ENTRY, @ENTRY, 0.1, "Haunted Servitor - SFK Rares"), +(3877, @ENTRY, @ENTRY, 0.1, "Wailing Guardsman - SFK Rares"), +(47131, @ENTRY, @ENTRY, 0.1, "Frantic Geist - SFK Rares"), +(47132, @ENTRY, @ENTRY, 0.1, "Dark Creeper - SFK Rares"), +(47134, @ENTRY, @ENTRY, 0.1, "Corpse Eater - SFK Rares"), +(47135, @ENTRY, @ENTRY, 0.1, "Fetid Ghoul - SFK Rares"), +(47136, @ENTRY, @ENTRY, 0.1, "Unstable Ravager - SFK Rares"), +(47137, @ENTRY, @ENTRY, 0.1, "Mindless Horror - SFK Rares"), +(47138, @ENTRY, @ENTRY, 0.1, "Pustulant Monstrosity - SFK Rares"), +(47140, @ENTRY, @ENTRY, 0.1, "Sorcerous Skeleton - SFK Rares"), +(47141, @ENTRY, @ENTRY, 0.1, "Dread Scryer - SFK Rares"), +(47143, @ENTRY, @ENTRY, 0.1, "Spitebone Skeleton - SFK Rares"), +(47145, @ENTRY, @ENTRY, 0.1, "Spitebone Guardian - SFK Rares"), +(47146, @ENTRY, @ENTRY, 0.1, "Spitebone Flayer - SFK Rares"), +(47231, @ENTRY, @ENTRY, 0.1, "Shadowy Attendant - SFK Rares"), +(47232, @ENTRY, @ENTRY, 0.1, "Ghostly Cook - SFK Rares"); diff --git a/sql/updates/world/master/2021_06_19_09_world_2018_02_08_05_world_335.sql b/sql/updates/world/master/2021_06_19_09_world_2018_02_08_05_world_335.sql new file mode 100644 index 000000000..07134fb59 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_09_world_2018_02_08_05_world_335.sql @@ -0,0 +1,6 @@ +-- BreadCrumb Quest "Tran'rek" +UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=2865; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry` IN (2864,2865); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19,0,2864,0,0,14,0,2865,0,0,0,0,0,"","Quest 'Tran'rek' can only be taken if quest 'Scarab Shells' is not taken"), +(19,0,2865,0,0,28,0,2864,0,0,1,0,0,"","Quest 'Scarab Shells' can only be taken if quest 'Tran'rek' is not completed"); diff --git a/sql/updates/world/master/2021_06_19_10_world_2018_02_08_06_world_335.sql b/sql/updates/world/master/2021_06_19_10_world_2018_02_08_06_world_335.sql new file mode 100644 index 000000000..4714d0f5e --- /dev/null +++ b/sql/updates/world/master/2021_06_19_10_world_2018_02_08_06_world_335.sql @@ -0,0 +1,219 @@ +-- Quest "A Threat in Feralas" +DELETE FROM `quest_details` WHERE `ID`=2981; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2981,1,1,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2981; + +-- Quest "The Ogres of Feralas" +DELETE FROM `quest_details` WHERE `ID`=2975; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2975,5,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=2975; + +-- Quest "The Ogres of Feralas (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=2980; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2980,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=2980; + +-- Quest "The Gordunni Scroll" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2978; + +-- Quest "Dark Ceremony" +DELETE FROM `quest_details` WHERE `ID`=2979; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2979,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=2979; + +-- Quest "The Gordunni Orb" +DELETE FROM `quest_details` WHERE `ID`=3002; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3002,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=3002; +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=3002; + +-- Quest "A New Cloak's Sheen" +DELETE FROM `quest_details` WHERE `ID`=2973; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2973,2,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=1, `EmoteOnIncomplete`=1 WHERE `ID`=2973; +UPDATE `quest_offer_reward` SET `Emote1`=11 WHERE `ID`=2973; + +-- Quest "A Grim Discovery" +DELETE FROM `quest_details` WHERE `ID`=2974; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2974,5,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=1, `EmoteOnIncomplete`=1 WHERE `ID`=2974; + +-- Quest "A Grim Discovery (Part 2)" +DELETE FROM `quest_details` WHERE `ID`=2976; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2976,5,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=2976; + +-- Quest "A Strange Request" +DELETE FROM `quest_details` WHERE `ID`=3121; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3121,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3121; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3121; + +-- Quest "Return to Witch Doctor Uzer'i" +DELETE FROM `quest_details` WHERE `ID`=3122; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3122,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3122; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3122; + +-- Quest "Natural Materials" +DELETE FROM `quest_details` WHERE `ID`=3128; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3128,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3128; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=3128; + +-- Quest "War on the Woodpaw" +DELETE FROM `quest_details` WHERE `ID`=2862; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2862,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=5, `EmoteOnIncomplete`=5 WHERE `ID`=2862; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=2862; + +-- Quest "Alpha Strike" +DELETE FROM `quest_details` WHERE `ID`=2863; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2863,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=2863; + +-- Quest "Woodpaw Investigation" +DELETE FROM `quest_details` WHERE `ID`=2902; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2902,1,1,0,0,0,0,0,0,0); + +-- Quest "The Battle Plans" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=2903; + +-- Quest "Stinglasher" +DELETE FROM `quest_details` WHERE `ID`=7731; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7731,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=7731; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7731; + +-- Quest "Zukk'ash Infestation" +DELETE FROM `quest_details` WHERE `ID`=7730; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7730,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=7730; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=7730; + +-- Quest "Zukk'ash Report" +DELETE FROM `quest_details` WHERE `ID`=7732; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7732,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=7732; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=7732; + +-- Quest "The Mark of Quality" +DELETE FROM `quest_details` WHERE `ID`=2822; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(2822,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=2822; +UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=2822; + +-- Quest "Gordunni Cobalt" +UPDATE `quest_request_items` SET `EmoteOnComplete`=5, `EmoteOnIncomplete`=5 WHERE `ID`=2987; + +-- Quest "Testing the Vessel" +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3123; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3123; + +-- Quest "Hippogryph Muisek" +DELETE FROM `quest_details` WHERE `ID`=3124; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3124,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=3124; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3124; + +-- Quest "Faerie Dragon Muisek" +DELETE FROM `quest_details` WHERE `ID`=3125; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3125,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=3125; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3125; + +-- Quest "Treant Muisek" +DELETE FROM `quest_details` WHERE `ID`=3126; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3126,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=3126; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=3126; + +-- Quest "Mountain Giant Muisek" +DELETE FROM `quest_details` WHERE `ID`=3127; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3127,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=6, `EmoteOnIncomplete`=6 WHERE `ID`=3127; +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=4 WHERE `ID`=3127; + +-- Quest "Weapons of Spirit" +DELETE FROM `quest_details` WHERE `ID`=3129; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3129,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=4 WHERE `ID`=3129; + +-- Quest "Dark Heart" +DELETE FROM `quest_details` WHERE `ID`=3062; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3062,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3062; +UPDATE `quest_offer_reward` SET `Emote1`=2, `EmoteDelay1`=1000 WHERE `ID`=3062; + +-- Quest "Vengeance on the Northspring" +DELETE FROM `quest_details` WHERE `ID`=3063; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(3063,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=3063; + +-- Quest "The Strength of Corruption" +DELETE FROM `quest_details` WHERE `ID`=4120; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(4120,1,0,0,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=4120; + +-- Quest "Improved Quality" +DELETE FROM `quest_details` WHERE `ID`=7734; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7734,1,0,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=7734; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7734; + +-- Quest "Perfect Yeti Hide" +UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=7738; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=7738; + +-- Quest "Zapped Giants" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=7003; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=7003; + +-- Quest "Again With the Zapped Giants" +DELETE FROM `quest_details` WHERE `ID`=7725; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7725,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=7725; +UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=7725; + +-- Quest "Fuel for the Zapping" +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=7721; + +-- Quest "Refuel for the Zapping" +DELETE FROM `quest_details` WHERE `ID`=7726; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7726,1,1,0,0,0,0,0,0,0); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=7726; + +-- Quest "Elven Legends" +DELETE FROM `quest_details` WHERE `ID`=7481; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(7481,1,1,1,0,0,0,0,0,0); +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=6 WHERE `ID`=7481; diff --git a/sql/updates/world/master/2021_06_19_11_world_2018_02_08_07_world_335.sql b/sql/updates/world/master/2021_06_19_11_world_2018_02_08_07_world_335.sql new file mode 100644 index 000000000..626f2983e --- /dev/null +++ b/sql/updates/world/master/2021_06_19_11_world_2018_02_08_07_world_335.sql @@ -0,0 +1,33 @@ +-- Witch Doctor Uzer'i +DELETE FROM `creature_text` WHERE `CreatureID`=8115 AND `GroupID` IN (2,3); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(8115,2,0,"%s gathers the materials together and begins to work.",16,0,100,0,0,0,4175,0,"Witch Doctor Uzer'i"), +(8115,3,0,"I have completed the weapons, $n.",12,0,100,1,0,0,4176,0,"Witch Doctor Uzer'i"); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=8115; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=8115 AND `source_type`=0 AND `id` IN (1,2,3); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (811501,811502,811503) 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 +(8115,0,1,0,19,0,100,0,25391,0,0,0,80,811501,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Quest 'Weapons of Spirit' Taken - Run Script"), +(8115,0,2,0,40,0,100,0,3,8115,0,0,80,811502,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Waypoint 3 Reached - Run Script"), +(8115,0,3,0,40,0,100,0,6,8115,0,0,80,811503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Waypoint 6 Reached - Run Script"), +(811501,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,"Witch Doctor Uzer'i - On Script - Remove Npc Flag Questgiver+Gossip"), +(811501,9,1,0,0,0,100,0,1000,1000,0,0,53,1,8115,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Script - Start Waypoint"), +(811502,9,0,0,0,0,100,0,0,0,0,0,54,16000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Script - Pause Waypoint"), +(811502,9,1,0,0,0,100,0,500,500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.75709,"Witch Doctor Uzer'i - On Script - Set Orientation"), +(811502,9,2,0,0,0,100,0,1000,1000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Script - Set Flag Standstate Kneel"), +(811502,9,3,0,0,0,100,0,0,0,0,0,1,2,0,0,0,0,0,7,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Script - Say Line 2"), +(811502,9,4,0,0,0,100,0,13000,13000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Script - Remove Flag Standstate Kneel"), +(811503,9,0,0,0,0,100,0,500,500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.72984,"Witch Doctor Uzer'i - On Script - Set Orientation"), +(811503,9,1,0,0,0,100,0,0,0,0,0,1,3,0,0,0,0,0,7,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Script - Say Line 3"), +(811503,9,2,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witch Doctor Uzer'i - On Script - Add Npc Flag Questgiver+Gossip"); + +DELETE FROM `waypoints` WHERE `entry`=8115; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(8115,1,-4375.1,259.339,26.584,""), +(8115,2,-4378.28,255.898,26.3856,""), +(8115,3,-4383,256.683,25.8833,""), +(8115,4,-4378.28,255.898,26.3856,""), +(8115,5,-4375.1,259.339,26.584,""), +(8115,6,-4375.68,269.717,25.4947,""); diff --git a/sql/updates/world/master/2021_06_19_12_world_2018_02_08_08_world_335.sql b/sql/updates/world/master/2021_06_19_12_world_2018_02_08_08_world_335.sql new file mode 100644 index 000000000..c985af6e2 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_12_world_2018_02_08_08_world_335.sql @@ -0,0 +1,25 @@ +-- Quest "Zapped Giants" +-- Cliff Giant +DELETE FROM `smart_scripts` WHERE `entryorguid`=5358 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 +(5358,0,2,0,8,0,100,512,23359,0,0,0,3,14640,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cliff Giant - On Spellhit 'Transmogrify!' - Morph to 'Zapped Cliff Giant'"); + +-- Land Walker +DELETE FROM `smart_scripts` WHERE `entryorguid`=5357 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 +(5357,0,2,0,8,0,100,512,23359,0,0,0,3,14604,0,0,0,0,0,1,0,0,0,0,0,0,0,"Land Walker - On Spellhit 'Transmogrify!' - Morph to 'Zapped Land Walker'"); + +-- Shore Strider +DELETE FROM `smart_scripts` WHERE `entryorguid`=5359 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`, `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 +(5359,0,1,0,8,0,100,512,23359,0,0,0,3,14603,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shore Strider - On Spellhit 'Transmogrify!' - Morph to 'Zapped Shore Strider'"); + +-- Deep Strider +DELETE FROM `smart_scripts` WHERE `entryorguid`=5360 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`, `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 +(5360,0,1,0,8,0,100,512,23359,0,0,0,3,14639,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Strider - On Spellhit 'Transmogrify!' - Morph to 'Zapped Deep Strider'"); + +-- Wave Strider +DELETE FROM `smart_scripts` WHERE `entryorguid`=5361 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`, `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 +(5361,0,1,0,8,0,100,512,23359,0,0,0,3,14638,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wave Strider - On Spellhit 'Transmogrify!' - Morph to 'Zapped Wave Strider'"); diff --git a/sql/updates/world/master/2021_06_19_13_world_2018_02_08_09_world_335.sql b/sql/updates/world/master/2021_06_19_13_world_2018_02_08_09_world_335.sql new file mode 100644 index 000000000..5843ee32b --- /dev/null +++ b/sql/updates/world/master/2021_06_19_13_world_2018_02_08_09_world_335.sql @@ -0,0 +1,9 @@ +-- Zorbin Fandazzle --> Add gossip conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=11361; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,11361,7116,0,0,8,0,25465,0,0,0,0,0,"","Show gossip text 5444 if quest 'Still With The Zapped Giants' is rewarded"), +(14,11361,7116,0,0,8,0,25466,0,0,0,0,0,"","Show gossip text 5444 if quest 'Even More Fuel for the Zapping' is rewarded"), +(15,11361,0,0,0,8,0,25465,0,0,0,0,0,"","Show gossip option if quest 'Still With The Zapped Giants' is rewarded"), +(15,11361,0,0,0,8,0,25466,0,0,0,0,0,"","Show gossip option if quest 'Even More Fuel for the Zapping' is rewarded"); + +UPDATE `gossip_menu_option` SET `OptionType`=3,`OptionNpcFlag`=128 WHERE `MenuID`=11361 AND `OptionIndex`=0; diff --git a/sql/updates/world/master/2021_06_19_14_world_2018_02_08_10_world.sql b/sql/updates/world/master/2021_06_19_14_world_2018_02_08_10_world.sql new file mode 100644 index 000000000..24d0f839e --- /dev/null +++ b/sql/updates/world/master/2021_06_19_14_world_2018_02_08_10_world.sql @@ -0,0 +1,3 @@ +-- +DELETE FROM `creature_addon` WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` IN (18201)); +DELETE FROM `creature` WHERE `id` IN (18201); diff --git a/sql/updates/world/master/2021_06_19_15_world_2018_02_09_01_world.sql b/sql/updates/world/master/2021_06_19_15_world_2018_02_09_01_world.sql new file mode 100644 index 000000000..4b5d7be40 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_15_world_2018_02_09_01_world.sql @@ -0,0 +1,6 @@ +-- +UPDATE `creature_template` SET `RegenHealth`=0 WHERE `entry` IN (20869, 21586); +UPDATE `creature` SET `curhealth`=62315 WHERE `id` IN (20869); +DELETE FROM `smart_scripts` WHERE `entryorguid`=20869 AND `source_type`=0 AND `id`=4; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`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 +(20869, 0, 4, 0, 4, 0, 100, 0, 0, 0, 0, 0, 28, 31261, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Arcatraz Sentinel - On aggro - remove aura'); diff --git a/sql/updates/world/master/2021_06_19_16_world_2018_02_10_00_world.sql b/sql/updates/world/master/2021_06_19_16_world_2018_02_10_00_world.sql new file mode 100644 index 000000000..ad19973dc --- /dev/null +++ b/sql/updates/world/master/2021_06_19_16_world_2018_02_10_00_world.sql @@ -0,0 +1,2 @@ +-- +DELETE FROM `spawn_group` WHERE `spawnId` IN (64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993) AND `spawnType`=0 AND `groupId`=2; diff --git a/sql/updates/world/master/2021_06_19_17_world_2018_02_10_01_world.sql b/sql/updates/world/master/2021_06_19_17_world_2018_02_10_01_world.sql new file mode 100644 index 000000000..f8d0d3485 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_17_world_2018_02_10_01_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=18213 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 +(18213, 0, 0, 0, 0, 0, 100, 0, 1000, 2000, 3400, 5800, 11, 39419, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "Mire Hydra - IC - Cast 'Poison Spit'"); diff --git a/sql/updates/world/master/2021_06_19_19_world_2018_02_11_02_world_335.sql b/sql/updates/world/master/2021_06_19_19_world_2018_02_11_02_world_335.sql new file mode 100644 index 000000000..5a98c0da8 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_19_world_2018_02_11_02_world_335.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_combined_toxins'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(56584, 'spell_combined_toxins'); diff --git a/sql/updates/world/master/2021_06_19_20_world_2018_02_12_00_world.sql b/sql/updates/world/master/2021_06_19_20_world_2018_02_12_00_world.sql new file mode 100644 index 000000000..8349cbe23 --- /dev/null +++ b/sql/updates/world/master/2021_06_19_20_world_2018_02_12_00_world.sql @@ -0,0 +1,2 @@ +-- SAI target fix for Territorial Trespass (13051) +update `smart_scripts` set `target_type`=23 where (`source_type`=0 and `entryorguid`=30461 and `id`=2) or (`source_type`=9 and `entryorguid`=3046200 and `id` in (1,4)); diff --git a/sql/updates/world/master/2021_06_19_21_world_2018_02_12_01_world.sql b/sql/updates/world/master/2021_06_19_21_world_2018_02_12_01_world.sql new file mode 100644 index 000000000..4ff4dafec --- /dev/null +++ b/sql/updates/world/master/2021_06_19_21_world_2018_02_12_01_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_template` SET `flags_extra`=2 WHERE `entry`=28167; diff --git a/sql/updates/world/master/2021_06_20_00_world_2018_02_12_02_world.sql b/sql/updates/world/master/2021_06_20_00_world_2018_02_12_02_world.sql new file mode 100644 index 000000000..98913424a --- /dev/null +++ b/sql/updates/world/master/2021_06_20_00_world_2018_02_12_02_world.sql @@ -0,0 +1,6 @@ +UPDATE `serverside_spell` SET `BaseLevel`=0, `SpellLevel`=0, `SpellFamilyName`=0, `SpellFamilyFlags1`=0, `PreventionType`=0 WHERE `Id`=47802; + +DELETE FROM `serverside_spell_effect` WHERE `SpellID`=47802; +INSERT INTO `serverside_spell_effect` (`SpellID`,`EffectIndex`,`Effect`,`ImplicitTarget1`,`EffectAura`) VALUES +(47802,0,6,1,118), +(47802,1,6,1,88); diff --git a/sql/updates/world/master/2021_06_20_01_world_2018_02_13_00_world_335.sql b/sql/updates/world/master/2021_06_20_01_world_2018_02_13_00_world_335.sql new file mode 100644 index 000000000..6b8ab7cfb --- /dev/null +++ b/sql/updates/world/master/2021_06_20_01_world_2018_02_13_00_world_335.sql @@ -0,0 +1,26 @@ +-- Remove unique items from reference table 24064 +DELETE FROM `reference_loot_template` WHERE `Entry`=24064 AND `Item` IN (911, 920, 1076, 1406, 1455, 1459, 1461, 1462, 2034, 2232, 3429); + +-- Add former items from reference table 24064 to their proper NPCs +DELETE FROM `creature_loot_template` WHERE `Item` IN (911, 920, 1076, 1406, 1455, 2034, 2232, 3429); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `Comment`) VALUES +(1706, 1076, 1, 0, "Prisoner - Defias Renegade Ring"), +(1711, 1076, 1, 0, "Convict - Defias Renegade Ring"), +(1715, 1076, 1, 0, "Insurgent - Defias Renegade Ring"), +(435, 1455, 0.1, 0, "Blackrock Champion - Blackrock Champion's Axe"), +(74351, 2034, 1, 0, "Twilight Disciple - Scholarly Robes"), +(74353, 2034, 1, 0, "Twilight Aquamancer - Scholarly Robes"), +(74363, 2034, 1, 0, "Twilight Shadow - Scholarly Robes"), +(74380, 2034, 1, 0, "Twilight Storm Mender - Scholarly Robes"), +(74382, 2034, 1, 0, "Twilight Shadowmage - Scholarly Robes"), +(74980, 2034, 1, 0, "Twilight Storm Mender - Scholarly Robes"), +(74983, 2034, 1, 0, "Twilight Disciple - Scholarly Robes"), +(75058, 2034, 1, 0, "Twilight Aquamancer - Scholarly Robes"), +(75135, 2034, 1, 0, "Tormented Sacrifice - Scholarly Robes"), +(75285, 2034, 1, 0, "Twilight Storm Mender - Scholarly Robes"), +(75286, 2034, 1, 0, "Twilight Disciple - Scholarly Robes"), +(76036, 2034, 1, 0, "Twilight Shadow - Scholarly Robes"), +(76037, 2034, 1, 0, "Twilight Storm Mender - Scholarly Robes"), +(76038, 2034, 1, 0, "Twilight Shadowmage - Scholarly Robes"), +(76039, 2034, 1, 0, "Twilight Aquamancer - Scholarly Robes"), +(77232, 2034, 1, 0, "Twilight Disciple - Scholarly Robes"); diff --git a/sql/updates/world/master/2021_06_20_02_world_2018_02_13_01_world.sql b/sql/updates/world/master/2021_06_20_02_world_2018_02_13_01_world.sql new file mode 100644 index 000000000..e2efbd4b0 --- /dev/null +++ b/sql/updates/world/master/2021_06_20_02_world_2018_02_13_01_world.sql @@ -0,0 +1,6 @@ +-- +UPDATE `smart_scripts` SET `target_type`=23 WHERE `source_type`=9 AND `entryorguid`=2878000 AND `id` IN (6); +DELETE FROM `smart_scripts` WHERE `entryorguid`=2878000 AND `source_type`=9 AND `id` IN (7,8); +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 +(2878000, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 20, 190731, 15, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - despawn gob"), +(2878000, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 20, 190732, 15, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - despawn gob"); diff --git a/sql/updates/world/master/2021_06_20_03_world_2018_02_13_02_world.sql b/sql/updates/world/master/2021_06_20_03_world_2018_02_13_02_world.sql new file mode 100644 index 000000000..713a4d5d8 --- /dev/null +++ b/sql/updates/world/master/2021_06_20_03_world_2018_02_13_02_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `action_param1`=180 WHERE `source_type`=9 AND `entryorguid`=2878000 AND `id` IN (7); diff --git a/sql/updates/world/master/2021_06_20_04_world_2018_02_13_03_world.sql b/sql/updates/world/master/2021_06_20_04_world_2018_02_13_03_world.sql new file mode 100644 index 000000000..32c53176b --- /dev/null +++ b/sql/updates/world/master/2021_06_20_04_world_2018_02_13_03_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `event_type`=1 WHERE `entryorguid`IN (9297,9521, 9526,9527) AND `source_type`=0 AND `id`=1; diff --git a/sql/updates/world/master/2021_06_20_06_world_2018_02_13_05_world.sql b/sql/updates/world/master/2021_06_20_06_world_2018_02_13_05_world.sql new file mode 100644 index 000000000..403eb6212 --- /dev/null +++ b/sql/updates/world/master/2021_06_20_06_world_2018_02_13_05_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` = 24329 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 +(24329, 0, 0, 0, 8, 0, 100, 512, 43666, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Runed Stone Giant - On spell hit - Despawn"); diff --git a/sql/updates/world/master/2021_06_20_07_world_2018_02_13_06_world.sql b/sql/updates/world/master/2021_06_20_07_world_2018_02_13_06_world.sql new file mode 100644 index 000000000..ace747140 --- /dev/null +++ b/sql/updates/world/master/2021_06_20_07_world_2018_02_13_06_world.sql @@ -0,0 +1,3 @@ +-- +UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (27370) AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=12, `target_param1`=1 WHERE `entryorguid` IN (2735900) AND `source_type`=9 AND `id`=4; diff --git a/sql/updates/world/master/2021_06_20_08_world_2018_02_13_07_world.sql b/sql/updates/world/master/2021_06_20_08_world_2018_02_13_07_world.sql new file mode 100644 index 000000000..1afb5c37c --- /dev/null +++ b/sql/updates/world/master/2021_06_20_08_world_2018_02_13_07_world.sql @@ -0,0 +1,2 @@ +-- +DELETE FROM `conditions` WHERE `SourceEntry` = 17016 AND `SourceTypeOrReferenceId`=13; diff --git a/sql/updates/world/master/2021_06_20_09_world_2018_02_14_00_world.sql b/sql/updates/world/master/2021_06_20_09_world_2018_02_14_00_world.sql new file mode 100644 index 000000000..6139607d9 --- /dev/null +++ b/sql/updates/world/master/2021_06_20_09_world_2018_02_14_00_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `action_param1`=0, `action_param2`=180 WHERE `source_type`=9 AND `entryorguid`=2878000 AND `id` IN (7); diff --git a/sql/updates/world/master/2021_06_20_10_world_2018_02_14_08_world.sql b/sql/updates/world/master/2021_06_20_10_world_2018_02_14_08_world.sql new file mode 100644 index 000000000..f5d3bf5b3 --- /dev/null +++ b/sql/updates/world/master/2021_06_20_10_world_2018_02_14_08_world.sql @@ -0,0 +1,4 @@ +-- +UPDATE `smart_scripts` SET `target_type`=7 WHERE `event_type` IN (4) AND `target_type`=2; +UPDATE `smart_scripts` SET `target_type`=16 WHERE `event_type` IN (4) AND `target_type`=5; +UPDATE `smart_scripts` SET `event_type`=0 WHERE `entryorguid`=18701 AND `source_type`=0 AND `id`=1; diff --git a/sql/updates/world/master/2021_06_20_11_world_2018_02_14_01_world.sql b/sql/updates/world/master/2021_06_20_11_world_2018_02_14_01_world.sql new file mode 100644 index 000000000..097e64536 --- /dev/null +++ b/sql/updates/world/master/2021_06_20_11_world_2018_02_14_01_world.sql @@ -0,0 +1,5 @@ +-- +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=32495 AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=20405 AND `source_type`=0; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=32357 AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=2 WHERE `event_type`=0 AND `target_type`=7 AND `source_type`=0; diff --git a/sql/updates/world/master/2021_06_21_00_world_2018_02_15_01_world.sql b/sql/updates/world/master/2021_06_21_00_world_2018_02_15_01_world.sql new file mode 100644 index 000000000..7269754e5 --- /dev/null +++ b/sql/updates/world/master/2021_06_21_00_world_2018_02_15_01_world.sql @@ -0,0 +1,11 @@ +-- +UPDATE `smart_scripts` SET `target_type`=12, `target_param1`=1 WHERE `event_type`=52 AND `source_type`=0 AND `action_type`=11 AND `action_param1`=63010 AND `target_type`=7; +UPDATE smart_scripts SET `target_type`=12, `target_param1`=1 WHERE `entryorguid` IN (3328500, 3374500) AND `source_type`=9 AND `id`=10; +/*DELETE FROM `smart_scripts` WHERE `entryorguid` = 4488 AND `source_type` = 0 AND id IN (20,21,22,23); +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 +(4488,0, 20, 0, 62,0,100,0, 4764, 0,0,0, 64, 1, 0,0,0,0,0, 7, 0, 0,0,0,0,0,0,'Parqual Fintallas - On Gossip Option 0 Selected - Store target'), +(4488,0, 21, 0, 62,0,100,0, 4764, 1,0,0, 64, 1, 0,0,0,0,0, 7, 0, 0,0,0,0,0,0,'Parqual Fintallas - On Gossip Option 1 Selected - Store target'), +(4488,0, 22, 0, 62,0,100,0, 4764, 2,0,0, 64, 1, 0,0,0,0,0, 7, 0, 0,0,0,0,0,0,'Parqual Fintallas - On Gossip Option 2 Selected - Store target'), +(4488,0, 23, 0, 62,0,100,0, 4764, 3,0,0, 64, 1, 0,0,0,0,0, 7, 0, 0,0,0,0,0,0,'Parqual Fintallas - On Gossip Option 3 Selected - Store target'); +UPDATE smart_scripts SET `target_type`=12, `target_param1`=1 WHERE `entryorguid` IN (4488) AND `source_type`=0 AND `id`IN (3,4,9,13);*/ +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (18417) AND `source_type`=0 AND `id`IN (6); diff --git a/sql/updates/world/master/2021_06_21_01_world_2018_02_15_02_world.sql b/sql/updates/world/master/2021_06_21_01_world_2018_02_15_02_world.sql new file mode 100644 index 000000000..afea60710 --- /dev/null +++ b/sql/updates/world/master/2021_06_21_01_world_2018_02_15_02_world.sql @@ -0,0 +1,4 @@ +-- +UPDATE `smart_scripts` SET `target_type`=1 WHERE `action_type`=39; +UPDATE `smart_scripts` SET `target_type`=2 WHERE `target_type`=7 AND `event_type`=2 AND `event_flags`=1 AND `event_param2`=30 AND `action_type`=1; +UPDATE `smart_scripts` SET `target_type`=24 WHERE `target_type`=7 AND `event_type`=2 AND `action_type` IN (33,85); diff --git a/sql/updates/world/master/2021_06_21_02_world_2018_02_15_03_world.sql b/sql/updates/world/master/2021_06_21_02_world_2018_02_15_03_world.sql new file mode 100644 index 000000000..72c8613c5 --- /dev/null +++ b/sql/updates/world/master/2021_06_21_02_world_2018_02_15_03_world.sql @@ -0,0 +1,11 @@ +-- +UPDATE `smart_scripts` SET `target_type`=24 WHERE `target_type`=16 AND `event_type`=2 AND `action_type` IN (33,15,11); +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=13197 AND `source_type`=0 AND `id`=11; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=16977 AND `source_type`=0 AND `id`=14; +UPDATE `smart_scripts` SET `target_type`=18, `target_param1`=25 WHERE `target_type`=7 AND `event_type`=7 AND `action_type` IN (6); +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=25773 AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=19480 AND `source_type`=0 AND `id`=2; +UPDATE `smart_scripts` SET `event_type`=4 WHERE `entryorguid`=18400 AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=28444 AND `source_type`=0 AND `id`=1; +UPDATE `smart_scripts` SET `event_type`=10, `event_param1`=1, `event_param1`=20 WHERE `entryorguid`=19283 AND `source_type`=0 AND `id`=3; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=27202 AND `source_type`=0 AND `id`=6; diff --git a/sql/updates/world/master/2021_06_21_03_world_2018_02_15_04_world.sql b/sql/updates/world/master/2021_06_21_03_world_2018_02_15_04_world.sql new file mode 100644 index 000000000..262e0c7b0 --- /dev/null +++ b/sql/updates/world/master/2021_06_21_03_world_2018_02_15_04_world.sql @@ -0,0 +1,11 @@ +-- +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (25321,25322) AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (30154) AND `source_type`=0 AND `id`=4; +UPDATE `smart_scripts` SET `target_type`=23 WHERE `entryorguid` IN (25401) AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (22423) AND `source_type`=0 AND `id`=9; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (14354) AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (13197) AND `source_type`=0 AND `id`=9; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (16769) AND `source_type`=0 AND `id`=9; +UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid` IN (16769) AND `source_type`=0 AND `id`=4; +UPDATE `smart_scripts` SET `target_type`=21, target_param1=30 WHERE `entryorguid` IN (15420) AND `source_type`=0 AND `id`=3; +UPDATE `smart_scripts` SET `target_type`=21, target_param1=30 WHERE `entryorguid` IN (3584) AND `source_type`=0 AND `id`=2; diff --git a/sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql b/sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql new file mode 100644 index 000000000..35cdaf23c --- /dev/null +++ b/sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql @@ -0,0 +1,12 @@ +-- Chief Plaguebringer Harris SAI +SET @ENTRY := 24251; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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 +(@ENTRY,0,0,0,0,0,100,0,4000,8000,10000,12000,11,16432,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chief Plaguebringer Harris - In Combat - Cast 'Plague Mist'"), +(@ENTRY,0,1,0,0,0,100,0,6000,8000,10000,15000,11,34095,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chief Plaguebringer Harris - In Combat - Cast 'Throw Proximity Bomb'"), +(@ENTRY,0,2,0,2,0,100,1,10,15,0,0,11,5782,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chief Plaguebringer Harris - Between 10-15% Health - Cast 'Fear'"); + +DELETE FROM `creature_text` WHERE `CreatureID`=24251 AND `GroupID`=0 AND `ID`=2; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(24251, 0, 2, "Steady your hand, you fool! Those are rare components you're spilling on the floor!", 14, 0, 100, 0, 0, 0, 23100, 0, "Chief Plaguebringer Harris"); diff --git a/sql/updates/world/master/2021_06_22_01_world_2018_02_16_01_world.sql b/sql/updates/world/master/2021_06_22_01_world_2018_02_16_01_world.sql new file mode 100644 index 000000000..c12503350 --- /dev/null +++ b/sql/updates/world/master/2021_06_22_01_world_2018_02_16_01_world.sql @@ -0,0 +1,13 @@ +DELETE FROM `creature_summon_groups` WHERE `summonerId`=33890 AND `entry`=33990; -- Laughing Skull +INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES +(33890,0,0,33990,2063.156,27.95839,244.2707,5.288348,3,60000), -- Chambers of Aspects +(33890,0,0,33990,2061.257,-53.8788,239.8633,2.478368,3,60000), +(33890,0,0,33990,2109.908,29.33236,239.8817,0.1919862,3,60000), +(33890,0,0,33990,2135.219,-41.44271,239.8027,5.846853,3,60000), +(33890,0,1,33990,1932.213,-93.62798,240.073,4.852015,3,60000), -- Icecrown Citadel +(33890,0,1,33990,1905.937,-133.1651,240.073,5.77704,3,60000), +(33890,0,1,33990,1948.668,-152.4481,240.073,1.919862,3,60000), +(33890,0,1,33990,1992.463,-131.2119,240.073,3.455752,3,60000), +(33890,0,2,33990,1917.492,91.10191,239.7496,0.5235988,3,60000), -- Stormwind Keep +(33890,0,2,33990,1918.132,73.82926,241.7929,2.600541,3,60000), +(33890,0,2,33990,1922.55,54.68001,241.1263,0.1919862,3,60000);