From 1f18481409ebdbbec90f6dada0a22594e0290c4b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 26 Apr 2022 11:51:35 +0200 Subject: Cannot place French Regulars at Louisbourg if there's an amphib. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index a865d06..37f4757 100644 --- a/rules.js +++ b/rules.js @@ -8394,7 +8394,7 @@ events.french_regulars = { return false; if (!has_british_units(QUEBEC)) return true; - if (!has_british_units(LOUISBOURG)) + if (!has_british_units(LOUISBOURG) && !has_amphib(LOUISBOURG)) return true; return false; }, @@ -8426,7 +8426,7 @@ states.french_regulars = { if (game.count > 0) { if (!has_british_units(QUEBEC)) gen_action_space(QUEBEC); - if (!has_british_units(LOUISBOURG)) + if (!has_british_units(LOUISBOURG) && !has_amphib(LOUISBOURG)) gen_action_space(LOUISBOURG); } else { gen_action_next(); -- cgit v1.2.3