diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-09 19:07:14 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-21 00:28:20 +0200 |
commit | 370df4421c58da27796b9ecb4fdabfdae0988a7f (patch) | |
tree | 4be4ad7881d698a81023302750f51be3da95d5c4 | |
parent | 0781f61d10e510ac4edfc3d4abb1637fbda36fdc (diff) | |
download | washingtons-war-370df4421c58da27796b9ecb4fdabfdae0988a7f.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); } } |