diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-09-28 11:25:54 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:27 +0100 |
commit | f4c1e6ad41abcb0f03c39c8c01f191d469d6600f (patch) | |
tree | 740019073d27d2af847a1cd69e4a1c22806d72ef | |
parent | 026f77c628a8e84c1f889f6e8fc3630361a28fab (diff) | |
download | rommel-in-the-desert-f4c1e6ad41abcb0f03c39c8c01f191d469d6600f.tar.gz |
Exception: Fortress battles are not mandatory during blitz combat.
-rw-r--r-- | rules.js | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -4604,12 +4604,15 @@ function goto_combat_phase() { return end_combat_phase() } - if (is_mandatory_combat(BARDIA)) - set_add(game.new_battles, BARDIA) - if (is_mandatory_combat(BENGHAZI)) - set_add(game.new_battles, BENGHAZI) - if (is_mandatory_combat(TOBRUK)) - set_add(game.new_battles, TOBRUK) + // exception - not mandatory during blitz combat + if (game.turn_option !== 'second blitz') { + if (is_mandatory_combat(BARDIA)) + set_add(game.new_battles, BARDIA) + if (is_mandatory_combat(BENGHAZI)) + set_add(game.new_battles, BENGHAZI) + if (is_mandatory_combat(TOBRUK)) + set_add(game.new_battles, TOBRUK) + } for (let x of game.new_battles) set_add(game.active_battles, x) |