summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-13 18:24:25 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-13 18:24:25 +0000
commita1f33e6a759cc3691b56999b5d1d23052a82c07c (patch)
treeeb40456d5e32ecfdae5f968e1a67221f18c09692
parent5b7336125103dba8e77b273e6625aa74402ede32 (diff)
download1989-dawn-of-freedom-a1f33e6a759cc3691b56999b5d1d23052a82c07c.tar.gz
Tweak PS logging
-rw-r--r--rules.js5
1 files changed, 5 insertions, 0 deletions
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`)