From ab1a6bca2b9a2a399efb46edfa9c8621e70371df Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 27 Apr 2025 22:41:09 +0200 Subject: 4.5.1 Exile box cannot draw stronghold Supply (except Scotland). --- rules.js | 3 +++ rules.ts | 3 +++ 2 files changed, 6 insertions(+) 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) diff --git a/rules.ts b/rules.ts index 2f9eb3a..b696404 100644 --- a/rules.ts +++ b/rules.ts @@ -4211,6 +4211,9 @@ function get_port_supply_amount(loc: Locale, report: boolean) { } function get_stronghold_supply_amount(loc: Locale, report: boolean) { + let uses_port = map_get(game.supply, loc, 0) & 7 + if (uses_port) + return 0 if (!has_exhausted_marker(loc)) { let supply = 0 -- cgit v1.2.3