From 2fa95f60a0ff372ecc556b2c64b4198e9bbbf5ad Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 11 Jan 2025 00:24:09 +0000 Subject: Fix scoring applying change VP --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 4542f26..1b348c5 100644 --- a/rules.js +++ b/rules.js @@ -3088,9 +3088,10 @@ function score_country(country) { } // Calculate change VP -/* + let change_vp = dem_vp + com_vp game.vp += change_vp + /* log_gap('Net VP:') if (change_vp > 0) { logi(`+${change_vp} VP`) @@ -4270,6 +4271,7 @@ function check_tyrant_sc() { function resolve_tyrant() { if ( game.persistent_events.includes(C_THE_TYRANT_IS_GONE) && + !game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED) && game.pwr_struggle_in === 'Romania' && game.persistent_events.includes(THE_CROWD_TURNS_AGAINST_CEAUSESCU_OCCURRED) ) { -- cgit v1.2.3