summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-12-21 18:18:35 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-12-21 18:18:35 +0000
commit733650f1c6974a02cb667a6552a7c28ce013bfed (patch)
treefbdc88c4414d806743d29468fc90a0bd37c904ad /rules.js
parenta235dda964d753f0b3a3f8abdd5fe2653c644dda (diff)
download1989-dawn-of-freedom-733650f1c6974a02cb667a6552a7c28ce013bfed.tar.gz
Fix the Tyrant with NYE Party
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js22
1 files changed, 12 insertions, 10 deletions
diff --git a/rules.js b/rules.js
index 8fd76c2..7afa4c4 100644
--- a/rules.js
+++ b/rules.js
@@ -2282,12 +2282,12 @@ function add_infl(space, ops) {
check_com_control(space)
) {
game[ops]--
- log_summary(`(-1 op due to C${C_GENSCHER})`)
+ logi(`(-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) {
- log_summary(`(Used +1 op from C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
+ logi(`(Used +1 op from C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`)
}
} else {
game[ops]--
@@ -2296,20 +2296,22 @@ function add_infl(space, ops) {
// Update influence values
if (game.active === COM) {
game.comInfl[space]++
- /*if (check_com_control(space))
- logi(`£CC in %${space}`)
+ let end_control = check_control(space)
+ if (check_com_control(space))
+ logi(`£CC in %${space}${get_icons(starting_control,end_control)}`)
else
- logi(`£CU in %${space}`) */
+ logi(`£CU in %${space}${get_icons(starting_control,end_control)}`)
} else {
game.demInfl[space]++
- /*if (check_dem_control(space))
- logi(`£DC in %${space}`)
+ let end_control = check_control(space)
+ if (check_dem_control(space))
+ logi(`£DC in %${space}${get_icons(starting_control,end_control)}`)
else
- logi(`£DU in %${space}`)*/
+ logi(`£DU in %${space}${get_icons(starting_control,end_control)}`)
}
- 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