aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2022_10_31_09_world.sql97
1 files changed, 97 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_10_31_09_world.sql b/sql/updates/world/master/2022_10_31_09_world.sql
new file mode 100644
index 00000000000..7ae6108b711
--- /dev/null
+++ b/sql/updates/world/master/2022_10_31_09_world.sql
@@ -0,0 +1,97 @@
+SET @OGUID := 244084;
+
+-- Gameobject templates
+UPDATE `gameobject_template` SET `ContentTuningId`=425, `VerifiedBuild`=46366 WHERE `entry`=190034; -- Candy Bucket
+
+UPDATE `gameobject_template_addon` SET `faction`=1732 WHERE `entry`=190034; -- Candy Bucket
+
+-- Quests
+UPDATE `quest_offer_reward` SET `VerifiedBuild`=46366 WHERE `ID`=12331;
+
+DELETE FROM `gameobject_queststarter` WHERE `id`=190034;
+INSERT INTO `gameobject_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
+(190034, 12331, 46366);
+
+UPDATE `gameobject_questender` SET `VerifiedBuild`=46366 WHERE (`id`=190034 AND `quest`=12331);
+
+DELETE FROM `game_event_gameobject_quest` WHERE `id`=190034;
+
+-- Gameobject spawns
+DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35;
+INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
+(@OGUID+0, 180405, 1, 141, 186, '0', 0, 0, 9779.2392578125, 953.00372314453125, 1308.074951171875, 5.201082706451416015, 0, 0, -0.51503753662109375, 0.857167601585388183, 120, 255, 1, 46366), -- G_Pumpkin_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+1, 180405, 1, 141, 186, '0', 0, 0, 9805.8955078125, 962.4366455078125, 1324.0103759765625, 0.698131442070007324, 0, 0, 0.342020034790039062, 0.939692676067352294, 120, 255, 1, 46366), -- G_Pumpkin_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+2, 180405, 1, 141, 186, '0', 0, 0, 9772.6533203125, 893.5382080078125, 1297.3258056640625, 2.879789113998413085, 0, 0, 0.991444587707519531, 0.130528271198272705, 120, 255, 1, 46366), -- G_Pumpkin_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+3, 180405, 1, 141, 186, '0', 0, 0, 9818.9306640625, 948.16668701171875, 1310.056884765625, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 46366), -- G_Pumpkin_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+4, 180406, 1, 141, 186, '0', 0, 0, 9781.9716796875, 943.55816650390625, 1308.02587890625, 5.340708732604980468, 0, 0, -0.45398998260498046, 0.891006767749786376, 120, 255, 1, 46366), -- G_Pumpkin_02 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+5, 180406, 1, 141, 186, '0', 0, 0, 9840.5498046875, 961.529296875, 1308.017822265625, 2.321286916732788085, 0, 0, 0.917059898376464843, 0.398749500513076782, 120, 255, 1, 46366), -- G_Pumpkin_02 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+6, 180406, 1, 141, 186, '0', 0, 0, 9888.5830078125, 964.22393798828125, 1313.8277587890625, 5.427974700927734375, 0, 0, -0.41469287872314453, 0.909961462020874023, 120, 255, 1, 46366), -- G_Pumpkin_02 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+7, 180407, 1, 141, 186, '0', 0, 0, 9837.6181640625, 970.7393798828125, 1308.047119140625, 2.251473426818847656, 0, 0, 0.902585029602050781, 0.430511653423309326, 120, 255, 1, 46366), -- G_Pumpkin_03 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+8, 180407, 1, 141, 186, '0', 0, 0, 9812.095703125, 932.71807861328125, 1308.51611328125, 6.056293010711669921, 0, 0, -0.11320304870605468, 0.993571877479553222, 120, 255, 1, 46366), -- G_Pumpkin_03 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+9, 180407, 1, 141, 186, '0', 0, 0, 9757.326171875, 900.83831787109375, 1295.517333984375, 2.844882726669311523, 0, 0, 0.989015579223632812, 0.147811368107795715, 120, 255, 1, 46366), -- G_Pumpkin_03 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+10, 180407, 1, 141, 186, '0', 0, 0, 9878.7568359375, 970.5555419921875, 1313.7774658203125, 0.331610709428787231, 0, 0, 0.16504669189453125, 0.986285746097564697, 120, 255, 1, 46366), -- G_Pumpkin_03 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+11, 180410, 1, 141, 186, '0', 0, 0, 9894.0517578125, 1001.46221923828125, 1315.51953125, 5.410521507263183593, 0, 0, -0.42261791229248046, 0.906307935714721679, 120, 255, 1, 46366), -- G_HangingSkeleton_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+12, 180410, 1, 141, 186, '0', 0, 0, 9798.0908203125, 972.73309326171875, 1314.5699462890625, 0.366517573595046997, 0, 0, 0.182234764099121093, 0.98325502872467041, 120, 255, 1, 46366), -- G_HangingSkeleton_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+13, 180411, 1, 141, 186, '0', 0, 0, 9879.9150390625, 961.01214599609375, 1318.2142333984375, 0.733038187026977539, 0, 0, 0.358367919921875, 0.933580458164215087, 120, 255, 1, 46366), -- G_Ghost_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+14, 180411, 1, 141, 186, '0', 0, 0, 9772.8173828125, 945.8680419921875, 1322.5361328125, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 120, 255, 1, 46366), -- G_Ghost_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+15, 180411, 1, 141, 186, '0', 0, 0, 9848.728515625, 969.07293701171875, 1324.3013916015625, 2.949595451354980468, 0, 0, 0.995395660400390625, 0.095851235091686248, 120, 255, 1, 46366), -- G_Ghost_01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+16, 180415, 1, 141, 186, '0', 0, 0, 9880.380859375, 967.783447265625, 1314.7418212890625, 1.623155713081359863, 0, 0, 0.725374221801757812, 0.688354730606079101, 120, 255, 1, 46366), -- CandleBlack01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+17, 180415, 1, 141, 186, '0', 0, 0, 9885.2958984375, 964.76324462890625, 1314.7408447265625, 2.495818138122558593, 0, 0, 0.948323249816894531, 0.317305892705917358, 120, 255, 1, 46366), -- CandleBlack01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+18, 180415, 1, 141, 186, '0', 0, 0, 9796.2353515625, 984.41253662109375, 1315.6304931640625, 5.462882041931152343, 0, 0, -0.39874839782714843, 0.917060375213623046, 120, 255, 1, 46366), -- CandleBlack01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+19, 180471, 1, 141, 186, '0', 0, 0, 9900.8076171875, 995.55206298828125, 1326.1708984375, 5.323255538940429687, 0, 0, -0.46174812316894531, 0.887011110782623291, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+20, 180471, 1, 141, 186, '0', 0, 0, 9836.4365234375, 976.59893798828125, 1316.436767578125, 1.727874636650085449, 0, 0, 0.760405540466308593, 0.649448513984680175, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+21, 180471, 1, 141, 186, '0', 0, 0, 9842.8115234375, 955.97393798828125, 1316.52490234375, 1.919861555099487304, 0, 0, 0.819151878356933593, 0.573576688766479492, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+22, 180471, 1, 141, 186, '0', 0, 0, 9778.0029296875, 889.44097900390625, 1301.1475830078125, 3.071766138076782226, 0, 0, 0.999390602111816406, 0.034906134009361267, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+23, 180471, 1, 141, 186, '0', 0, 0, 9831.2431640625, 963.77606201171875, 1337.8822021484375, 1.727874636650085449, 0, 0, 0.760405540466308593, 0.649448513984680175, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+24, 180471, 1, 141, 186, '0', 0, 0, 9772.0126953125, 890.326416015625, 1301.0426025390625, 3.036838293075561523, 0, 0, 0.998628616333007812, 0.052353221923112869, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+25, 180471, 1, 141, 186, '0', 0, 0, 9902.015625, 994.24481201171875, 1318.825927734375, 5.585053920745849609, 0, 0, -0.34202003479003906, 0.939692676067352294, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+26, 180471, 1, 141, 186, '0', 0, 0, 9902.634765625, 1002.81951904296875, 1325.5806884765625, 1.064649581909179687, 0, 0, 0.507537841796875, 0.861629426479339599, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+27, 180471, 1, 141, 186, '0', 0, 0, 9904.154296875, 991.19097900390625, 1326.1500244140625, 5.445427894592285156, 0, 0, -0.40673637390136718, 0.913545548915863037, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+28, 180471, 1, 141, 186, '0', 0, 0, 9900.9443359375, 1000.013916015625, 1317.0673828125, 5.672322273254394531, 0, 0, -0.3007049560546875, 0.953717231750488281, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+29, 180471, 1, 141, 186, '0', 0, 0, 9908.966796875, 1001.43402099609375, 1323.5059814453125, 6.073746204376220703, 0, 0, -0.10452842712402343, 0.994521915912628173, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+30, 180471, 1, 141, 186, '0', 0, 0, 9907.5166015625, 992.8680419921875, 1320.7427978515625, 4.782202720642089843, 0, 0, -0.68199825286865234, 0.731353819370269775, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+31, 180472, 1, 141, 186, '0', 0, 0, 9837.193359375, 965.625, 1316.685546875, 0.506144583225250244, 0, 0, 0.250379562377929687, 0.968147754669189453, 120, 255, 1, 46366), -- HangingSkullLight02 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+32, 180472, 1, 141, 186, '0', 0, 0, 9782.4814453125, 949.0555419921875, 1316.6497802734375, 3.420850038528442382, 0, 0, -0.99026775360107421, 0.139175355434417724, 120, 255, 1, 46366), -- HangingSkullLight02 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+33, 180472, 1, 141, 186, '0', 0, 0, 9775.3955078125, 892.34722900390625, 1306.3057861328125, 1.431168079376220703, 0, 0, 0.656058311462402343, 0.754710197448730468, 120, 255, 1, 46366), -- HangingSkullLight02 (Area: Dolanaar - Difficulty: 0)
+(@OGUID+34, 180523, 1, 141, 186, '0', 0, 0, 9829.3564453125, 971.16143798828125, 1308.7762451171875, 4.59021615982055664, 0, 0, -0.74895572662353515, 0.662620067596435546, 120, 255, 1, 46366), -- Apple Bob (Area: Dolanaar - Difficulty: 0)
+(@OGUID+35, 190034, 1, 141, 186, '0', 0, 0, 9800.078125, 982.900634765625, 1313.8837890625, 0.610863447189331054, 0, 0, 0.3007049560546875, 0.953717231750488281, 120, 255, 1, 46366); -- Candy Bucket (Area: Dolanaar - Difficulty: 0)
+
+-- Event spawns
+DELETE FROM `game_event_gameobject` WHERE `eventEntry`=12 AND `guid` BETWEEN @OGUID+0 AND @OGUID+35;
+INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES
+(12, @OGUID+0),
+(12, @OGUID+1),
+(12, @OGUID+2),
+(12, @OGUID+3),
+(12, @OGUID+4),
+(12, @OGUID+5),
+(12, @OGUID+6),
+(12, @OGUID+7),
+(12, @OGUID+8),
+(12, @OGUID+9),
+(12, @OGUID+10),
+(12, @OGUID+11),
+(12, @OGUID+12),
+(12, @OGUID+13),
+(12, @OGUID+14),
+(12, @OGUID+15),
+(12, @OGUID+16),
+(12, @OGUID+17),
+(12, @OGUID+18),
+(12, @OGUID+19),
+(12, @OGUID+20),
+(12, @OGUID+21),
+(12, @OGUID+22),
+(12, @OGUID+23),
+(12, @OGUID+24),
+(12, @OGUID+25),
+(12, @OGUID+26),
+(12, @OGUID+27),
+(12, @OGUID+28),
+(12, @OGUID+29),
+(12, @OGUID+30),
+(12, @OGUID+31),
+(12, @OGUID+32),
+(12, @OGUID+33),
+(12, @OGUID+34),
+(12, @OGUID+35);