aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-10-04 15:51:44 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-03-05 01:32:59 +0100
commitc6e6c7d2ab407f6ffda1eae7d8959e2b3b8b5181 (patch)
treea3f847ae5bae6476c7fbc866912075a387d49c80
parentb84d0e9fd47975b0c78ed3d67df2f5d867964307 (diff)
DB/Conditions: quests Southern Sabotage and Toppling the Towers are only available if the respective faction is defending Wintergrasp.
Also codestyle stealthfix. (cherry picked from commit df36e4b95d96732c038ab6a30af2a398e93d4b08)
-rw-r--r--sql/updates/world/master/2017_03_05_03_world_2016_10_04_02_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_03_05_03_world_2016_10_04_02_world.sql b/sql/updates/world/master/2017_03_05_03_world_2016_10_04_02_world.sql
new file mode 100644
index 00000000000..b8981276d96
--- /dev/null
+++ b/sql/updates/world/master/2017_03_05_03_world_2016_10_04_02_world.sql
@@ -0,0 +1,7 @@
+--
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (19, 20) AND `SourceEntry` IN (13538, 13539);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(19, 0, 13538, 0, 0, 48, 0, 0, 0, 0, 1, 0, 0, "", "Alliance quest 'Southern Sabotage' is available if Wintergrasp is held by Alliance"),
+(20, 0, 13538, 0, 0, 48, 0, 0, 0, 0, 1, 0, 0, "", "Quest mark for Alliance quest 'Southern Sabotage' is available if Wintergrasp is held by Alliance"),
+(19, 0, 13539, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, "", "Horde quest 'Toppling the Towers' is available if Wintergrasp is held by Horde"),
+(20, 0, 13539, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, "", "Quest mark for Horde quest 'Toppling the Towers' is available if Wintergrasp is held by Horde");