From 7265231290fe2998d2e1fdb7ed21e90e78e830fc Mon Sep 17 00:00:00 2001 From: avarishd <46330494+avarishd@users.noreply.github.com> Date: Thu, 9 Nov 2023 01:20:30 +0200 Subject: [PATCH] fix(DB/Conditions): Require Torgos to be alive to use Trachela's Carcass (#17624) --- data/sql/updates/pending_db_world/rev_1698776108922297000.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1698776108922297000.sql diff --git a/data/sql/updates/pending_db_world/rev_1698776108922297000.sql b/data/sql/updates/pending_db_world/rev_1698776108922297000.sql new file mode 100644 index 000000000..f078565fc --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1698776108922297000.sql @@ -0,0 +1,4 @@ +-- Torgos! +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceGroup` = 0) AND (`SourceEntry` = 37065); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 37065, 0, 0, 29, 0, 18707, 100, 0, 0, 0, 0, '', 'Allow using \'Trachela\'s Carcass\' only if \'Torgos\' is alive and within 100y.');