From 0c3b2ee5d5676c506dbb7a4bf256a42672a92f08 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Thu, 14 Nov 2024 16:44:32 +0000 Subject: Improve logging --- rules.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index c8c7de6..e9eeda3 100644 --- a/rules.js +++ b/rules.js @@ -637,7 +637,7 @@ states.play_card ={ goto_vm(game.vm_event)} else { next_player() - log(`C${game.vm_event}`) + log(`C${game.vm_event}:`) goto_vm(game.vm_event) } }, @@ -738,7 +738,7 @@ states.resolve_opponent_event = { game.return = DEM } next_player() - log(`C${game.played_card}`) + log(`C${game.played_card}:`) goto_vm(game.vm_event) } }, @@ -6618,6 +6618,7 @@ states.vm_kiss_of_death = { // Special check for the Reformer Rehabilitated if (game.vm_event === C_REFORMER_REHABILITATED && game.dem_tst_position > game.com_tst_position) { log_side() + log(`C${game.vm_event}:`) game.state = 'vm_kiss_of_death_finish' } else if (cards[game.vm_event].side !== "C" && event_is_playable(game.vm_event) && game.vm_event !== C_COMMON_EUROPEAN_HOME) { if (is_auto_resolve(game.vm_event)) { @@ -6625,6 +6626,7 @@ states.vm_kiss_of_death = { game.state = 'vm_kiss_of_death_finish' } else { log_side() + log(`C${game.vm_event}:`) game.state = 'vm_kiss_of_death_finish' } } else { -- cgit v1.2.3