diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-09-21 00:39:31 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-09-30 18:03:08 +0200 |
commit | 293f63961a28da98f93a3482ed321bae677eda71 (patch) | |
tree | 8ae2546bea1dd18e94e54bc13c347dd8cabba98a | |
parent | bfa0a5bf6cb1e13bb4fa103c2eb1e9d2ce924316 (diff) |
DB/Shadow Labyrinth: Migrate linked_respawn to spawn groups
(cherry picked from commit 647de4039edaef56abc76438c366fae216c19702)
-rw-r--r-- | sql/updates/world/master/2022_09_30_08_world_2022_09_21_01_world.sql | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_09_30_08_world_2022_09_21_01_world.sql b/sql/updates/world/master/2022_09_30_08_world_2022_09_21_01_world.sql new file mode 100644 index 00000000000..86595cb893e --- /dev/null +++ b/sql/updates/world/master/2022_09_30_08_world_2022_09_21_01_world.sql @@ -0,0 +1,26 @@ +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN 195 AND 198; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES +(195,'Auchindoun: Shadow Labyrinth - Ambassador Hellmaw',4), +(196,'Auchindoun: Shadow Labyrinth - Blackheart the Inciter',4), +(197,'Auchindoun: Shadow Labyrinth - Grandmaster Vorpil',4), +(198,'Auchindoun: Shadow Labyrinth - Murmur',4); + +DELETE FROM `instance_spawn_groups` WHERE `spawnGroupId` BETWEEN 195 AND 198; +INSERT INTO `instance_spawn_groups` (`instanceMapId`,`bossStateId`,`bossStates`,`spawnGroupId`,`flags`) VALUES +(555,0,23,195,1), +(555,1,23,196,1), +(555,2,23,197,1), +(555,3,23,198,1); + +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN 195 AND 198; +INSERT INTO `spawn_group` SELECT 195, 0, `guid` FROM `linked_respawn` WHERE `linkedGuid`=66999 AND `linkType` IN (0,3); +INSERT INTO `spawn_group` SELECT 196, 0, `guid` FROM `linked_respawn` WHERE `linkedGuid`=66937 AND `linkType` IN (0,3); +INSERT INTO `spawn_group` SELECT 197, 0, `guid` FROM `linked_respawn` WHERE `linkedGuid`=67000 AND `linkType` IN (0,3); +INSERT INTO `spawn_group` SELECT 198, 0, `guid` FROM `linked_respawn` WHERE `linkedGuid`=66952 AND `linkType` IN (0,3); +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES +(195,0,66999), +(196,0,66937), +(197,0,67000), +(198,0,66952); + +DELETE FROM `linked_respawn` WHERE `linkedGuid` IN (66999,66937,67000,66952); |