mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
fix(DB/Gameobject): Sniffed Values for 'Water Barrel' spawns (#20280)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
-- Update gameobject 'Water Barrel' with sniffed values
|
||||
-- updated spawns
|
||||
DELETE FROM `gameobject` WHERE (`id` IN (186234))
|
||||
AND (`guid` IN (39922, 43047, 43048, 43051, 43055, 43064, 43072, 43077, 66914, 66923, 66927, 78408));
|
||||
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
|
||||
(39922, 186234, 0, 0, 0, 1, 1, -9374.9619140625, 52.44444656372070312, 60.75905227661132812, 2.792518377304077148, 0, 0, 0.984807014465332031, 0.173652306199073791, 120, 255, 1, "", 46158, NULL),
|
||||
(43047, 186234, 1, 0, 0, 1, 1, 352.680572509765625, -4740.74658203125, 9.621239662170410156, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 120, 255, 1, "", 45942, NULL),
|
||||
(43048, 186234, 1, 0, 0, 1, 1, 239.62872314453125, -4562.00830078125, 14.27222061157226562, 2.792518377304077148, 0, 0, 0.984807014465332031, 0.173652306199073791, 120, 255, 1, "", 45942, NULL),
|
||||
(43051, 186234, 530, 0, 0, 1, 1, 9510.8359375, -6811.96533203125, 16.48661231994628906, 0.418878614902496337, 0, 0, 0.207911491394042968, 0.978147625923156738, 120, 255, 1, "", 45942, NULL),
|
||||
(43055, 186234, 0, 0, 0, 1, 1, 2232.4375, 277.013885498046875, 34.78683853149414062, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 120, 255, 1, "", 45942, NULL),
|
||||
(43064, 186234, 530, 0, 0, 1, 1, -4185.75341796875, -12504.5302734375, 44.36132049560546875, 3.94444584846496582, 0, 0, -0.92050457000732421, 0.3907318115234375, 120, 255, 1, "", 46158, NULL),
|
||||
(43072, 186234, 0, 0, 0, 1, 1, -5751.90087890625, -483.79339599609375, 396.50201416015625, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 120, 255, 1, "", 46158, NULL),
|
||||
(43077, 186234, 0, 0, 0, 1, 1, -5624.01611328125, -478.673828125, 396.980255126953125, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 120, 255, 1, "", 46158, NULL),
|
||||
(66914, 186234, 530, 0, 0, 1, 1, -4193.51025390625, -12277.8232421875, 0.310070991516113281, 1.256635904312133789, 0, 0, 0.587784767150878906, 0.809017360210418701, 120, 255, 1, "", 45942, NULL),
|
||||
(66923, 186234, 0, 0, 0, 1, 1, 2254.413330078125, 474.39410400390625, 33.878875732421875, 2.792518377304077148, 0, 0, 0.984807014465332031, 0.173652306199073791, 120, 255, 1, "", 46158, NULL),
|
||||
(66927, 186234, 0, 0, 0, 1, 1, -9432.3642578125, 60.296875, 56.40962600708007812, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 120, 255, 1, "", 46158, NULL),
|
||||
(78408, 186234, 530, 0, 0, 1, 1, 9235.0615234375, -6770.26318359375, 24.79453277587890625, 2.792518377304077148, 0, 0, 0.984807014465332031, 0.173652306199073791, 120, 255, 1, "", 45942, NULL);
|
||||
|
||||
-- remove duplicate spawns
|
||||
DELETE FROM `gameobject` WHERE (`id` IN (186234))
|
||||
AND (`guid` IN (240002));
|
||||
DELETE FROM `gameobject_addon` WHERE (`guid` IN (240002));
|
||||
DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 12) AND (`guid` IN (240002));
|
||||
|
||||
-- enable all spawns for eventEntry 12
|
||||
DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 12)
|
||||
AND (`guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (186234)));
|
||||
INSERT INTO `game_event_gameobject` (SELECT 12, `guid` FROM `gameobject` WHERE `id` IN (186234));
|
||||
Reference in New Issue
Block a user