From 4349adf0f25210e5b26201523a09bc26b4a83394 Mon Sep 17 00:00:00 2001 From: Killyana Date: Thu, 16 Mar 2017 03:22:05 +0100 Subject: [PATCH] DB/Quest: Fix some quest chains Ref #19300 --- sql/updates/world/3.3.5/2017_03_16_00_world.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/3.3.5/2017_03_16_00_world.sql diff --git a/sql/updates/world/3.3.5/2017_03_16_00_world.sql b/sql/updates/world/3.3.5/2017_03_16_00_world.sql new file mode 100644 index 00000000000..25ee49e66fd --- /dev/null +++ b/sql/updates/world/3.3.5/2017_03_16_00_world.sql @@ -0,0 +1,8 @@ +-- +UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `id` IN (415, 618, 8554); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 19 AND `SourceEntry`= 619; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(19, 0, 619, 0, 0, 9, 0, 618, 0, 0, 0, 0, 0, '', "Enticing Negolash"), +(19, 0, 619, 0, 1, 9, 0, 8554, 0, 0, 0, 0, 0, '', "Enticing Negolash"); +UPDATE `quest_template_addon` SET `PrevQuestID`=12294, `NextQuestID`=12225, `ExclusiveGroup`=-12222 WHERE `id` IN (12222); +UPDATE `quest_template_addon` SET `PrevQuestID`=12294, `NextQuestID`=12225, `ExclusiveGroup`=-12222 WHERE `id` IN (12223);