From 72cefd0ca9f9c6f1f560c69e6d55792790c67a93 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Sat, 15 Aug 2026 00:19:04 -0300 Subject: [PATCH] fix(DB/Conditions): Prevent Valiance Rifleman from shooting any unit (#26970) --- data/sql/updates/pending_db_world/rev_1785874581107637400.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1785874581107637400.sql diff --git a/data/sql/updates/pending_db_world/rev_1785874581107637400.sql b/data/sql/updates/pending_db_world/rev_1785874581107637400.sql new file mode 100644 index 0000000000..2283fd234b --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1785874581107637400.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 1) AND (`SourceEntry` = 45761) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 31) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 3) AND (`ConditionValue2` = 24921) AND (`ConditionValue3` = 0); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 45761, 0, 0, 31, 0, 3, 24921, 0, 0, 0, 0, '', 'Valiance Rifleman\'s cosmetic Shoot Gun (45761) should only target Cosmetic Trigger - LAB (24921)');