diff options
-rw-r--r-- | rules.js | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -2657,14 +2657,10 @@ function score_country(country) { }
}
- log(`${status}`)
- log(`${presence.dem_battlegrounds} Democrat battlegrounds`)
- log(`${presence.com_battlegrounds} Communist battlegrounds`)
-
let dem_vp = 0
- if (presence.dem_spaces > 0) {dem_vp += value}
- if (presence.dem_domination) {dem_vp += value}
+ if (presence.dem_spaces > 0) {dem_vp += value_presence}
+ if (presence.dem_domination) {dem_vp += value_presence}
if (presence.dem_control && country !== "Hungary") {
dem_vp += value
}
@@ -2672,9 +2668,9 @@ function score_country(country) { dem_vp += presence.dem_battlegrounds
let com_vp = 0
- if (presence.com_spaces > 0) {com_vp += value}
- if (presence.com_domination) {com_vp += value}
- if (presence.com_control && country !== "Hungary") {com_vp += value}
+ if (presence.com_spaces > 0) {com_vp += value_presence}
+ if (presence.com_domination) {com_vp += value_presence}
+ if (presence.com_control && country !== "Hungary") {com_vp += value_presence}
else if (presence.com_control && country === "Hungary") {com_vp += 2}
com_vp += presence.com_battlegrounds
let change_vp = dem_vp - com_vp
|