From 27d50617f272d72831b2b3d13bad6d9e0ee3afd3 Mon Sep 17 00:00:00 2001 From: sudlud Date: Sat, 7 Dec 2024 10:56:05 +0100 Subject: [PATCH] fix(DB/Gameobject): Sniffed Values for 'DwarvenTableSmall' spawns (#20853) --- .../pending_db_world/rev_1733557953974539700.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1733557953974539700.sql diff --git a/data/sql/updates/pending_db_world/rev_1733557953974539700.sql b/data/sql/updates/pending_db_world/rev_1733557953974539700.sql new file mode 100644 index 000000000..ec89cba8d --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1733557953974539700.sql @@ -0,0 +1,11 @@ +-- Update gameobject 'DwarvenTableSmall' with sniffed values +-- new spawns +DELETE FROM `gameobject` WHERE (`id` IN (180884)) +AND (`guid` IN (36)); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES +(36, 180884, 0, 0, 0, 1, 1, -4643.95556640625, -952.7752685546875, 501.660858154296875, 1.675513744354248046, 0, 0, 0.743144035339355468, 0.669131457805633544, 120, 255, 1, "", 47720, NULL); + +-- enable all spawns for eventEntry 7 +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 7) +AND (`guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (180884))); +INSERT INTO `game_event_gameobject` (SELECT 7, `guid` FROM `gameobject` WHERE `id` IN (180884));