Support Advanced No-Field reveal during foreign movement
Verify and publish checkpoint container / container (push) Successful in 13m13s
Verify and publish checkpoint container / container (push) Successful in 13m13s
This commit is contained in:
1 parent
ee8ec0a84e
commit
51c48e371b
8 files changed
+316
-9
No files matched your search
@@ -12,6 +12,12 @@ export function richeseRevealForeignMovementPending(g: Game): MovementPending |
|
||||
const deployed = richese?.noField?.deployed;
|
||||
if (!richese || !deployed || deployed.controller !== richese.id ||
|
||||
!deployed.location || !('territory' in deployed.location)) return null;
|
||||
const movement = basicPendingMovement(g);
|
||||
const movement = basicPendingMovement(g, {allowAdvanced:true});
|
||||
// A zero marker can remove the only other faction at a BG destination.
|
||||
// Preserve the already selected Advanced arrival stance for all hidden
|
||||
// marker values until that special continuation can be re-quoted.
|
||||
if (g.advanced && movement?.key === 'pendingChoamMove' &&
|
||||
g.players.find(player => player.id === movement.player)?.faction === 'beneGesserit' &&
|
||||
g.pendingChoamMove?.to === deployed.location.territory) return null;
|
||||
return movement && movement.player !== richese.id ? movement.key : null;
|
||||
}
|
||||
Reference in new issue
Block a user