From 487c57a11660fd5e9c8d66b66eb5ff00eed0574f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 9 May 2024 19:07:14 +0200 Subject: capture enemy generals when bringing on british reinforcements --- rules.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules.js b/rules.js index b00798d..62f6dca 100644 --- a/rules.js +++ b/rules.js @@ -835,6 +835,10 @@ function place_british_reinforcements(who, count, where) { if (count > 0) { logp("reinforced " + where + " with " + count + " CU"); move_british_cu(BRITISH_REINFORCEMENTS, where, count); + if (has_enemy_general(where)) + capture_enemy_general(where); + if (game.active == BRITISH && game.congress == where) + disperse_continental_congress(where); } } -- cgit v1.2.3