DB: Change of the "Silithus" map to "Silithus: The Wound" upon reaching level 110

Closes #23939
This commit is contained in:
osleyder85
2019-12-07 18:02:56 +01:00
committed by Killyana
parent 61f2eed353
commit 4b8f5cedbc

View File

@@ -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');