From 02db52b39385bf308e52981d97f288ae6f0cd8e1 Mon Sep 17 00:00:00 2001 From: Killyana Date: Mon, 4 Jul 2016 02:47:19 +0200 Subject: DB/Quest: Fix availability for quest "Gaining the Advantage" By SnapperRy Closes #17494 (cherry picked from commit 1b1348fca637c26ba209789ed5b9d06ab232288c) --- .../master/2017_02_04_20_world_2016_07_04_08_world.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sql/updates/world/master/2017_02_04_20_world_2016_07_04_08_world.sql (limited to 'sql') 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"); -- cgit v1.2.3