diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-07-26 18:08:15 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:26 +0100 |
commit | dca39384cf3461a8db7bf3ae9f21a58a761064b1 (patch) | |
tree | 8c4522cdf44986192a210266a19ef4eac616cdb6 | |
parent | 0ec21335f4a5b7c77c1c61c1944f3567cbdfa66c (diff) | |
download | rommel-in-the-desert-dca39384cf3461a8db7bf3ae9f21a58a761064b1.tar.gz |
blitz turn
-rw-r--r-- | rules.js | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -42,7 +42,7 @@ const last_axis_unit = first_allied_unit - 1 const last_allied_unit = units.length - 1 var first_friendly_unit, last_friendly_unit -var first_enemy_unit, last_friendly_unit +var first_enemy_unit, last_enemy_unit function update_aliases() { if (game.active === AXIS) { @@ -2587,8 +2587,16 @@ states.select_battle = { } function end_combat_phase() { - // TODO: blitz - goto_final_supply_check() + if (game.turn_option === 'blitz') { + log_h2(`Blitz Turn`) + if (game.rommel) + game.rommel = 3 + set_clear(game.fired) + game.turn_option = 'basic' + goto_move_phase() + } else { + goto_final_supply_check() + } } // === BATTLES === |