summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index f10e457..b61684f 100644
--- a/rules.js
+++ b/rules.js
@@ -6389,6 +6389,10 @@ states.vm_ceh_support_check_prep = {
gen_action_space(space_id)
}
}
+ if (game.valid_spaces.length === 0) {
+ view.prompt = 'Support Checks: No targets remaining. Pass.'
+ gen_action('pass')
+ }
},
space(space) {
push_undo()
@@ -6407,6 +6411,10 @@ states.vm_ceh_support_check_prep = {
}
game.state = 'vm_ceh_do_support_check'
},
+ pass() {
+ game.valid_spaces = []
+ vm_next()
+ }
}
states.vm_ceh_do_support_check = {
@@ -8193,6 +8201,7 @@ states.vm_tst_6 = {
game.state = 'vm_tst_6_sc'
},
pass() {
+ game.valid_spaces = []
vm_next()
}
}