diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-25 20:21:45 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | 1ceaeb49d886c35a70e8145995efed5b6ea45dac (patch) | |
tree | d87afe429d9b7bf75ffda2c3de85c44ecd6e169e | |
parent | 0e4abab197699be791514f7c0837e67052a4e79a (diff) | |
download | friedrich-1ceaeb49d886c35a70e8145995efed5b6ea45dac.tar.gz |
Allow paying for multiple recruits at once
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2177,7 +2177,7 @@ states.recruit = { prompt(str) - if (game.count < cost && possible) { + if (possible && game.count / cost < av_troops + av_trains) { for (let c of game.hand[game.power]) gen_action_card(c) } |