Connect Nexus Skills and Advanced Ambassador markers
Verify and publish checkpoint container / container (push) Successful in 10m45s

This commit is contained in:
Quintine committed 2026-11-16 16:23:53 +11:00
1 parent 2660b10af0
commit 4270b36be7
14 files changed
+578 -41

No files matched your search

+12
View File
@@ -46,6 +46,12 @@ export type NexusModulePaymentsFixture = {
/** Use the existing original continuation policy, never a fixture phase jump. */
export function nextNexusModulePaymentsNativeStep(game: Game): NexusModulePaymentStep | null {
if (game.phase === 2 && game.charityOrder && !game.phaseOpening && !game.response &&
!game.decision && !game.truthtrance && !game.pendingTreacheryDiscard) {
const actor = game.charityOrder.remaining[0];
assert.ok(actor, 'An open ordered Charity needs its current actor.');
return { actor, action: { type: 'ready' } };
}
if (game.nexusCards?.phase?.stage === 'drawing' && !game.response && !game.decision) {
const phase = game.nexusCards.phase;
const actor = phase.eligible.find(id => !phase.done.includes(id));
@@ -236,6 +242,12 @@ export function createNexusModulePaymentsFixture(options: NexusModulePaymentsOpt
const event = kind === 'guild-shipment' ? view.nexusGuildSecretAlly!.event : view.nexusRichese!.event;
paymentAction = { type: 'ship', ...target, amount, nexus: event };
} else {
// Advanced Revival belongs to each seat in order. Finish preceding
// opportunities through their real controls before staging casualties.
for (let n = 0; game.revivalOrder && game.revivalOrder.remaining[0] !== actor && n < 30; n++)
game = step(game, actions);
assert.equal(game.phase, 4);
assert.ok(!game.revivalOrder || game.revivalOrder.remaining[0] === actor);
const player = game.players.find(p => p.id === actor)!;
const tanks = options.tanks ?? 6, elite = options.eliteTanks ?? 0;
assert.ok(tanks <= player.reserves && elite <= (player.elites?.reserves ?? 0));