Prioritize Basic faction prototypes and connect three missing rule paths

This commit is contained in:
Quintine committed 2026-10-08 08:23:20 +11:00
1 parent f36632accc
commit c28e24b5fa
17 files changed
+152 -110

No files matched your search

+3 -9
View File
@@ -98,14 +98,9 @@ void test('the Tleilaxu Ambassador returns typed forces from the Tanks for free
assert.equal(offered.decision?.kind, 'ecazAmbassador');
assert.equal(offered.decision?.player, 'ally');
const view = viewGame(offered, 'ally').ambassadorEntry!;
assert.deepEqual(view.revival, {
maximum: 3,
tanks: 3,
eliteTanks: 1,
eliteRevived: 0,
leaderAlternative: false,
blocked: null,
});
assert.equal(view.revival?.maximum, 3);
assert.equal(view.revival?.eliteTanks, 1);
assert.equal(view.revival?.blocked, null);
assert.equal(viewGame(offered, 'ecaz').ambassadorEntry!.revival, null);
assert.equal(viewGame(offered, 'entrant').ambassadorEntry!.revival, null);
const before = counters(offered, 'ally');
@@ -214,7 +209,6 @@ void test('the entry control offers each legal count, the elite-aware return and
for (const label of ['Return 1 force', 'Return 2 forces', 'Return 3 forces', 'Return no forces'])
assert.ok(markup.includes(label), label);
assert.ok(markup.includes('Tleilaxu Ambassador'));
assert.ok(markup.includes('leader alternative'));
const blocked = structuredClone(offered);
blocked.players.find((p) => p.id === 'ally')!.tanks = 0;
const blockedView = viewGame(blocked, 'ally') as unknown as Parameters<typeof EcazEntry>[0]['game'];