fix(DB/Gameobject): Sniffed Values for 'Bread of the Dead' spawns (#24833)

This commit is contained in:
sudlud
2026-02-24 01:49:42 +01:00
committed by GitHub
parent 99aa2991cd
commit 1e96a1a46a

View File

@@ -0,0 +1,38 @@
-- Update gameobject 'Bread of the Dead' with sniffed values
-- updated spawns
DELETE FROM `gameobject` WHERE (`id` IN (195066)) AND (`guid` IN (240285, 240288, 240292, 240293, 240296, 240297, 240299, 240300, 240301, 240305, 240306, 240308, 240311, 240313, 240314, 240317));
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
(240285, 195066, 0, 0, 0, 1, 1, -9328.341796875, 170.201385498046875, 61.66754913330078125, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240288, 195066, 0, 0, 0, 1, 1, -9327.125, 181.875, 61.65489959716796875, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240292, 195066, 0, 0, 0, 1, 1, -5159.9931640625, -869.015625, 507.290924072265625, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240293, 195066, 0, 0, 0, 1, 1, -5159.9130859375, -870.5538330078125, 507.307281494140625, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240296, 195066, 1, 0, 0, 1, 1, 10065.05078125, 2118.71533203125, 1329.6578369140625, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240297, 195066, 1, 0, 0, 1, 1, 10053.484375, 2128.546875, 1329.6578369140625, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240299, 195066, 1, 0, 0, 1, 1, 10053.607421875, 2109.585205078125, 1329.647705078125, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240300, 195066, 0, 0, 0, 1, 1, 1777.3194580078125, 220.55035400390625, 59.57674789428710937, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240301, 195066, 0, 0, 0, 1, 1, 1780.1614990234375, 269.7725830078125, 59.87250518798828125, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240305, 195066, 1, 0, 0, 1, 1, 1186.07470703125, -4471.140625, 21.37079811096191406, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240306, 195066, 1, 0, 0, 1, 1, 1180.1319580078125, -4457.470703125, 21.48912811279296875, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240308, 195066, 1, 0, 0, 1, 1, 1172.30908203125, -4463.2255859375, 21.28818511962890625, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(240311, 195066, 1, 0, 0, 1, 1, -984.6319580078125, -76.1215286254882812, 20.85416603088378906, 0, 0, 0, 0, 1, 120, 255, 1, "", 46368, NULL),
(240313, 195066, 1, 0, 0, 1, 1, -983.00177001953125, -70.0833358764648437, 20.78368377685546875, 0, 0, 0, 0, 1, 120, 255, 1, "", 46368, NULL),
(240314, 195066, 1, 0, 0, 1, 1, -984.9132080078125, -75.1597213745117187, 20.9375, 0, 0, 0, 0, 1, 120, 255, 1, "", 46368, NULL),
(240317, 195066, 1, 0, 0, 1, 1, -984.30902099609375, -72.329864501953125, 20.99181556701660156, 0, 0, 0, 0, 1, 120, 255, 1, "", 46368, NULL);
-- new spawns
DELETE FROM `gameobject` WHERE (`id` IN (195066)) AND (`guid` IN (1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250));
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
(1241, 195066, 530, 0, 0, 1, 1, -1782.203125, 4935.56494140625, -22.6640510559082031, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1242, 195066, 530, 0, 0, 1, 1, -1835.9114990234375, 4922.8037109375, -21.2072257995605468, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1243, 195066, 530, 0, 0, 1, 1, -4310.30224609375, -12439.513671875, 17.13646507263183593, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1244, 195066, 530, 0, 0, 1, 1, -4318.94775390625, -12448.236328125, 17.12119102478027343, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1245, 195066, 530, 0, 0, 1, 1, -4319.33837890625, -12455.673828125, 17.32951545715332031, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1246, 195066, 530, 0, 0, 1, 1, -4322.93212890625, -12439.4658203125, 17.49305534362792968, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1247, 195066, 530, 0, 0, 1, 1, 9418.6708984375, -6849.43603515625, 15.08937931060791015, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1248, 195066, 530, 0, 0, 1, 1, 9418.8916015625, -6854.56591796875, 14.94360065460205078, 0, 0, 0, 0, 1, 120, 255, 1, "", 51943, NULL),
(1249, 195066, 571, 0, 0, 1, 1, 5851.9697265625, 771.310791015625, 641.49603271484375, 0, 0, 0, 0, 1, 120, 255, 1, "", 46248, NULL),
(1250, 195066, 571, 0, 0, 1, 1, 5856.6416015625, 765.55731201171875, 641.31524658203125, 0, 0, 0, 0, 1, 120, 255, 1, "", 46248, NULL);
-- enable all spawns for eventEntry 51
DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 51) AND (`guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (195066)));
INSERT INTO `game_event_gameobject` (SELECT 51, `guid` FROM `gameobject` WHERE `id` IN (195066));