From ebaa92fd87a13570c2d88f1b3470e8a47200ac78 Mon Sep 17 00:00:00 2001 From: sudlud Date: Thu, 24 Oct 2024 23:35:17 +0200 Subject: [PATCH] =?UTF-8?q?fix(DB/Creature):=20Sniffed=20Values=20for=20'H?= =?UTF-8?q?eadless=20Horseman=20-=20Fire=20(DND)'=E2=80=A6=20(#20288)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(DB/Creature): Sniffed Values for 'Headless Horseman - Fire (DND)' spawns --- .../rev_1729801306113720000.sql | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1729801306113720000.sql diff --git a/data/sql/updates/pending_db_world/rev_1729801306113720000.sql b/data/sql/updates/pending_db_world/rev_1729801306113720000.sql new file mode 100644 index 000000000..027bac496 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1729801306113720000.sql @@ -0,0 +1,45 @@ +-- Update creature 'Headless Horseman - Fire (DND)' with sniffed values +-- updated spawns +DELETE FROM `creature` WHERE (`id1` IN (23537)) +AND (`guid` IN (240015, 240016, 240017, 240018, 240019, 240020, 240021, 240022, 240023, 240024, 240025, 86582, 86583, 86584, 86585, 86586, 86587, 86588, 86589, 86590)); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(240015, 23537, 0, 1, 1, 0, -5747.29638671875, -527.312744140625, 400.115203857421875, 1.274090290069580078, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(240016, 23537, 0, 1, 1, 0, -9328.2568359375, 55.92361068725585937, 62.85633087158203125, 0, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(240017, 23537, 1, 1, 1, 0, 286.57635498046875, -4561.42578125, 27.65813064575195312, 2.426007747650146484, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(240018, 23537, 530, 1, 1, 0, -4192.44677734375, -12268.0634765625, 1.632104396820068359, 5.375614166259765625, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(240019, 23537, 530, 1, 1, 0, -4207.79931640625, -12276.6748046875, 3.902661323547363281, 6.195918560028076171, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(240020, 23537, 530, 1, 1, 0, 9235.0185546875, -6783.47607421875, 25.52999687194824218, 1.326450228691101074, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(240021, 23537, 0, 1, 1, 0, -5761.04443359375, -528.05767822265625, 403.967010498046875, 1.064650893211364746, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(240022, 23537, 0, 1, 1, 0, -5753.0244140625, -532.90118408203125, 404.06353759765625, 0.663225114345550537, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(240023, 23537, 0, 1, 1, 0, -9313.662109375, 52.94249343872070312, 77.0829620361328125, 0, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(240024, 23537, 0, 1, 1, 0, 2239.493408203125, 487.851959228515625, 37.7115020751953125, 1.239183783531188964, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(240025, 23537, 0, 1, 1, 0, 2240.094970703125, 459.13421630859375, 38.47824859619140625, 4.694935798645019531, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(86582, 23537, 530, 1, 1, 0, 9229.3251953125, -6780.56396484375, 27.1305389404296875, 0.471238881349563598, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(86583, 23537, 530, 1, 1, 0, 9224.12890625, -6777.6748046875, 28.46907806396484375, 4.450589656829833984, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(86584, 23537, 530, 1, 1, 0, 9224.6826171875, -6770.99609375, 27.34550857543945312, 5.846852779388427734, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(86585, 23537, 530, 1, 1, 0, 9225.48046875, -6765.25732421875, 26.13934898376464843, 0.279252678155899047, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(86586, 23537, 530, 1, 1, 0, -4203.650390625, -12283.09765625, 2.559959173202514648, 1.623156189918518066, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(86587, 23537, 1, 1, 1, 0, 289.5565185546875, -4568.08935546875, 36.44684982299804687, 3.577924966812133789, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(86588, 23537, 1, 1, 1, 0, 292.838531494140625, -4558.9853515625, 28.96080589294433593, 2.39110112190246582, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(86589, 23537, 0, 1, 1, 0, 2235.05322265625, 472.6627197265625, 38.12391281127929687, 4.380776405334472656, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(86590, 23537, 0, 1, 1, 0, -9314.0712890625, 45.91433334350585937, 72.608642578125, 0, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL); + +-- new spawns +DELETE FROM `creature` WHERE (`id1` IN (23537)) +AND (`guid` BETWEEN 12731 AND 12740); +INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES +(12731, 23537, 0, 1, 1, 0, -5754.14794921875, -526.8839111328125, 402.474517822265625, 1.047197580337524414, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(12732, 23537, 0, 1, 1, 0, -5758.3759765625, -522.03582763671875, 399.287109375, 2.199114799499511718, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(12733, 23537, 0, 1, 1, 0, -9313.228515625, 58.63737106323242187, 75.74405670166015625, 0, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(12734, 23537, 0, 1, 1, 0, -9321.349609375, 64.154571533203125, 67.34832000732421875, 0, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(12735, 23537, 0, 1, 1, 0, 2230.423828125, 464.64739990234375, 40.50502777099609375, 2.373647689819335937, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(12736, 23537, 0, 1, 1, 0, 2231.300048828125, 482.617034912109375, 40.07016372680664062, 3.124139308929443359, 120, 0, 0, 0, 0, 0, "", 46158, 1, NULL), +(12737, 23537, 1, 1, 1, 0, 277.961334228515625, -4568.71337890625, 24.16183853149414062, 4.118977069854736328, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(12738, 23537, 1, 1, 1, 0, 296.082916259765625, -4565.27978515625, 36.7506256103515625, 1.989675283432006835, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(12739, 23537, 530, 1, 1, 0, -4198.75341796875, -12264.4755859375, 3.137856245040893554, 4.625122547149658203, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL), +(12740, 23537, 530, 1, 1, 0, -4203.5556640625, -12270.728515625, 3.779903173446655273, 6.021385669708251953, 120, 0, 0, 0, 0, 0, "", 45942, 1, NULL); + +-- enable all spawns for eventEntry 12 +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 12) +AND (`guid` IN (SELECT `guid` FROM `creature` WHERE `id1` IN (23537))); +INSERT INTO `game_event_creature` (SELECT 12, `guid` FROM `creature` WHERE `id1` IN (23537));