From 7596e8aec5fd82d4abcf352e50453e85c46b0fcc Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sun, 19 May 2019 23:10:26 +0200 Subject: [PATCH] DB/Quest: improvements to previous commit By Malcrom --- sql/updates/world/4.3.4/2019_05_19_02_world.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sql/updates/world/4.3.4/2019_05_19_02_world.sql diff --git a/sql/updates/world/4.3.4/2019_05_19_02_world.sql b/sql/updates/world/4.3.4/2019_05_19_02_world.sql new file mode 100644 index 00000000000..f258c2f27b6 --- /dev/null +++ b/sql/updates/world/4.3.4/2019_05_19_02_world.sql @@ -0,0 +1,9 @@ +-- Fix wrong text in gossip menu +UPDATE `gossip_menu` SET `TextID`=17192 WHERE `MenuID`=12213 AND `TextID`=17153; +UPDATE `gossip_menu` SET `VerifiedBuild`=14333 WHERE `MenuID`=12213; + +-- Condition for source Gossip menu condition type Quest rewarded +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=12213 AND `SourceEntry`=17153 AND `SourceId`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=12213 AND `SourceEntry`=17192 AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 12213, 17192, 0, 0, 8, 0, 27950, 0, 0, 0, 0, 0, '', 'Show gossip menu 12213 text id 17192 if quest Gobbles! has been rewarded.');