diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -528,7 +528,7 @@ states.play_card ={ },
event() {
push_undo()
- console.log('played event, game.active', game.active)
+ console.log('played event, game.active', game.active, 'game.view_opp_hand', game.view_opp_hand)
log_gap(`Played C${cards[game.played_card].number} for the event`)
if (scoring_cards.includes(game.played_card)) {game.phase = 0}
else {game.phase = 1}
@@ -949,7 +949,7 @@ states.draw_power_cards = { },
draw() {
push_undo()
- console.log('called draw cards, game.active', game.active)
+ console.log('called draw cards, game.active', game.active, 'game.view_opp_hand', game.view_opp_hand)
let presence = check_presence(game.pwr_struggle_in)
if (presence.dem_spaces > 0) {
game.dem_pwr_hand_limit = 6 + 2*(presence.dem_spaces - 1)
@@ -999,7 +999,7 @@ states.draw_power_cards = { } else {
log_h2('Raise the Stakes')
game.state = 'raise_stakes_1'
- console.log('game.state', game.state, 'game.active', game.active)
+ console.log('game.state', game.state, 'game.active', game.active, 'game.view_opp_hand', game.view_opp_hand)
}
}
}
@@ -1078,7 +1078,7 @@ states.raise_stakes_1 = { inactive: 'raise the stakes',
prompt () {
- console.log('raise the stakes: game.played_power_card', game.played_power_card)
+ console.log('raise the stakes: game.played_power_card', game.played_power_card, 'game.active', game.active, 'game.view_opp_hand', game.view_opp_hand)
if (game.raised_stakes_discard === 3) {
view.prompt = 'Raise the stakes: done.'
gen_action('done')
@@ -4690,7 +4690,7 @@ function vm_poszgay() { }
function vm_power_struggle() {
- console.log('in vm_power_struggle. game.vm_event', game.vm_event, 'game.active', game.active)
+ console.log('in vm_power_struggle. game.vm_event', game.vm_event, 'game.active', game.active, 'game.view_opp_hand', game.view_opp_hand)
game.is_pwr_struggle = true
//Check if Power Struggle is because of an event
|