summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-12-21 18:27:44 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-12-21 18:27:44 +0000
commit0489dda2d8bdb3b127163c739b8805003346a95e (patch)
treeff63932b7dbd42ad15b23d7667c2d3539837390f /rules.js
parentadc3167449b237e0c248366cc9f569d6cd611ca5 (diff)
download1989-dawn-of-freedom-0489dda2d8bdb3b127163c739b8805003346a95e.tar.gz
Revert "Fix the Tyrant with NYE Party"
This reverts commit 733650f1c6974a02cb667a6552a7c28ce013bfed.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js22
1 files changed, 10 insertions, 12 deletions
diff --git a/rules.js b/rules.js
index 7afa4c4..8fd76c2 100644
--- a/rules.js
+++ b/rules.js
@@ -2282,12 +2282,12 @@ function add_infl(space, ops) {
check_com_control(space)
) {
game[ops]--
- logi(`(-1 op due to C${C_GENSCHER})`)
+ log_summary(`(-1 op due to C${C_GENSCHER})`)
} else if (check_opp_control(space)) {
game[ops] -= 2
// Check if Austria Hungary Border Reopened was used to place last SP in a controlled space in East Germany. If so, game.available_op will be negative
if (game[ops] < 0) {
- logi(`(Used +1 op from C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
+ log_summary(`(Used +1 op from C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
}
} else {
game[ops]--
@@ -2296,22 +2296,20 @@ function add_infl(space, ops) {
// Update influence values
if (game.active === COM) {
game.comInfl[space]++
- let end_control = check_control(space)
- if (check_com_control(space))
- logi(`£CC in %${space}${get_icons(starting_control,end_control)}`)
+ /*if (check_com_control(space))
+ logi(`£CC in %${space}`)
else
- logi(`£CU in %${space}${get_icons(starting_control,end_control)}`)
+ logi(`£CU in %${space}`) */
} else {
game.demInfl[space]++
- let end_control = check_control(space)
- if (check_dem_control(space))
- logi(`£DC in %${space}${get_icons(starting_control,end_control)}`)
+ /*if (check_dem_control(space))
+ logi(`£DC in %${space}`)
else
- logi(`£DU in %${space}${get_icons(starting_control,end_control)}`)
+ logi(`£DU in %${space}`)*/
}
-/* let end_control = check_control(space)
- log_summary('£ in %' + space + get_icons(starting_control,end_control))*/
+ let end_control = check_control(space)
+ log_summary('£ in %' + space + get_icons(starting_control,end_control))
check_tyrant()
// Check Austria Hungary Border Reopened is true and condition has been met