From 4b8f5cedbc76ca44e71bda6f6a14e6fd88e16c90 Mon Sep 17 00:00:00 2001 From: osleyder85 Date: Sat, 7 Dec 2019 18:02:56 +0100 Subject: DB: Change of the "Silithus" map to "Silithus: The Wound" upon reaching level 110 Closes #23939 --- sql/updates/world/master/2019_12_07_00_world.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sql/updates/world/master/2019_12_07_00_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2019_12_07_00_world.sql b/sql/updates/world/master/2019_12_07_00_world.sql new file mode 100644 index 00000000000..6e8307cee0b --- /dev/null +++ b/sql/updates/world/master/2019_12_07_00_world.sql @@ -0,0 +1,12 @@ +-- +DELETE FROM `terrain_swap_defaults` WHERE `TerrainSwapMap` = 1817; +INSERT INTO `terrain_swap_defaults` (`MapId`, `TerrainSwapMap`, `Comment`) VALUES +(1, 1817, 'Silithus: The Wound'); + +DELETE FROM `terrain_worldmap` WHERE `TerrainSwapMap` = 1817; +INSERT INTO `terrain_worldmap` (`TerrainSwapMap`, `UiMapPhaseId`, `Comment`) VALUES +(1817, 9491, 'Silithus: The Wound'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 25 AND `SourceEntry` = 1817; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(25, 0, 1817, 0, 0, 27, 0, 110, 3, 0, 0, 0, 0, '', 'TerrainSwap 1817 only when player has level 110'); -- cgit v1.2.3