From 2ca1651520f413b7ce9ebc6fcae5a609169c0ab7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 4 May 2021 02:03:39 +0200 Subject: 300: fix wrath of poseidon --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index d7ab00a..2cc124a 100644 --- a/rules.js +++ b/rules.js @@ -2350,7 +2350,7 @@ states.ionian_revolt = { function can_play_wrath_of_poseidon() { for (let port of PORTS) - if (count_persian_armies(port) > 0) + if (count_persian_fleets(port) > 0) return true; return false; } @@ -2365,7 +2365,7 @@ states.wrath_of_poseidon = { return view.prompt = "Wrath of Poseidon."; view.prompt = "Wrath of Poseidon: Remove one Persian fleet from the map."; for (let port of PORTS) - if (count_persian_armies(port) > 0) + if (count_persian_fleets(port) > 0) gen_action(view, 'port', port); }, port: function (port) { -- cgit v1.2.3