summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-04 19:09:38 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-04 19:09:38 +0100
commit8a61efc69243a1cc73f8daa1dd2899fbd5395478 (patch)
treef4585aa173a00543b1371782158fec62184cba76
parentc931d38f7736f721a80f06fdcc44e89f7d57ff1e (diff)
download1989-dawn-of-freedom-8a61efc69243a1cc73f8daa1dd2899fbd5395478.tar.gz
Fix Dash for the West
-rw-r--r--rules.js16
1 files 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 = {