summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-07 13:18:55 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-07 13:18:55 +0000
commit4601fee7c43032a46a5c581d427d7a50da7baba4 (patch)
treeb4534be6ace106d228da5436c22bd94444f8c8c4
parent0028e8d36b7cd8879a45ff367987124527d00f4d (diff)
download1989-dawn-of-freedom-4601fee7c43032a46a5c581d427d7a50da7baba4.tar.gz
Tweak tst_6 logging
-rw-r--r--rules.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index cb5a608..85b679a 100644
--- a/rules.js
+++ b/rules.js
@@ -3160,18 +3160,18 @@ function get_card_ops(card) {
function get_tst_6_ops() {
let ops = 0
if (game.persistent_events.includes(C_PERESTROIKA) && game.active === COM) {
- log(`+1 op from C${C_PERESTROIKA}`)
+ logi(`+1 op from C${C_PERESTROIKA}`)
ops ++
}
if (game.persistent_events.includes(C_THE_SINATRA_DOCTRINE) && game.active === DEM) {
- log(`+1 op from C${C_THE_SINATRA_DOCTRINE}`)
+ logi(`+1 op from C${C_THE_SINATRA_DOCTRINE}`)
ops ++
}
if ((game.active === DEM && game.prudence && game.prudence.DEM !== 0)) {
if (ops > 0) {
log(`${pluralize(game.prudence.DEM,'op')} from C${C_PRUDENCE}`)
} else {
- log(`-1 op from C${C_PRUDENCE}`)
+ logi(`-1 op from C${C_PRUDENCE}`)
}
ops += game.prudence.DEM
if (ops < -1) {
@@ -3181,9 +3181,9 @@ function get_tst_6_ops() {
if (game.active === COM && game.prudence && game.prudence.COM < 0) {
if (ops > 0) {
- log(`${pluralize(game.prudence.COM,'op')} from C${C_PRUDENCE}`)
+ logi(`${pluralize(game.prudence.COM,'op')} from C${C_PRUDENCE}`)
} else {
- log(`-1 op from C${C_PRUDENCE}`)
+ logi(`-1 op from C${C_PRUDENCE}`)
}
ops += game.prudence.COM
if (ops < -1) {