Allow chosen Reinforcements reserve costs
Verify and publish checkpoint container / container (push) Successful in 11m11s
Verify and publish checkpoint container / container (push) Successful in 11m11s
This commit is contained in:
1 parent
9dd386ff7a
commit
1cf90f1328
16 files changed
+419
-44
No files matched your search
@@ -70,7 +70,10 @@ void test('actual Advanced native movement exposes all three legal fee allocatio
|
||||
for (const salusaNormal of [0, 1, 2]) {
|
||||
const f = createReinforcementsHomeworldFixture({ advanced: true, sources: sources(salusaNormal) });
|
||||
const choices = viewGame(f.game, f.owner).battle!.reinforcements!.homeworldSources!;
|
||||
assert.deepEqual(choices.map(canonicalSources).sort(), [0, 1, 2].map(n => canonicalSources(sources(n))).sort());
|
||||
assert.deepEqual(choices.filter(choice => Object.values(choice).every(group => group.elite === 0))
|
||||
.map(canonicalSources).sort(), [0, 1, 2].map(n => canonicalSources(sources(n))).sort());
|
||||
assert.ok(choices.some(choice => Object.values(choice).some(group => group.elite > 0)),
|
||||
'The expanded preview also offers physically available special reserves.');
|
||||
let game = sealReinforcementsHomeworldPlan(f.game, f.planActions[0]);
|
||||
game = sealReinforcementsHomeworldPlan(JSON.parse(JSON.stringify(game)) as Game, f.planActions[1]);
|
||||
const done = finishReinforcementsHomeworldBattle(game);
|
||||
|
||||
Reference in new issue
Block a user