Extend Basic Emperor auction gifts to Nexus and Richese
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
b258c6867f
commit
dac1b432db
11 files changed
+509
-14
No files matched your search
@@ -65,6 +65,10 @@ export function stepNexusEmperorPayment(game: Game, step: NexusEmperorPaymentSte
|
||||
return scalarEntropy(() => applyAction(game, step.actor, step.action));
|
||||
}
|
||||
export function nextNexusEmperorPaymentStep(game: Game): NexusEmperorPaymentStep {
|
||||
if (!game.response && game.pendingEmperorAuctionGift) {
|
||||
const pending = game.pendingEmperorAuctionGift;
|
||||
return { actor: pending.owner, action: { type: 'emperorAuctionGiftContinue', event: pending.event } };
|
||||
}
|
||||
if (clean(game) && game.nexusCards?.phase?.stage === 'drawing') {
|
||||
const actor = game.nexusCards.phase.eligible.find(id => !game.nexusCards!.phase!.done.includes(id));
|
||||
assert.ok(actor);
|
||||
|
||||
Reference in new issue
Block a user