From cd04c4c888f64d2d13bc17f722bd896b22acfe5c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 4 Jan 2024 13:51:50 +0100 Subject: Fix Rocoux + Austrians can_shift check. --- rules.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rules.js b/rules.js index 03e1d4b..01270f3 100644 --- a/rules.js +++ b/rules.js @@ -2328,6 +2328,13 @@ function can_shift_any_infantry() { if (is_infantry(c)) { if (get_sticks(c) > 1) ++m + + if (game.scenario === S46_ROCOUX) { + // cannot shift to Austrians + if (c === S46_AUSTRIANS) + continue + } + ++n } } -- cgit v1.2.3