diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-09 19:07:14 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-09 19:07:14 +0200 |
commit | 487c57a11660fd5e9c8d66b66eb5ff00eed0574f (patch) | |
tree | 829103e394e1b28efbac31c8027934826dae47af | |
parent | 393be54dbfd5897574cb8f3f38020138194274ff (diff) | |
download | washingtons-war-487c57a11660fd5e9c8d66b66eb5ff00eed0574f.tar.gz |
capture enemy generals when bringing on british reinforcements
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } } |