diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-07 13:18:55 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-07 13:18:55 +0000 |
commit | 4601fee7c43032a46a5c581d427d7a50da7baba4 (patch) | |
tree | b4534be6ace106d228da5436c22bd94444f8c8c4 /rules.js | |
parent | 0028e8d36b7cd8879a45ff367987124527d00f4d (diff) | |
download | 1989-dawn-of-freedom-4601fee7c43032a46a5c581d427d7a50da7baba4.tar.gz |
Tweak tst_6 logging
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) { |