diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-09-21 01:14:29 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-09-21 01:14:29 +0200 |
commit | 5df222f0258aac8515d28385bf57f8ac637c99d5 (patch) | |
tree | e82a70a33ed86f75be6052e90a0a066e10cdf650 | |
parent | 4af85482068de5fcd604701b8ef3f0d2b31f138d (diff) |
DB/Auchenai Crypts: Migrate linked_respawn to spawn groups
-rw-r--r-- | sql/updates/world/3.3.5/2022_09_21_04_world.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2022_09_21_04_world.sql b/sql/updates/world/3.3.5/2022_09_21_04_world.sql new file mode 100644 index 00000000000..2bcdcb8d1f6 --- /dev/null +++ b/sql/updates/world/3.3.5/2022_09_21_04_world.sql @@ -0,0 +1,18 @@ +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN 204 AND 205; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES +(204,'Auchindoun: Auchenai Crypts - Shirrak the Dead Watcher',4), +(205,'Auchindoun: Auchenai Crypts - Exarch Maladaar',4); + +DELETE FROM `instance_spawn_groups` WHERE `spawnGroupId` BETWEEN 204 AND 205; +INSERT INTO `instance_spawn_groups` (`instanceMapId`,`bossStateId`,`bossStates`,`spawnGroupId`,`flags`) VALUES +(556,0,23,204,1), +(556,1,23,205,1); + +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN 204 AND 205; +INSERT INTO `spawn_group` SELECT 204, 0, `guid` FROM `linked_respawn` WHERE `linkedGuid`=83388 AND `linkType` IN (0,3); +INSERT INTO `spawn_group` SELECT 205, 0, `guid` FROM `linked_respawn` WHERE `linkedGuid`=83453 AND `linkType` IN (0,3); +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES +(204,0,83388), +(205,0,83453); + +DELETE FROM `linked_respawn` WHERE `linkedGuid` IN (83388,83453); |