aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2016-07-04 02:47:19 +0200
committerKillyana <morphone1@gmail.com>2016-07-04 02:47:19 +0200
commit1b1348fca637c26ba209789ed5b9d06ab232288c (patch)
treeb1f8b7fe216093c45cc4b9c5cf5aae0a906b6d82
parente5fefebfc3848e11f171b3720385708115b4c222 (diff)
DB/Quest: Fix availability for quest "Gaining the Advantage"
By SnapperRy Closes #17494
-rw-r--r--sql/updates/world/3.3.5/2016_07_04_08_world.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_07_04_08_world.sql b/sql/updates/world/3.3.5/2016_07_04_08_world.sql
new file mode 100644
index 00000000000..3af82274a98
--- /dev/null
+++ b/sql/updates/world/3.3.5/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");