From 3b33f2f5d166942ad870013708b68474fdcf5cf8 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Tue, 17 Sep 2024 07:36:44 +0100 Subject: Fix General Strike when a Power Struggle card played --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 4add39e..51e4090 100644 --- a/rules.js +++ b/rules.js @@ -638,6 +638,7 @@ states.resolve_opponent_event = { game.return_state = 'resolve_opponent_event' if (auto_resolve_events.includes(game.played_card) || switch_events.includes(game.played_card)) { game.return = game.active + log(`C${game.played_card}`) goto_vm(game.played_card)} else { if (game.active === DEM) { @@ -646,6 +647,7 @@ states.resolve_opponent_event = { game.return = DEM } next_player() + log(`C${game.played_card}`) goto_vm(game.played_card) } }, @@ -1692,7 +1694,6 @@ states.general_strike = { if (scoring_cards.includes(game.played_card)) { log(`Played C${card}`) game.return_state = 'general_strike' - game.phase = 1 goto_vm(card) return } -- cgit v1.2.3