summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 5 insertions, 0 deletions
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