diff options
-rw-r--r-- | rules.js | 23 |
1 files changed, 17 insertions, 6 deletions
@@ -1464,6 +1464,7 @@ states.power_struggle = { push_undo() discard(card) if (game.phase === 0) { + game.ps_round++ game.power_card_1 = card delete game.power_card_2 } @@ -1527,11 +1528,13 @@ states.power_struggle = { game.tactics_fails = power_cards[game.played_power_card].name } game.phase = 0 + log(`Round: ${game.ps_round}`) change_player() do_valid_cards() } else if (power_cards[game.played_power_card].value === 1) { - log_msg_gap('Takes initiative.') + log('Takes initiative.') game.phase = 0 + log_gap(`Round ${game.ps_round}:`) do_valid_cards() } else { game.phase = 2 @@ -1546,11 +1549,13 @@ states.power_struggle = { log(`Success: ${roll} >= ${power_cards[game.played_power_card].value}`) log_msg_gap(`${game.active} takes initiative.`) game.phase = 0 + log_gap(`Round ${game.ps_round}:`) do_valid_cards() } else { log(`Fail: ${roll} < ${power_cards[game.played_power_card].value}`) - log_msg_gap('No change initiative.') + log('No change initiative.') game.phase = 0 + log_gap(`Round ${game.ps_round}:`) change_player() do_valid_cards() } @@ -3273,6 +3278,8 @@ function goto_struggle() { game.raised_stakes_discard = 0 game.valid_cards = [] log_h5('Play Cards') + game.ps_round = 1 + log_gap(`Round ${game.ps_round}:`) change_player() game.state = 'power_struggle' do_valid_cards() @@ -8623,7 +8630,8 @@ states.vm_scare_tactics = { }, done() { do_log_summary() - log_msg_gap('Loses initiative.') + log('Loses initiative.') + log_gap(`Round ${game.ps_round}:`) vm_next() }, } @@ -8718,7 +8726,8 @@ states.vm_support_surges_3 = { game.phase = 0 delete game.temp log('Drew 2 cards.') - log_msg_gap('Surrenders initiative.') + log('Surrenders initiative.') + log_gap(`Round ${game.ps_round}:`) vm_next() }, } @@ -8749,12 +8758,14 @@ states.vm_support_falters = { game.vm_available_ops -- }, pass() { - log_msg_gap('Takes initiative.') + log('Takes initiative.') + log_gap(`Round ${game.ps_round}:`) game.return = game.active vm_next() }, done() { - log_msg_gap('Takes initiative.') + log('Takes initiative.') + log_gap(`Round ${game.ps_round}:`) game.return = game.active vm_next() } |