From c54cbff36f1915aaf949e980a6e1dca363dd93fc Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 16 Sep 2024 10:44:01 +0100 Subject: Fix to Kremlin Coup --- rules.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules.js b/rules.js index da16898..311d0aa 100644 --- a/rules.js +++ b/rules.js @@ -4424,7 +4424,7 @@ function vm_kremlin_coup() { check_vp() elite_spaces.forEach(space => { - if (game.revolutions[spaces[space].country]) { + if (!game.revolutions[spaces[space].country]) { game.valid_spaces.push(space); } }) @@ -5835,7 +5835,7 @@ states.vm_kremlin_coup_take_control = { view.prompt = 'No spaces remaining. Kremlin Coup: done.' gen_action('done') } else { - view.prompt = `Select a country's elite space.` + view.prompt = `Kremlin Coup: Take control of Elite spaces in countries where the Communist retains power.` for (let space_id of game.valid_spaces) { gen_action_infl(spaces[space_id].name_unique); } @@ -5876,13 +5876,13 @@ states.vm_kremlin_coup_sc_prep = { states.vm_kremlin_coup_sc = { inactive: 'do support checks', prompt () { - view.prompt = `Target: ${spaces[game.selected_space].name_unique}. Roll a die` + view.prompt = `Support check: ${spaces[game.selected_space].name_unique}. Roll a die` gen_action('roll') }, roll() { clear_undo() do_sc(spaces[game.selected_space].name_unique) - game.state = 'vm_kremlin_coup_sc_prep' + game.state = 'vm_kremlin_coup_take_control' return } } -- cgit v1.2.3