Support Truthtrance ordering in Black Market auctions
Verify and publish checkpoint container / container (push) Successful in 11m19s

This commit is contained in:
Quintine committed 2026-11-16 18:49:05 +11:00
1 parent 6ce9a4b4a7
commit 868713eeb9
15 files changed
+359 -28

No files matched your search

+5 -3
View File
@@ -1609,12 +1609,14 @@ export function resolveTruthAction(
// decision to open it never inspects who holds Juice of Sapho.
const ordinaryLot = g.phase === 3 && !!g.auction?.cards[g.auction.index] &&
!!g.auction.active && !g.currentAuctionSale && !g.ixAuction;
const richeseCacheLot = g.phase === 3 && !!g.richeseAuction && g.richeseAuction.source === 'cache' &&
(g.richeseAuction.method === 'onceAround' || g.richeseAuction.method === 'silent') &&
const richeseLot = g.phase === 3 && !!g.richeseAuction &&
(g.richeseAuction.source === 'cache' && (g.richeseAuction.method === 'onceAround' || g.richeseAuction.method === 'silent') ||
g.advanced && g.richeseAuction.source === 'blackMarket' &&
['normal','onceAround','silent'].includes(g.richeseAuction.method)) &&
!g.richeseAuction.outcome && !g.currentAuctionSale && !g.auction && !g.ixAuction;
const clean = g.status === 'playing' && g.expansions.includes('choam') && !g.response && !g.decision && !g.phaseOpening &&
!g.pendingKarama && !g.pendingTreacheryDiscard && !g.pendingNullentropy && (!g.auction || ordinaryLot) &&
(!g.richeseAuction || richeseCacheLot) &&
(!g.richeseAuction || richeseLot) &&
(!g.battle || g.phase === 6 && !!g.battle.event && !g.battle.revealed && !g.battle.preparation &&
!g.pendingWinnerDiscards && !g.pendingCapture && !g.pendingTech && !g.pendingFaceDance && !g.pendingIxSubstitution) &&
!g.pendingRevival && !g.pendingShipment &&