aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2016-07-04 02:47:19 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-04 23:11:01 +0100
commit02db52b39385bf308e52981d97f288ae6f0cd8e1 (patch)
tree63861cd3789ac56d95a63440f4ae7f327a37c33f
parent3ef6d93347ace0c7bd06f8b622d0abd54d444240 (diff)
DB/Quest: Fix availability for quest "Gaining the Advantage"
By SnapperRy Closes #17494 (cherry picked from commit 1b1348fca637c26ba209789ed5b9d06ab232288c)
-rw-r--r--sql/updates/world/master/2017_02_04_20_world_2016_07_04_08_world.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_02_04_20_world_2016_07_04_08_world.sql b/sql/updates/world/master/2017_02_04_20_world_2016_07_04_08_world.sql
new file mode 100644
index 00000000000..3af82274a98
--- /dev/null
+++ b/sql/updates/world/master/2017_02_04_20_world_2016_07_04_08_world.sql
@@ -0,0 +1,13 @@
+--
+UPDATE `quest_template_addon` SET `PrevQuestId`=0 WHERE `Id`=11875;
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (19, 20) AND `SourceEntry`=11875;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(19, 0, 11875, 0, 0, 25, 0, 29354, 0, 0, 0, 0, 0, "", "Quest Gaining the Advantage requires Master Mining learned OR"),
+(20, 0, 11875, 0, 0, 25, 0, 29354, 0, 0, 0, 0, 0, "", "Quest Gaining the Advantage requires Master Mining learned OR"),
+
+(19, 0, 11875, 0, 1, 25, 0, 32678, 0, 0, 0, 0, 0, "", "Quest Gaining the Advantage requires Master Skinning learned OR"),
+(20, 0, 11875, 0, 1, 25, 0, 32678, 0, 0, 0, 0, 0, "", "Quest Gaining the Advantage requires Master Skinning learned OR"),
+
+(19, 0, 11875, 0, 2, 25, 0, 28695, 0, 0, 0, 0, 0, "", "Quest Gaining the Advantage requires Master Herbalism learned"),
+(20, 0, 11875, 0, 2, 25, 0, 28695, 0, 0, 0, 0, 0, "", "Quest Gaining the Advantage requires Master Herbalism learned");