summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 9b20133..f3feaff 100644
--- a/rules.js
+++ b/rules.js
@@ -2693,6 +2693,18 @@ states.play_attacker_battle_card_confirm = {
view.actions.next = 1
},
next() {
+ // Check if Arnold's removal loads to overrun!
+ let to = game.move.to
+ let cu = game.move.carry_british + game.move.carry_american + game.move.carry_french
+ if (cu >= 4 && count_enemy_cu(to) === 1 && !has_enemy_general(to)) {
+ overrun(to)
+ if (game.active === P_BRITAIN && game.congress === to)
+ disperse_continental_congress()
+ delete game.combat
+ resume_moving()
+ return
+ }
+
clear_undo()
goto_play_defender_battle_card()
},