summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-27 22:41:09 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-27 22:52:28 +0200
commitab1a6bca2b9a2a399efb46edfa9c8621e70371df (patch)
tree39d510086ba22ff339def7942f38d2ae79b41a4b /rules.js
parentb4d2ea5ee7a14f52d512c5b4774314fe0ce896b2 (diff)
downloadplantagenet-ab1a6bca2b9a2a399efb46edfa9c8621e70371df.tar.gz
4.5.1 Exile box cannot draw stronghold Supply (except Scotland).HEADmaster
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index ff1f9e5..10e6ccd 100644
--- a/rules.js
+++ b/rules.js
@@ -3460,6 +3460,9 @@ function get_port_supply_amount(loc, report) {
return 0;
}
function get_stronghold_supply_amount(loc, report) {
+ let uses_port = map_get(game.supply, loc, 0) & 7;
+ if (uses_port)
+ return 0;
if (!has_exhausted_marker(loc)) {
let supply = 0;
if (loc === LOC_LONDON || loc === LOC_CALAIS)