From 1ceaeb49d886c35a70e8145995efed5b6ea45dac Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 25 May 2024 20:21:45 +0200 Subject: Allow paying for multiple recruits at once --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 8d6a48f..4e69bee 100644 --- a/rules.js +++ b/rules.js @@ -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) } -- cgit v1.2.3