diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-05-09 22:16:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:31:29 +0100 |
commit | bbbc61f7428723b7d4000600a55a1fbf9557d01d (patch) | |
tree | 3afaeaf9c5558a1e6783f3a6d51896e0b13ed911 | |
parent | 0db7bfb141e9cc77615138cadea3952a5949ff6d (diff) | |
download | pax-pamir-bbbc61f7428723b7d4000600a55a1fbf9557d01d.tar.gz |
Nationalism.
-rw-r--r-- | rules.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1825,7 +1825,10 @@ function count_player_cylinders(p, r) { } function count_active_armies_in_region(where) { - return count_player_armies_in_region(game.active, where); + let n = count_player_armies_in_region(game.active, where); + if (player.events.nationalism) + n += count_player_cylinders(game.active, where); + return n; } function count_enemy_blocks_on_border(where) { |