aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-09-24 01:58:33 +0200
committerShauren <shauren.trinity@gmail.com>2022-09-24 01:58:33 +0200
commitb19d7c51f5736c59fff594069a76348bfe4bb27e (patch)
treef63415ee2b7d3b416823bd736f47b116ac88cdc0
parent6c351bd6978bd704667bdbcf71c19210e5f04786 (diff)
DB/Halls of Stone: Migrate linked_respawn to spawn groups
-rw-r--r--sql/updates/world/3.3.5/2022_09_24_00_world.sql39
1 files changed, 39 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2022_09_24_00_world.sql b/sql/updates/world/3.3.5/2022_09_24_00_world.sql
new file mode 100644
index 00000000000..2a9897d29b2
--- /dev/null
+++ b/sql/updates/world/3.3.5/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);