From 699ea2411ccdc70c4f6023f7efd09f2f03d5b80f Mon Sep 17 00:00:00 2001 From: iainp5 Date: Tue, 17 Sep 2024 09:49:56 +0100 Subject: Update to allow General Strike to continue between turns --- rules.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 82c107b..57ffa48 100644 --- a/rules.js +++ b/rules.js @@ -825,7 +825,11 @@ states.tst_goddess = { } else { log_side() } - game.state = 'choose_card' + if (game.persistent_events['general_strike']) { + game.state = 'general_strike' + } else { + game.state = 'choose_card' + } }, done() { @@ -3032,7 +3036,12 @@ function new_turn() { log_h2("Action Round " + game.round) log_side() //console.log('in start new AR call, game.active', game.active) - game.state = 'choose_card' + if (game.persistent_events['general_strike']) { + game.state = 'general_strike' + } + else { + game.state = 'choose_card' + } } } -- cgit v1.2.3