fix(DB/Creature): Remove extra Shaffar adds (#22255)

This commit is contained in:
Martin Leuner
2025-06-05 17:43:52 +02:00
committed by GitHub
parent b0c2d3a13b
commit 1f082cb29c
2 changed files with 10 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
-- Link pre-spawned Ethereal Beacons to Nexus-Prince Shaffar so they respawn on reset
SET @SHAFFAR_GUID := 91162;
SET @AI_FLAGS := 1 | 2 | 8 | 16;
DELETE FROM `creature_formations` WHERE `leaderGUID` = @SHAFFAR_GUID;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@SHAFFAR_GUID, @SHAFFAR_GUID, 0, 0, @AI_FLAGS, 0, 0),
(@SHAFFAR_GUID, 91131, 0, 0, @AI_FLAGS, 0, 0),
(@SHAFFAR_GUID, 91132, 0, 0, @AI_FLAGS, 0, 0),
(@SHAFFAR_GUID, 91133, 0, 0, @AI_FLAGS, 0, 0);