From 532fd59367181b32c5ea33e7d6dac763ccf7b62b Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Wed, 29 Mar 2023 01:29:35 -0300 Subject: [PATCH] fix(DB/Creature): Add missing trash pack in Mechanar (#15569) * Create rev_1679691936592297600.sql * Update rev_1679691936592297600.sql --- .../pending_db_world/rev_1679691936592297600.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1679691936592297600.sql diff --git a/data/sql/updates/pending_db_world/rev_1679691936592297600.sql b/data/sql/updates/pending_db_world/rev_1679691936592297600.sql new file mode 100644 index 000000000..8bc0b6f39 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1679691936592297600.sql @@ -0,0 +1,16 @@ +-- +SET @CGUID := 138800; + +DELETE FROM `creature` WHERE `id1` IN (19168, 19510) AND `map`=554 AND `guid` BETWEEN @CGUID+94 AND @CGUID+97; +INSERT INTO `creature` (`guid`, `id1`, `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`, `VerifiedBuild`) VALUES +(@CGUID+94, 19510, 554, 3849, 3849, 3, 1, 1, 274.302032470703125, -17.8063602447509765, 26.41173362731933593, 0.157079637050628662, 86400, 0, 0, 0, 0, 0, 0, 0, 0, 43400), +(@CGUID+95, 19168, 554, 3849, 3849, 3, 1, 0, 272.1549072265625, -24.658304214477539, 26.41173171997070312, 6.161012172698974609, 86400, 0, 0, 0, 0, 0, 0, 0, 0, 43400), +(@CGUID+96, 19510, 554, 3849, 3849, 3, 1, 1, 274.13446044921875, -28.7062282562255859, 26.41173362731933593, 0, 86400, 0, 0, 0, 0, 0, 0, 0, 0, 43400), +(@CGUID+97, 19168, 554, 3849, 3849, 3, 1, 0, 272.077850341796875, -20.9663429260253906, 26.41172981262207031, 6.195918560028076171, 86400, 0, 0, 0, 0, 0, 0, 0, 0, 43400); + +DELETE FROM `creature_formations` WHERE `leaderGUID` = @CGUID+94 AND `memberGUID` IN (@CGUID+94, @CGUID+95, @CGUID+96, @CGUID+97); +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(@CGUID+94, @CGUID+94, 0, 0, 3), +(@CGUID+94, @CGUID+95, 0, 0, 3), +(@CGUID+94, @CGUID+96, 0, 0, 3), +(@CGUID+94, @CGUID+97, 0, 0, 3);