fix(DB/Ulduar): Edit trashes spawn points and formations in XT-002 Deconstructor arena. (#24987)

This commit is contained in:
Rocco Silipo 2026-03-05 19:06:02 +01:00 committed by GitHub
parent cf3943edb8
commit 7dc7e4e94f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,34 @@
-- Add new creatures (sniffed).
DELETE FROM `creature` WHERE (`id1` IN (34273, 34269, 34271)) AND (`guid` IN (137497, 137512, 137490, 137491, 137513, 137514, 137517));
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES
(137497, 34273, 0, 0, 603, 0, 0, 3, 1, 0, 810.68054, 60.84028, 409.88696, 4.08407, 604800, 0, 0, 252000, 0, 0, 0, 0, 0, '', NULL, 0),
(137512, 34273, 0, 0, 603, 0, 0, 3, 1, 0, 812.4308, -80.03114, 409.88696, 4.08407, 604800, 0, 0, 252000, 0, 0, 0, 0, 0, '', NULL, 0),
(137490, 34269, 0, 0, 603, 0, 0, 3, 1, 0, 806.35767, 87.65625, 409.88696, 5.28834, 604800, 0, 0, 252000, 0, 0, 0, 0, 0, '', NULL, 0),
(137491, 34269, 0, 0, 603, 0, 0, 3, 1, 0, 817.89874, -110.676, 409.88696, 3.59537, 604800, 0, 0, 252000, 0, 0, 0, 0, 0, '', NULL, 0),
(137513, 34269, 0, 0, 603, 0, 0, 3, 1, 0, 789.4983, 51.805557, 409.88696, 3.59537, 604800, 0, 0, 252000, 0, 0, 0, 0, 0, '', NULL, 0),
(137514, 34271, 0, 0, 603, 0, 0, 3, 1, 0, 798.1429, -72.44043, 409.88696, 3.15904, 604800, 0, 0, 252000, 0, 0, 0, 0, 0, '', NULL, 0),
(137517, 34271, 0, 0, 603, 0, 0, 3, 1, 0, 798.1042, 55.526043, 409.88696, 3.15904, 604800, 0, 0, 252000, 0, 0, 0, 0, 0, '', NULL, 0);
-- Add VerifiedBuild for all spawn positions (old spawns are confirmed by my sniffs).
UPDATE `creature` SET `VerifiedBuild` = 66198 WHERE (`id1` IN (34267, 34273, 34269, 34271));
-- Remove old formations and add two new ones.
DELETE FROM `creature_formations` WHERE (`LeaderGUID` IN (137497, 137495, 137486, 137488));
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(137497, 137497, 0, 0, 3, 0, 0),
(137497, 137490, 0, 0, 3, 0, 0),
(137497, 137492, 0, 0, 3, 0, 0),
(137497, 137485, 0, 0, 3, 0, 0),
(137497, 137488, 0, 0, 3, 0, 0),
(137497, 137517, 0, 0, 3, 0, 0),
(137497, 137513, 0, 0, 3, 0, 0),
(137497, 137494, 0, 0, 3, 0, 0),
(137495, 137495, 0, 0, 3, 0, 0),
(137495, 137491, 0, 0, 3, 0, 0),
(137495, 137486, 0, 0, 3, 0, 0),
(137495, 137487, 0, 0, 3, 0, 0),
(137495, 137512, 0, 0, 3, 0, 0),
(137495, 137493, 0, 0, 3, 0, 0),
(137495, 137514, 0, 0, 3, 0, 0),
(137495, 137489, 0, 0, 3, 0, 0);