From 0a9ff22a860503460287bb839d0e31d8ee923230 Mon Sep 17 00:00:00 2001 From: neifion-00000000 <91289495+neifion-00000000@users.noreply.github.com> Date: Sat, 27 Aug 2022 07:52:29 -0500 Subject: [PATCH] fix(DB/Creature): ZG Snake Area Unpooled Fixes (#12540) --- .../rev_1658802255073427200.sql | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1658802255073427200.sql diff --git a/data/sql/updates/pending_db_world/rev_1658802255073427200.sql b/data/sql/updates/pending_db_world/rev_1658802255073427200.sql new file mode 100644 index 000000000..7b2836e90 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1658802255073427200.sql @@ -0,0 +1,20 @@ +-- +-- Cleanup on creatures that don't exist +DELETE FROM `creature` WHERE `guid` IN (200616); +DELETE FROM `creature_addon` WHERE `guid` IN (200616); +DELETE FROM `waypoint_data` WHERE `id` IN (2006160); + +-- UPDATE id2 on Axe Thrower / Priest spawn +UPDATE `creature` SET `id2`=11350 WHERE `guid`=49105; + +-- Snakes that can be set both ways +UPDATE `creature` SET `id1`=11371 WHERE `guid` IN (49101, 49098, 49100, 49099, 51451, 51452); +UPDATE `creature` SET `id2`=11372 WHERE `guid` IN (49101, 49098, 49100, 49099, 51451, 51452); + +DELETE FROM `creature_formations` where `leaderGUID`=49101; +-- Link the snakes so they agro together, this should ensure the entire 7 pack agros together while also allowing pooling for the trolls +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(49101, 49101, 0, 0, 3, 0, 0), +(49101, 49098, 0, 0, 3, 0, 0), +(49101, 49100, 0, 0, 3, 0, 0), +(49101, 49099, 0, 0, 3, 0, 0);