Prototype Richese No-Fields on foreign Homeworlds

This commit is contained in:
Quintine committed 2026-10-28 20:04:03 +11:00
1 parent dd3c199e2e
commit 850227c26d
71 files changed
+1806 -187

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@ import { MOBILE_STRONGHOLD, validLocation, splitLocation } from './board';
import type { FactionId } from './catalog';
import { fighterCount } from './advisors';
import type { ForcePresence } from './force-presence';
import { isHomeworldNoFieldLocation } from './richese-no-field';
export type StrongholdId =
| 'arrakeen'
@@ -189,7 +190,7 @@ export function strongholdControllers(
}
const marker = p.noField?.deployed?.location;
requireValid(
!marker || validLocation(marker.territory, marker.sector),
!marker || isHomeworldNoFieldLocation(marker) || validLocation(marker.territory, marker.sector),
'The No-Field must occupy a valid location.',
);
}