summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index b340c95..b7b2025 100644
--- a/rules.js
+++ b/rules.js
@@ -2747,7 +2747,11 @@ function play_triremes() {
}
function can_play_support_from_syracuse() {
- return count_greek_fleets(RESERVE) > 0;
+ if (count_greek_fleets(RESERVE) > 0)
+ for (let port of PORTS)
+ if (is_greek_control(port) && count_persian_fleets(port) === 0)
+ return true
+ return false
}
function play_support_from_syracuse() {
@@ -2761,7 +2765,7 @@ states.support_from_syracuse = {
view.prompt = "Support from Syracuse: Place all Greek fleets from your reserve.";
if (count_greek_fleets(RESERVE) > 0) {
for (let port of PORTS)
- if (is_greek_control(port))
+ if (is_greek_control(port) && count_persian_fleets(port) === 0)
gen_action(view, 'port', port);
} else {
gen_action(view, 'next');