summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
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