aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-10-08 20:44:57 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-09-05 11:25:35 +0200
commit0961b174476ea4aa42f6da7e24c44f135a794037 (patch)
treef47b577c40846d446c1b0129334b1c35bf25ea4d
parent1fed5d571a278bad56915d56a5efe6b21a09a1c6 (diff)
DB/Wintergrasp: availability of different No Mercy for the Merciless and Slay Them All! depends on who is currently holding the keep.
(cherry picked from commit dab2203c1b77d9952bfbd7f034fa5a5da12da7d7)
-rw-r--r--sql/updates/world/master/2017_09_05_06_world_2016_10_08_05_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_09_05_06_world_2016_10_08_05_world.sql b/sql/updates/world/master/2017_09_05_06_world_2016_10_08_05_world.sql
new file mode 100644
index 00000000000..bd835ab05fa
--- /dev/null
+++ b/sql/updates/world/master/2017_09_05_06_world_2016_10_08_05_world.sql
@@ -0,0 +1,7 @@
+--
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (19) AND `SourceEntry` IN (13177, 13179, 13178, 13180);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(19, 0, 13177, 0, 0, 32, 0, 144, 0, 0, 0, 0, 0, "condition_is_wintergrasp_alliance", "Alliance quest 'No Mercy for the Merciless' is available if Wintergrasp is held by Alliance"),
+(19, 0, 13179, 0, 0, 32, 0, 144, 0, 0, 0, 0, 0, "condition_is_wintergrasp_horde", "Alliance quest 'No Mercy for the Merciless' is available if Wintergrasp is held by Horde"),
+(19, 0, 13178, 0, 0, 32, 0, 144, 0, 0, 0, 0, 0, "condition_is_wintergrasp_horde", "Horde quest 'Slay Them All!' is available if Wintergrasp is held by Horde"),
+(19, 0, 13180, 0, 0, 32, 0, 144, 0, 0, 0, 0, 0, "condition_is_wintergrasp_alliance", "Horde quest 'Slay Them All!' is available if Wintergrasp is held by Alliance");