summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-19 11:11:49 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-19 11:11:49 +0100
commitfc5bf9c9e127f11b728e1f584bc12ec2805fc455 (patch)
tree10a92d9c3b1ed48a2c49d62905e51a2e22e3f40f
parent41674d78d349cd55f651f36807e110e391fddd23 (diff)
downloadwilderness-war-master.tar.gz
Fix Amphibious Landing check when French sortie from Louisbourg.HEADmaster
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 7e353ad..88b8126 100644
--- a/rules.js
+++ b/rules.js
@@ -4958,7 +4958,7 @@ function goto_atk_fire() {
if (!atk_has_reg && def_has_reg)
die = modify(die, -1, "vs regulars in cultivated")
}
- if (has_amphib(game.battle.where) && game.move && game.move.type === 'naval') {
+ if (has_amphib(game.battle.where) && game.move && game.move.type === 'naval' && game.active === BRITAIN) {
die = modify(die, -1, "amphibious landing")
}
if (has_enemy_stockade(game.battle.where)) {