Add private Ecaz Nexus Secret Ally inquiry
This commit is contained in:
1 parent
886a8f4478
commit
0c6d28a706
14 files changed
+496
-26
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import type { Card } from './cards';
|
||||
import type { Game } from './engine';
|
||||
import { nexusCardMode } from './nexus-cards';
|
||||
import { nexusCleanPlayBlocked } from './nexus-play-boundary';
|
||||
|
||||
export type NexusChoamBetrayalOffer = Readonly<{
|
||||
event: string;
|
||||
@@ -46,22 +47,7 @@ export function quoteNexusChoamBetrayal(
|
||||
let blocked: string | null = null;
|
||||
if (holder.ally) blocked = 'Use a Nexus card while unallied.';
|
||||
else if (g.status !== 'playing') blocked = 'Use CHOAM Betrayal during play.';
|
||||
else if (automaticPending || g.response || g.decision || g.truthtrance || g.phaseOpening ||
|
||||
g.pendingKarama || g.pendingTreacheryDiscard || g.pendingNullentropy ||
|
||||
g.pendingExchange || g.pendingAmbassador || g.pendingRicheseGift ||
|
||||
g.pendingRichesePurchaseIncome || g.pendingRevival || g.pendingCapture ||
|
||||
g.pendingShipment || g.pendingHomeworldShipment || g.pendingIxMove ||
|
||||
g.pendingFremenMove || g.pendingMobileMove || g.pendingTerrorEntry ||
|
||||
g.pendingMoritaniPlacement || g.pendingEcazPlacement || g.pendingChoamMove ||
|
||||
g.pendingChoamWorthless || g.pendingChoamBattleIncome ||
|
||||
g.pendingChoamMarketGhola || g.pendingAuditor || g.pendingFaceDance ||
|
||||
g.pendingTech || g.pendingIxTechnology || g.pendingIxAlly ||
|
||||
g.pendingIxSubstitution || g.pendingIxRicheseTechnology ||
|
||||
g.pendingWinnerDiscards || g.pendingSukRescue || g.ornithopter ||
|
||||
g.summonedWorm || g.battle || g.auction || g.richeseAuction ||
|
||||
g.choamMarket || g.nexusTraitorPending ||
|
||||
g.nexusTraitorExchanges?.some(record => record.stage === 'return') ||
|
||||
g.nexusCards?.phase?.stage === 'drawing')
|
||||
else if (nexusCleanPlayBlocked(g, automaticPending))
|
||||
blocked = 'Finish the current interaction before using CHOAM Betrayal.';
|
||||
else if (handSize === 0) blocked = 'CHOAM has no Treachery cards to discard.';
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user