Support Advanced No-Field reveal interruptions
Verify and publish checkpoint container / container (push) Successful in 11m29s
Verify and publish checkpoint container / container (push) Successful in 11m29s
This commit is contained in:
1 parent
5e7f7b45e4
commit
ee8ec0a84e
11 files changed
+607
-4
No files matched your search
+1
-1
@@ -42890,7 +42890,7 @@ function playChoamWorthless(g: Game, p: Player, action: Action, movementPreparat
|
||||
};
|
||||
if (nexus) recordNexusChoam(g,p,card,effect);
|
||||
if (reactive || mentat || moving || storming) g.decision = null;
|
||||
g.ready = [];
|
||||
if (!(g.phase === 4 && g.revivalOrder)) g.ready = [];
|
||||
g.response = {
|
||||
kind: 'choamWorthless',
|
||||
owner: p.id,
|
||||
|
||||
@@ -1136,6 +1136,7 @@ export const RULE_TOPICS: RuleTopic[] = [
|
||||
'In Basic play, your own single concealed No-Field may provisionally ship into an ally’s territory if it can legally enter; move it and any paid accompanying forces out before your turn ends. Paid companions require the High Richese Homeworld power. If the marker remains, reveal it and send its newly materialized forces to Tanks under the provisional no-departure policy. A zero marker reveals but contributes no casualties. Existing physical forces and the ally are not part of that new-visitor loss. Paired markers keep their separate guards.',
|
||||
'A normal No-Field shipment pays the one-force price. The concealed token moves like a force. Before Battle, Richese may reveal it voluntarily; a token involved in battle is revealed with the Battle Plan. Revelation brings the indicated forces from reserves, limited by what remains there.',
|
||||
'A waiting Sandtrout does not prevent the supported Basic voluntary-reveal interruption windows.',
|
||||
'In supported Advanced games, the same before-Battle reveal is available during the connected auction, Revival, inspection and other independent response windows. Your actual reserves determine how many forces appear; the original decision or response continues.',
|
||||
'In supported Basic interruptions, a current-turn history of factual Truthtrance answers does not by itself block your reveal. Live promises and questions about future actions retain their existing safeguards.',
|
||||
'In supported Basic games the voluntary reveal can also occur while CHOAM decides whether to prevent an already-declared free Revival. Reveal uses current reserves; the original Revival and CHOAM decision then continue once.',
|
||||
'In supported Basic auctions, reveal can also occur during the Emperor’s allied gift opportunity or its response. The original lot, pledged funds and gift continue unchanged.',
|
||||
|
||||
@@ -13,7 +13,7 @@ const factions = new Set([
|
||||
* This does not authorize a seat, marker or event, and does not mutate the
|
||||
* game. The normal No-Field action and view own those checks. */
|
||||
export function richeseRevealInterruptSupported(g: Game): boolean {
|
||||
if (g.status !== 'playing' || g.advanced || !Number.isSafeInteger(g.phase) ||
|
||||
if (g.status !== 'playing' || !Number.isSafeInteger(g.phase) ||
|
||||
g.phase < 0 || g.phase >= 6 || !Number.isSafeInteger(g.turn) || g.turn < 1 ||
|
||||
!Array.isArray(g.expansions) || !g.expansions.includes('choam') ||
|
||||
g.expansions.some(deck => deck !== 'choam' && deck !== 'ix' && deck !== 'ecaz') ||
|
||||
@@ -123,7 +123,12 @@ export function richeseRevealInterruptSupported(g: Game): boolean {
|
||||
// source are admitted. Other shipment and revival transactions still
|
||||
// need their own continuation proofs.
|
||||
const response = g.response;
|
||||
if (g.decision || g.phaseOpening || g.choamMarket ||
|
||||
// Advanced begins Atreides' forecast and the Guild timing choice together;
|
||||
// revealing an existing marker changes neither of those original parents.
|
||||
const forecastGuildTiming = g.advanced && response.kind === 'atreidesSpice' &&
|
||||
g.phase === 5 && g.decision?.kind === 'guildTiming' &&
|
||||
g.players.some(player => player.id === g.decision!.player && player.faction === 'guild');
|
||||
if ((g.decision && !forecastGuildTiming) || g.phaseOpening || g.choamMarket ||
|
||||
!Array.isArray(response.passed) || new Set(response.passed).size !== response.passed.length ||
|
||||
response.passed.some(id => !g.players.some(player => player.id === id))) return false;
|
||||
const owner = g.players.find(player => player.id === response.owner);
|
||||
|
||||
Reference in new issue
Block a user