diff options
-rw-r--r-- | rules.js | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1052,7 +1052,7 @@ states.the_crowd_turns_against_ceausescu_prep = { console.log('game.ceausescu_cards', game.ceausescu_cards)
game.temp = game.ceausescu_cards.filter(card => card && card >=25 && card <= 30).length
log(`Drew ${pluralize(game.temp, 'Rally in the Square')}.`)
- game.temp = game.temp * 3
+ game.vm_available_ops = game.temp * 3
game.state = 'the_crowd_turns_against_ceausescu'
}
}
@@ -1084,21 +1084,20 @@ states.the_crowd_turns_against_ceausescu = { states.the_crowd_turns_against_ceausescu_infl = {
inactive: 'add influence.',
prompt () {
- if (game.temp === 0)
+ if (game.vm_available_ops === 0)
{
view.prompt = 'Place influence: done.';
gen_action("done");
return;
}
- view.prompt = `Add influence: ${game.temp} remaining`
+ view.prompt = `Add influence: ${game.vm_available_ops} remaining`
for (let space of game.valid_spaces) {
gen_action_infl(spaces[space].name_unique)
}
},
infl(space) {
- add_infl(space)
- game.temp --
+ vm_do_add_infl(space)
},
done() {
if (game.return !== game.active) {
|