diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-04-03 22:46:21 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-04-03 22:46:21 +0200 |
commit | b2af62870b7239a49699e88434999adb39abb529 (patch) | |
tree | c9caa4ab1f358fde34e5ad87596e150946d7cd03 | |
parent | a328618376e8b8af00a0165e9bcc66aae098f604 (diff) | |
download | maria-b2af62870b7239a49699e88434999adb39abb529.tar.gz |
Fix attack order when Saxony is allied with Austria.
-rw-r--r-- | rules.js | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3846,12 +3846,15 @@ function set_active_to_next_combat_power() { set_active_to_current_sequence_of_play() if (is_intro() || is_two_player()) return - // resolve all austria combat first + // resolve all austria (& saxony) combat first; then pragmatic if (game.power === P_AUSTRIA) { for (let i = 0; i < game.combat.length; i += 2) { let p = get_supreme_commander(game.combat[i]) - if (p >= 0 && piece_power[p] === P_AUSTRIA) - return + if (p >= 0) { + let pp = piece_power[p] + if (pp === P_AUSTRIA || pp === P_SAXONY) + return + } } set_active_to_power(P_PRAGMATIC) } |