From ecdaf523ad1a46c6caf69f087c82b80ebef66f41 Mon Sep 17 00:00:00 2001 From: temperrr Date: Fri, 19 Aug 2022 16:29:13 +0200 Subject: [PATCH] =?UTF-8?q?fix(DB/Conditions):=20Gordok=20Shackle=20Key=20?= =?UTF-8?q?should=20not=20be=20seen=20if=20you=20already=E2=80=A6=20(#1279?= =?UTF-8?q?2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../updates/pending_db_world/shackleconditions.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/sql/updates/pending_db_world/shackleconditions.sql diff --git a/data/sql/updates/pending_db_world/shackleconditions.sql b/data/sql/updates/pending_db_world/shackleconditions.sql new file mode 100644 index 000000000..816829ea2 --- /dev/null +++ b/data/sql/updates/pending_db_world/shackleconditions.sql @@ -0,0 +1,12 @@ +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 1) AND (`SourceGroup` IN (11448, 11450, 11444, 14321, 14326, 14323, 11441, 14351, 11445, 14325)) AND (`SourceEntry` = 18250) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 2) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 18250) AND (`ConditionValue2` = 1) AND (`ConditionValue3` = 0); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(1, 14325, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 14321, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 14326, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 14323, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 11441, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 14351, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 11445, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 11444, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 11450, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key"), +(1, 11448, 18250, 0, 0, 2, 0, 18250, 1, 0, 1, 0, 0, '', "Gordok key drop requires not having Gordok Key");