summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-04-26 11:51:35 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commit1f18481409ebdbbec90f6dada0a22594e0290c4b (patch)
tree65a473c61fb878495a0e2788fe6cd8cae8007b58 /rules.js
parent464f902debf8be548a8d2ed7c885bdf4d72fa530 (diff)
downloadwilderness-war-1f18481409ebdbbec90f6dada0a22594e0290c4b.tar.gz
Cannot place French Regulars at Louisbourg if there's an amphib.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files 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();