From 6ccab63e7dbd5bbdc44ae7a7ff8d3c155c655521 Mon Sep 17 00:00:00 2001 From: Poszer <41213210+poszer@users.noreply.github.com> Date: Thu, 28 Mar 2019 05:25:49 +0100 Subject: [PATCH] Fix(DB/Quest): Data Rescue (#1645) --- .../updates/pending_db_world/rev_1553712779275952300.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1553712779275952300.sql diff --git a/data/sql/updates/pending_db_world/rev_1553712779275952300.sql b/data/sql/updates/pending_db_world/rev_1553712779275952300.sql new file mode 100644 index 000000000..a09b6da86 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1553712779275952300.sql @@ -0,0 +1,9 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1553712779275952300'); + +DELETE FROM conditions WHERE SourceTypeOrReferenceId=15 AND SourceGroup=1050; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15, 1050, 0, 0, 0, 2, 0, 9281, 1, 0, 0, 0, 0, '', 'Display option if player has red card'), +(15, 1050, 1, 0, 0, 2, 0, 9281, 1, 0, 0, 0, 0, '', 'Display option if player has red card'), +(15, 1050, 1, 0, 0, 2, 0, 9327, 1, 0, 0, 0, 0, '', 'Display option if player has delta card'), +(15, 1050, 1, 0, 0, 25, 0, 3959, 0, 0, 1, 0, 0, '', 'Display option if player has no Discombobulator Ray spell'); +