From c5e0382313e26b5dc348cc08a9225bec63b0b5a2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 25 Nov 2024 18:59:37 +0100 Subject: Add exception to S35 Auldearn to prevent degenerate 2nd turn win. If Lawers Retires before Montrose has Commanded any formations, the Irish Left and Right immediately come out of reserve. --- rules.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 93f9e7d..7e957cb 100644 --- a/rules.js +++ b/rules.js @@ -324,6 +324,9 @@ const S34_TULLIBARDINE = find_card(34, "Tullibardine") const S35_AULDEARN = find_scenario(35) const S35_MONTROSE = find_card(35, "Montrose") const S35_GORDON = find_card(35, "Gordon") +const S35_LAWERS = find_card(35, "Campbell of Lawers") +const S35_IRISH_LEFT = find_card(35, "Irish Left") +const S35_IRISH_RIGHT = find_card(35, "Irish Right") const S37_INKERMAN = find_scenario(37) const S37_PAULOFFS_LEFT = find_card(37, "Pauloff's Left") @@ -2279,6 +2282,11 @@ states.action = { } } + if (game.scenario === S35_AULDEARN) { + if (c === S35_LAWERS) + game.s35_retired_lawers = 1 + } + retire_card(c) end_action_phase() }, @@ -3854,6 +3862,14 @@ function should_enter_reserve(c) { } } + if (game.scenario === S35_AULDEARN) { + if (c === S35_IRISH_LEFT || c === S35_IRISH_RIGHT) { + // Lawers retired and Montrose hasn't Commanded any reserves + if (game.s35_retired_lawers && is_card_in_reserve(S35_GORDON)) + return true + } + } + return false } -- cgit v1.2.3