From 186be3714f8a9a71c2f1506cb4a853b3bb829387 Mon Sep 17 00:00:00 2001 From: Dr-J Date: Fri, 6 Oct 2017 22:17:15 +0100 Subject: DB/Quest: Alchemy Specialisation Breadcrumbs (3.3.5) The first quest to learn alchemy specialisations should be optional but should not be available if player has already taken the quest it leads to --- sql/updates/world/3.3.5/2017_10_06_09_world335.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/3.3.5/2017_10_06_09_world335.sql (limited to 'sql/updates') diff --git a/sql/updates/world/3.3.5/2017_10_06_09_world335.sql b/sql/updates/world/3.3.5/2017_10_06_09_world335.sql new file mode 100644 index 00000000000..85f940df7c1 --- /dev/null +++ b/sql/updates/world/3.3.5/2017_10_06_09_world335.sql @@ -0,0 +1,8 @@ +UPDATE `quest_template_addon` SET `PrevQuestID` =0 WHERE `ID`IN(10899,10902,10897); +UPDATE `quest_template_addon` SET `NextQuestID` =0 WHERE `ID`IN(10907,10906,10905); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` =19 AND `SourceEntry`IN(10907,10906,10905) AND `ConditionTypeOrReference`=14 AND `ConditionValue1`IN(10899,10902,10897); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19, 0, 10907, 0, 0, 14, 0, 10899, 0, 0, 0, 0, 0, '', 'Master of Transmutation 1/2 is Optional BreadCrumb Quest'), +(19, 0, 10906, 0, 0, 14, 0, 10902, 0, 0, 0, 0, 0, '', 'Master of Elixirs 1/2 is Optional BreadCrumb Quest'), +(19, 0, 10905, 0, 0, 14, 0, 10897, 0, 0, 0, 0, 0, '', 'Master of Potions 1/2 is Optional BreadCrumb Quest'); -- cgit v1.2.3