From 8a61efc69243a1cc73f8daa1dd2899fbd5395478 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 4 Oct 2024 19:09:38 +0100 Subject: Fix Dash for the West --- rules.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rules.js b/rules.js index f156cc5..3105c5c 100644 --- a/rules.js +++ b/rules.js @@ -6508,13 +6508,13 @@ states.vm_dash_for_the_west = { return `resolve ${clean_name(cards[36].name)}.` }, prompt() { - if (game.phase === 1) { + /* if (game.phase === 1) {*/ view.prompt = 'Dash for the West: roll a die' gen_action('roll') - } else { + /*} else { view.prompt = 'Dash for the West: roll a die. Done.' gen_action('done') - } + }*/ }, roll() { clear_undo() @@ -6523,7 +6523,7 @@ states.vm_dash_for_the_west = { let com_control = check_presence('East_Germany').com_spaces if (roll > com_control) { - log(`More than the ${com_control} Communist controlled spaces in East Germany`) + log(`Success. More than the ${com_control} Communist controlled spaces in East Germany`) log('+1 VP') game.vp++ if (check_vp()) { @@ -6533,13 +6533,13 @@ states.vm_dash_for_the_west = { game.state = 'vm_play_event_from_discard' } else { log(`Fail: more than a ${com_control} required`) - game.phase++ + //game.phase++ + vm_next() } - clear_undo() - }, + },/* done() { vm_next() - } + }*/ } states.vm_play_event_from_discard = { -- cgit v1.2.3