From d57198c983133fc1eb73fc4f661ef94f4d2e686a Mon Sep 17 00:00:00 2001 From: KalopsiaTwilight Date: Sun, 31 Mar 2024 10:38:55 +0200 Subject: [PATCH] Add tirisfal terrainswap --- .../world/2024_03_24_add_tirisfal_terrainswap.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sql/custom/world/2024_03_24_add_tirisfal_terrainswap.sql diff --git a/sql/custom/world/2024_03_24_add_tirisfal_terrainswap.sql b/sql/custom/world/2024_03_24_add_tirisfal_terrainswap.sql new file mode 100644 index 0000000000000..be08927e68abc --- /dev/null +++ b/sql/custom/world/2024_03_24_add_tirisfal_terrainswap.sql @@ -0,0 +1,11 @@ +DELETE FROM `terrain_swap_defaults` WHERE `TerrainSwapMap` = 1931; +INSERT INTO `terrain_swap_defaults` (`MapId`, `TerrainSwapMap`, `Comment`) VALUES +(0, 1931, 'Lordaeron Blight'); + +DELETE FROM `terrain_worldmap` WHERE `TerrainSwapMap` = 1019; +INSERT INTO `terrain_worldmap` (`TerrainSwapMap`, `UiMapPhaseId`, `Comment`) VALUES +(1931, 11519, 'Lordaeron Blight'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 25 AND `SourceEntry` = 1019; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(25, 0, 1931, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 'TerrainSwap to Lordaeron Blight');