From c24907f947cdd6cb43215037d9ea8f6f2bada1d8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 21 Nov 2023 12:31:31 +0100 Subject: Fix Militia + Cavalry rules case. Add missing page to expansion book. --- rules.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 34f4523..567a741 100644 --- a/rules.js +++ b/rules.js @@ -4623,6 +4623,11 @@ function goto_combat_victory_attacker() { remove_general_castra(game.combat.target) } + // Defending Militia must retreat (eliminated) + if ((game.combat.type === "militia" || game.combat.type === "general") && has_militia(game.where)) { + eliminate_militia(game.where) + } + if (game.combat.attacker >= 0 && can_enter_capital(game.where)) game.state = "advance_after_combat" else -- cgit v1.2.3