summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 274ca4f..429a919 100644
--- a/rules.js
+++ b/rules.js
@@ -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 ===