From e309a8090aedff458f9863585073263922ae9f90 Mon Sep 17 00:00:00 2001 From: KJack Date: Wed, 20 Mar 2024 00:45:44 -0400 Subject: [PATCH] fix(DB/Formation) Scholo: Make Alexei Barov's adds respawn correctly (#17590) * Make Alexi Barov's adds respawn correctly * Add `linked_respawn` between Alexei and his adds * Don't pull formation if boss aura hits - no longer pulls the group if the boss' aura hits a player - all three creatures still pull together --- .../pending_db_world/rev_1698310971939947916.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1698310971939947916.sql diff --git a/data/sql/updates/pending_db_world/rev_1698310971939947916.sql b/data/sql/updates/pending_db_world/rev_1698310971939947916.sql new file mode 100644 index 000000000..e1b5fab61 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1698310971939947916.sql @@ -0,0 +1,12 @@ +-- Lord Alexei Barov (10504) creature formation with adds + respawn +DELETE FROM `creature_formations` WHERE (`leaderGUID` = 48863); +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(48863, 48862, 0, 0, 24, 0, 0), +(48863, 48863, 0, 0, 24, 0, 0), +(48863, 48864, 0, 0, 24, 0, 0); + +-- Lord Alexei Barov (10504) linked respawns with adds +DELETE FROM `linked_respawn` WHERE `linkedGuid`=48863 AND `linkType`=0; +INSERT INTO `linked_respawn` (`guid`, `linkedGuid`, `linkType`) VALUES +(48862, 48863, 0), +(48864, 48863, 0);