diff options
author | Meji <alvaro.megias@outlook.com> | 2022-11-01 00:42:01 +0100 |
---|---|---|
committer | Naddley <NaddleyTC@gmail.com> | 2022-11-01 00:42:05 +0100 |
commit | 1d733b2cafd19df3cc5aba16510081bd5acff09d (patch) | |
tree | acc61d436f7568c2d7a5cb1290a8e673a517b61c /sql | |
parent | 4f71579f35191141f6b498f2466ac6eee5d5eab3 (diff) |
DB/Mulgore: Added spawns for Hallows End
Closes #28430
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/master/2022_10_31_07_world.sql | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_10_31_07_world.sql b/sql/updates/world/master/2022_10_31_07_world.sql new file mode 100644 index 00000000000..79ee92f6312 --- /dev/null +++ b/sql/updates/world/master/2022_10_31_07_world.sql @@ -0,0 +1,85 @@ +SET @OGUID := 244016; + +-- Gameobject templates +UPDATE `gameobject_template` SET `ContentTuningId`=425, `VerifiedBuild`=46366 WHERE `entry`=190065; -- Candy Bucket + +UPDATE `gameobject_template_addon` SET `faction`=1735 WHERE `entry`=190065; -- Candy Bucket + +-- Quests +UPDATE `quest_offer_reward` SET `VerifiedBuild`=46366 WHERE `ID`=12362; + +DELETE FROM `gameobject_queststarter` WHERE `id`=190065; +INSERT INTO `gameobject_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES +(190065, 12362, 46366); + +UPDATE `gameobject_questender` SET `VerifiedBuild`=46366 WHERE (`id`=190065 AND `quest`=12362); + +DELETE FROM `game_event_gameobject_quest` WHERE `id`=190065; + +-- Old gameobject spawns +DELETE FROM `gameobject` WHERE `guid` BETWEEN 227433 AND 227459; +DELETE FROM `gameobject` WHERE `guid` BETWEEN 228102 AND 228125; +DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 227433 AND 227459; +DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 228102 AND 228125; + +-- Gameobject spawns +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+26; +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, 215, 222, '0', 0, 0, -2317.257080078125, -445.981109619140625, -5.43840217590332031, 1.745326757431030273, 0, 0, 0.766043663024902343, 0.642788589000701904, 120, 255, 1, 46366), -- G_Pumpkin_01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+1, 180405, 1, 215, 222, '0', 0, 0, -2342.234619140625, -356.264312744140625, -8.88146495819091796, 1.48352813720703125, 0, 0, 0.675589561462402343, 0.737277925014495849, 120, 255, 1, 46366), -- G_Pumpkin_01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+2, 180405, 1, 215, 222, '0', 0, 0, -2339.434814453125, -319.14959716796875, -9.09311389923095703, 1.343901276588439941, 0, 0, 0.622513771057128906, 0.78260880708694458, 120, 255, 1, 46366), -- G_Pumpkin_01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+3, 180406, 1, 215, 222, '0', 0, 0, -2307.903076171875, -455.904937744140625, -5.43840217590332031, 3.420850038528442382, 0, 0, -0.99026775360107421, 0.139175355434417724, 120, 255, 1, 46366), -- G_Pumpkin_02 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+4, 180406, 1, 215, 222, '0', 0, 0, -2286.90625, -330.499786376953125, -9.42492580413818359, 6.09120035171508789, 0, 0, -0.09584522247314453, 0.995396256446838378, 120, 255, 1, 46366), -- G_Pumpkin_02 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+5, 180406, 1, 215, 222, '0', 0, 0, -2344.401611328125, -360.94927978515625, -8.69262313842773437, 1.553341388702392578, 0, 0, 0.700908660888671875, 0.713251054286956787, 120, 255, 1, 46366), -- G_Pumpkin_02 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+6, 180407, 1, 215, 222, '0', 0, 0, -2302.132080078125, -435.460235595703125, -5.43840217590332031, 5.969027042388916015, 0, 0, -0.1564340591430664, 0.987688362598419189, 120, 255, 1, 46366), -- G_Pumpkin_03 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+7, 180407, 1, 215, 222, '0', 0, 0, -2280.072998046875, -335.0560302734375, -9.42492580413818359, 5.93412017822265625, 0, 0, -0.17364788055419921, 0.984807789325714111, 120, 255, 1, 46366), -- G_Pumpkin_03 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+8, 180407, 1, 215, 222, '0', 0, 0, -2372.331787109375, -338.881988525390625, -8.95699214935302734, 0.820303261280059814, 0, 0, 0.398748397827148437, 0.917060375213623046, 120, 255, 1, 46366), -- G_Pumpkin_03 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+9, 180411, 1, 215, 222, '0', 0, 0, -2367.59716796875, -347.013885498046875, -2.57915496826171875, 2.356194972991943359, 0, 0, 0.923879623413085937, 0.382683247327804565, 120, 255, 1, 46366), -- G_Ghost_01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+10, 180471, 1, 215, 222, '0', 0, 0, -2340.944580078125, -360.098968505859375, -1.11862802505493164, 1.239183306694030761, 0, 0, 0.580702781677246093, 0.814115643501281738, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+11, 180471, 1, 215, 222, '0', 0, 0, -2341.553955078125, -361.282989501953125, -1.05756902694702148, 0.890116631984710693, 0, 0, 0.430510520935058593, 0.902585566043853759, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+12, 180471, 1, 215, 222, '0', 0, 0, -2340.5400390625, -354.80035400390625, -1.49939405918121337, 1.710421562194824218, 0, 0, 0.754709243774414062, 0.656059443950653076, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+13, 180471, 1, 215, 222, '0', 0, 0, -2339.822998046875, -357.36285400390625, -1.33761799335479736, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+14, 180471, 1, 215, 222, '0', 0, 0, -2346.342041015625, -364.899322509765625, -1.17205297946929931, 0.034906249493360519, 0, 0, 0.017452239990234375, 0.999847710132598876, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+15, 180471, 1, 215, 222, '0', 0, 0, -2342.611083984375, -362.232635498046875, -1.23253703117370605, 0.733038187026977539, 0, 0, 0.358367919921875, 0.933580458164215087, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+16, 180471, 1, 215, 222, '0', 0, 0, -2343.736083984375, -362.677093505859375, -1.35863697528839111, 0.575957298278808593, 0, 0, 0.284014701843261718, 0.958819925785064697, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+17, 180471, 1, 215, 222, '0', 0, 0, -2340.467041015625, -353.107635498046875, -1.52670705318450927, 1.518436193466186523, 0, 0, 0.6883544921875, 0.725374460220336914, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+18, 180471, 1, 215, 222, '0', 0, 0, -2340.380126953125, -358.81463623046875, -1.25354301929473876, 1.151916384696960449, 0, 0, 0.544638633728027343, 0.838670849800109863, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+19, 180471, 1, 215, 222, '0', 0, 0, -2345.08154296875, -363.82464599609375, -1.13551604747772216, 0.645771682262420654, 0, 0, 0.317304611206054687, 0.948323667049407958, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+20, 180471, 1, 215, 222, '0', 0, 0, -2340.17529296875, -356.14410400390625, -1.45353996753692626, 1.675513744354248046, 0, 0, 0.743144035339355468, 0.669131457805633544, 120, 255, 1, 46366), -- HangingSkullLight01 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+21, 180472, 1, 215, 222, '0', 0, 0, -2366.22607421875, -341.422821044921875, -4.00298309326171875, 5.724681377410888671, 0, 0, -0.27563667297363281, 0.961261868476867675, 120, 255, 1, 46366), -- HangingSkullLight02 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+22, 180472, 1, 215, 222, '0', 0, 0, -2356.779296875, -345.86199951171875, -4.01085281372070312, 5.916667938232421875, 0, 0, -0.18223476409912109, 0.98325502872467041, 120, 255, 1, 46366), -- HangingSkullLight02 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+23, 180472, 1, 215, 222, '0', 0, 0, -2381.065673828125, -341.387237548828125, 4.205566883087158203, 5.881760597229003906, 0, 0, -0.19936752319335937, 0.979924798011779785, 120, 255, 1, 46366), -- HangingSkullLight02 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+24, 180472, 1, 215, 222, '0', 0, 0, -2373.825439453125, -337.651641845703125, -4.00746393203735351, 6.056293010711669921, 0, 0, -0.11320304870605468, 0.993571877479553222, 120, 255, 1, 46366), -- HangingSkullLight02 (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+25, 180523, 1, 215, 222, '0', 0, 0, -2371.921875, -348.40625, -8.67921352386474609, 2.321286916732788085, 0, 0, 0.917059898376464843, 0.398749500513076782, 120, 255, 1, 46366), -- Apple Bob (Area: Bloodhoof Village - Difficulty: 0) +(@OGUID+26, 190065, 1, 215, 222, '0', 0, 0, -2363.669677734375, -345.6072998046875, -8.95699024200439453, 0.558503925800323486, 0, 0, 0.275636672973632812, 0.961261868476867675, 120, 255, 1, 46366); -- Candy Bucket (Area: Bloodhoof Village - Difficulty: 0) + +-- Event spawns +DELETE FROM `game_event_gameobject` WHERE `eventEntry`=12 AND `guid` BETWEEN @OGUID+0 AND @OGUID+26; +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); |