From 43a308897b49c936da36d885e384c35ba2be0e8b Mon Sep 17 00:00:00 2001 From: avarishd <46330494+avarishd@users.noreply.github.com> Date: Sat, 10 May 2025 20:32:44 +0300 Subject: [PATCH] fix(DB/Conditions): 'Opening the Backdoor' pre-quests (#22097) --- .../sql/updates/pending_db_world/rev_1746846052760295300.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1746846052760295300.sql diff --git a/data/sql/updates/pending_db_world/rev_1746846052760295300.sql b/data/sql/updates/pending_db_world/rev_1746846052760295300.sql new file mode 100644 index 000000000..8c34a3a4e --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1746846052760295300.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 19) AND (`SourceGroup` = 0) AND (`SourceEntry` = 12821) AND (`ConditionValue1` IN (12820,12832)); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19, 0, 12821, 0, 0, 8, 0, 12820, 0, 0, 0, 0, 0, '', 'Allow picking quest \'Opening the Backdoor\' only if \'A Delicate Touch\' has been completed.'), +(19, 0, 12821, 0, 0, 8, 0, 12832, 0, 0, 0, 0, 0, '', 'Allow picking quest \'Opening the Backdoor\' only if \'Bitter Departure\' has been completed.');