From 4d4e7e6841b47ff673e1e4d0640b240c28b875b5 Mon Sep 17 00:00:00 2001 From: Nefertumm Date: Fri, 4 Feb 2022 15:20:45 -0300 Subject: [PATCH] fix(DB/Gossip): show correct gossips for Shadow Priestess Vandis and High Priestess MacDonnell (#10392) --- .../updates/pending_db_world/rev_1643318127094399900.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1643318127094399900.sql diff --git a/data/sql/updates/pending_db_world/rev_1643318127094399900.sql b/data/sql/updates/pending_db_world/rev_1643318127094399900.sql new file mode 100644 index 000000000..5f64439aa --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1643318127094399900.sql @@ -0,0 +1,9 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1643318127094399900'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 14 AND `SourceGroup` IN (3183, 3184) AND `SourceEntry` IN (4039, 4040); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` IN (3183, 3184) AND `SourceEntry` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 3184, 4039, 0, 0, 8, 0, 5217, 0, 0, 0, 0, 0, '', 'Only show TextID 4039 if player completed the quest \'Return to Chillwind Camp\''), +(15, 3184, 0, 0, 0, 8, 0, 5217, 0, 0, 0, 0, 0, '', 'Show gossip option if player has completed quest \'Return to Chillwind Camp\''), +(14, 3183, 4040, 0, 0, 8, 0, 5230, 0, 0, 0, 0, 0, '', 'Only show TextID 4040 if player completed the quest \'Return to the Bulwark\''), +(15, 3183, 0, 0, 0, 8, 0, 5230, 0, 0, 0, 0, 0, '', 'Show gossip option if player has completed quest \'Return to the Bulwark\'');