From a1f33e6a759cc3691b56999b5d1d23052a82c07c Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 13 Jan 2025 18:24:25 +0000 Subject: Tweak PS logging --- rules.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rules.js') diff --git a/rules.js b/rules.js index dbba242..75802a7 100644 --- a/rules.js +++ b/rules.js @@ -2944,6 +2944,11 @@ function score_country(country) { } logi(`${com_vp} VP`) game.vp += dem_vp + com_vp + let final_vp = game.vp + game.vp_roll + if (final_vp > 0) + log(`C${scoring_cards[countries.indexOf(game.pwr_struggle_in)]}: +${final_vp} VP.`) + else + log(`C${scoring_cards[countries.indexOf(game.pwr_struggle_in)]}: ${final_vp} VP.`) if (game.state === 'final_scoring') { if (game.vp > 0) log_gap(`Score is +${game.vp} VP`) -- cgit v1.2.3