From 72f148916c1b6cafa7c2f845f37c62711eb2d646 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 17 Dec 2024 19:26:40 +0100 Subject: [PATCH] DB/Gameobject: Blackrock Depths Feast of Winter Veil spawns closes #30526 by Foldor1 --- .../world/3.3.5/2024_12_17_11_world.sql | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sql/updates/world/3.3.5/2024_12_17_11_world.sql diff --git a/sql/updates/world/3.3.5/2024_12_17_11_world.sql b/sql/updates/world/3.3.5/2024_12_17_11_world.sql new file mode 100644 index 0000000000000..cc4fc6b1702bf --- /dev/null +++ b/sql/updates/world/3.3.5/2024_12_17_11_world.sql @@ -0,0 +1,27 @@ +-- +SET @OGUID := 18041; -- Need 18 +SET @EVENT := 2; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+17; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 187235, 230, 1584, 1584, 1, 1, 848.40118408203125, -146.280960083007812, -48.0858535766601562, 5.166176319122314453, 0, 0, -0.52991867065429687, 0.84804844856262207, 7200, 255, 1, 57916), -- Standing, Exterior, Medium - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+1, 187235, 230, 1584, 1584, 1, 1, 855.560791015625, -142.067169189453125, -48.0872077941894531, 5.166176319122314453, 0, 0, -0.52991867065429687, 0.84804844856262207, 7200, 255, 1, 57916), -- Standing, Exterior, Medium - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+2, 187235, 230, 1584, 1584, 1, 1, 879.82562255859375, -145.934921264648437, -49.7594146728515625, 4.433136463165283203, 0, 0, -0.79863548278808593, 0.60181504487991333, 7200, 255, 1, 57916), -- Standing, Exterior, Medium - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+3, 187567, 230, 1584, 1584, 1, 1, 838.7147216796875, -222.66021728515625, -37.0061607360839843, 0.575957298278808593, 0, 0, 0.284014701843261718, 0.958819925785064697, 7200, 255, 1, 57916), -- Hanging, Streamer - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+4, 187194, 230, 1584, 1584, 1, 1, 843.09368896484375, -229.72198486328125, -36.9932708740234375, 0.558503925800323486, 0, 0, 0.275636672973632812, 0.961261868476867675, 7200, 255, 1, 57916), -- Hanging, Streamer x3 - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+5, 187235, 230, 1584, 1584, 1, 1, 874.26885986328125, -182.293807983398437, -43.7037086486816406, 5.166176319122314453, 0, 0, -0.52991867065429687, 0.84804844856262207, 7200, 255, 1, 57916), -- Standing, Exterior, Medium - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+6, 187567, 230, 1584, 1584, 1, 1, 848.7298583984375, -234.750701904296875, -37.2758712768554687, 2.164205789566040039, 0, 0, 0.882946968078613281, 0.469472706317901611, 7200, 255, 1, 57916), -- Hanging, Streamer - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+7, 187567, 230, 1584, 1584, 1, 1, 862.14080810546875, -226.75653076171875, -37.2087326049804687, 2.164205789566040039, 0, 0, 0.882946968078613281, 0.469472706317901611, 7200, 255, 1, 57916), -- Hanging, Streamer - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+8, 187235, 230, 1584, 1584, 1, 1, 886.7518310546875, -156.676010131835937, -49.7605171203613281, 3.24634718894958496, 0, 0, -0.99862861633300781, 0.052353221923112869, 7200, 255, 1, 57916), -- Standing, Exterior, Medium - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+9, 187194, 230, 1584, 1584, 1, 1, 855.3809814453125, -230.789016723632812, -37.2526893615722656, 2.111847877502441406, 0, 0, 0.870355606079101562, 0.492423713207244873, 7200, 255, 1, 57916), -- Hanging, Streamer x3 - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+10, 187235, 230, 1584, 1584, 1, 1, 870.17364501953125, -219.478271484375, -43.703704833984375, 2.967041015625, 0, 0, 0.996193885803222656, 0.087165042757987976, 7200, 255, 1, 57916), -- Standing, Exterior, Medium - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+11, 187194, 230, 1584, 1584, 1, 1, 892.45867919921875, -168.13189697265625, -37.2256965637207031, 3.665196180343627929, 0, 0, -0.96592521667480468, 0.258821308612823486, 7200, 255, 1, 57916), -- Hanging, Streamer x3 - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+12, 187194, 230, 1584, 1584, 1, 1, 876.1754150390625, -218.1158447265625, -37.5497932434082031, 2.094393253326416015, 0, 0, 0.866024971008300781, 0.50000077486038208, 7200, 255, 1, 57916), -- Hanging, Streamer x3 - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+13, 187194, 230, 1584, 1584, 1, 1, 886.67987060546875, -212.390411376953125, -37.4664421081542968, 2.076939344406127929, 0, 0, 0.861628532409667968, 0.50753939151763916, 7200, 255, 1, 57916), -- Hanging, Streamer x3 - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+14, 187194, 230, 1584, 1584, 1, 1, 898.56494140625, -178.46807861328125, -37.0914573669433593, 3.665196180343627929, 0, 0, -0.96592521667480468, 0.258821308612823486, 7200, 255, 1, 57916), -- Hanging, Streamer x3 - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+15, 187194, 230, 1584, 1584, 1, 1, 897.0703125, -206.644729614257812, -37.4958915710449218, 2.076939344406127929, 0, 0, 0.861628532409667968, 0.50753939151763916, 7200, 255, 1, 57916), -- Hanging, Streamer x3 - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+16, 187567, 230, 1584, 1584, 1, 1, 904.153076171875, -202.728240966796875, -37.4635429382324218, 2.094393253326416015, 0, 0, 0.866024971008300781, 0.50000077486038208, 7200, 255, 1, 57916), -- Hanging, Streamer - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 +(@OGUID+17, 187567, 230, 1584, 1584, 1, 1, 907.94866943359375, -200.629318237304687, -37.4735183715820312, 2.094393253326416015, 0, 0, 0.866024971008300781, 0.50000077486038208, 7200, 255, 1, 57916); -- Hanging, Streamer - Xmas (Area: Blackrock Depths - Difficulty: 1) CreateObject1 + +DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+17 AND `eventEntry`=@EVENT; +INSERT INTO `game_event_gameobject` SELECT @EVENT, gameobject.guid FROM `gameobject` WHERE gameobject.guid BETWEEN @OGUID+0 AND @OGUID+17;