Fix mixed-deck Nexus Betrayal continuations
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-30 18:12:45 +11:00
1 parent 6204efb7e4
commit 7680e1ee69
15 files changed
+487 -46

No files matched your search

@@ -31,6 +31,10 @@ export function nextHarkonnenBetrayalNativeStep(game:Game):HarkonnenBetrayalNati
return {actor:game.battle.preparation.owner,action:{type:'declineBattlePower'}};
if(game.decision?.kind==='fullPlanOffer')
return {actor:game.decision.player,action:{type:'decision',decline:true}};
if(!game.response&&!game.phaseOpening&&!game.decision&&!game.truthtrance&&!game.pendingNullentropy) {
if(game.phase===2&&game.charityOrder?.remaining[0]) return {actor:game.charityOrder.remaining[0],action:{type:'ready'}};
if(game.phase===4&&game.revivalOrder?.remaining[0]) return {actor:game.revivalOrder.remaining[0],action:{type:'ready'}};
}
if(game.status==='playing'&&!game.decision) {
if(game.phase===0&&game.stormPending===null) return {actor:game.stormDialers.find(id=>game.stormDials[id]===undefined)!,action:{type:'stormDial',amount:game.turn===1?0:1}};
if(game.phase===3&&game.auction) return {actor:game.auction.active,action:{type:'passBid'}};