summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index d481d30..1376bb5 100644
--- a/rules.js
+++ b/rules.js
@@ -2374,6 +2374,7 @@ function do_sc(space) {
logi(`+${card_ops} card ops`)
}
// Get support check modifiers
+ console.log('game.support_check_modifier', game.support_check_modifier)
if (game.support_check_modifier > 0) {
roll += game.support_check_modifier
logi(`+${game.support_check_modifier} event`)
@@ -3223,6 +3224,7 @@ function check_ligachev_event(card) {
}
function is_auto_resolve(card) {
+ console.log('card', card, 'game.strategy_discard', game.strategy_discard, 'strategy_discard.length', game.strategy_discard.length)
if (auto_resolve_events.includes(card)) {
return true
} else if (card === C_THE_TYRANT_IS_GONE) {
@@ -3391,9 +3393,13 @@ function is_auto_resolve(card) {
return true
}
} else if (card === C_HONECKER) {
- if (game.discard.length === 0) {
+ if ((game.strategy_discard.length === 1 && game.strategy_discard.includes(C_HONECKER)) ||
+ game.strategy_discard.length === 0
+ ) {
if (!game.state.startsWith('vm')) {
log('No cards in discard.')
+ log(`The Communist may take one extra Action Round this turn.`)
+ add_to_persistent_events(C_HONECKER)
}
return true
}
@@ -4954,6 +4960,7 @@ function vm_support_check_modified() {
log('Support Checks:')
else
log('Support Check:')
+ console.log('game.support_check_modifier', game.support_check_modifier)
game.state = 'vm_support_check_prep'
}