diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-12-18 16:37:10 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-12-18 23:03:26 +0100 |
commit | 237905e50c8e2fb36a250fac5656b28396ed614e (patch) | |
tree | 9128e933fe233c9178c02be067817f6dbd6b50d6 /play.js | |
parent | 64adb229d652bbe2cd6c441978a27625e0549191 (diff) | |
download | maria-237905e50c8e2fb36a250fac5656b28396ed614e.tar.gz |
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -125,6 +125,7 @@ const V_POLITICS = 1 const V_HUSSARS = 2 const V_MOVEMENT = 4 const V_RETREAT = 8 +const V_COMBAT = 16 const SPADES = 0 const CLUBS = 1 @@ -1837,6 +1838,7 @@ function phase_list(phase) { if (phase & V_POLITICS) list.push("politics") if (phase & V_HUSSARS) list.push("hussars") if (phase & V_MOVEMENT) list.push("movement") + if (phase & V_COMBAT) list.push("combat") if (phase & V_RETREAT) list.push("retreat") return list.join(" ") } @@ -1926,6 +1928,8 @@ function propose_deal() { window.b_phase_movement.checked = false window.a_phase_retreat.checked = false window.b_phase_retreat.checked = false + window.a_phase_combat.checked = false + window.b_phase_combat.checked = false form.a_power.value = view.power switch (view.power) { |