summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-25 13:35:55 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-25 13:35:55 +0200
commitb6c4df68ca86563b6e4590836df8b7fcf7c0a71c (patch)
treea47a8617ee82808322ed30b4a9548daef6edfd3e
parent6f3c3093e1ae354c397f8a8eb47d4b7a1e9ef657 (diff)
downloadmaria-b6c4df68ca86563b6e4590836df8b7fcf7c0a71c.tar.gz
fix expeditionary corps swap-up
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 998ceb2..6df687f 100644
--- a/rules.js
+++ b/rules.js
@@ -4298,9 +4298,9 @@ function check_expeditionary_corps(power, space, active) {
function goto_expeditionary_corps() {
if (check_expeditionary_corps(P_PRUSSIA, EAST_PRUSSIA, game.russia >= 5))
return
- if (check_expeditionary_corps(P_FRANCE, FRENCH_ITALY_BOX, game.italy <= 2))
+ if (check_expeditionary_corps(P_FRANCE, FRENCH_ITALY_BOX, game.italy >= 8))
return
- if (check_expeditionary_corps(P_AUSTRIA, AUSTRIAN_ITALY_BOX, game.italy >= 8))
+ if (check_expeditionary_corps(P_AUSTRIA, AUSTRIAN_ITALY_BOX, game.italy <= 2))
return
goto_saxony_defection()
}