diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-09-24 01:58:33 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-09-30 20:28:59 +0200 |
commit | 5f05df2b15e97e8a4f36f1fc238483cad4a7202a (patch) | |
tree | 55e349f1bc4806bbc99186a9774654f1057c82ce | |
parent | 3bf2c3da712d9fe33e96e8414c7d88b075616cfd (diff) |
DB/Halls of Stone: Migrate linked_respawn to spawn groups
(cherry picked from commit b19d7c51f5736c59fff594069a76348bfe4bb27e)
-rw-r--r-- | sql/updates/world/master/2022_09_30_23_world_2022_09_24_00_world.sql | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_09_30_23_world_2022_09_24_00_world.sql b/sql/updates/world/master/2022_09_30_23_world_2022_09_24_00_world.sql new file mode 100644 index 00000000000..2a9897d29b2 --- /dev/null +++ b/sql/updates/world/master/2022_09_30_23_world_2022_09_24_00_world.sql @@ -0,0 +1,39 @@ +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN 242 AND 245; +INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES +(242,'Halls of Stone - Krystallus',4), +(243,'Halls of Stone - Maiden of Grief',4), +(244,'Halls of Stone - Tribunal of Ages',4), +(245,'Halls of Stone - Sjonnir the Ironshaper',4); + +DELETE FROM `instance_spawn_groups` WHERE `spawnGroupId` BETWEEN 242 AND 245; +INSERT INTO `instance_spawn_groups` (`instanceMapId`,`bossStateId`,`bossStates`,`spawnGroupId`,`flags`) VALUES +(599,0,23,242,1), +(599,1,23,243,1), +(599,2,23,244,1), +(599,3,23,245,1); + +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN 242 AND 245; +INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES +(242,0,126790), +(243,0,126789), +(244,0,126743), +(244,0,126742), +(244,0,126737), +(244,0,126733), +(244,0,126738), +(244,0,126745), +(244,0,126744), +(244,0,126739), +(244,0,126815), +(244,0,126816), +(244,0,126817), +(244,0,126801), +(244,0,126800), +(244,0,126746), +(244,0,126749), +(244,0,126750), +(244,1,65564), +(244,1,151790), +(245,0,126792); + +DELETE FROM `linked_respawn` WHERE `linkedGuid` IN (126790,126789,126792); |