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
@@ -11,6 +11,7 @@ import {
type BoardSeat,
} from './board-resolution-quote';
import { presenceAt } from './force-presence';
import { isBoardNoFieldLocation } from './richese-no-field';
import { territoryEntryBlock } from './occupancy';
import { ecazOccupancyIdentity } from './ecaz-occupy';
@@ -109,7 +110,7 @@ function selection(player: BoardSeat, to: string): NexusAdvisorSelection {
.map(([key, count]) => ({ location: key, count }));
const marker = player.noField?.deployed?.location;
const noField =
marker?.territory === to ? location(marker.territory, marker.sector) : null;
marker && isBoardNoFieldLocation(marker) && marker.territory === to ? location(marker.territory, marker.sector) : null;
const count =
locations.reduce((sum, group) => sum + group.count, 0) + (noField ? 1 : 0);
return {