Support selected Nexus decks with leader skills
Verify and publish checkpoint container / container (push) Successful in 11m54s
Verify and publish checkpoint container / container (push) Successful in 11m54s
This commit is contained in:
1 parent
91d45d1dec
commit
00e01a7cd2
13 files changed
+314
-23
No files matched your search
@@ -38,7 +38,6 @@ void test('selected Nexus admits independently selected decks with some or all n
|
||||
void test('selected Nexus rejects unrelated modules and illegal deck or seat configurations', () => {
|
||||
const rejected = [
|
||||
{ ...base, nexusCards: undefined },
|
||||
{ ...base, leaderSkills: {} },
|
||||
{ ...base, ecazTreachery: true },
|
||||
{ ...base, expansions: [] },
|
||||
{ ...base, expansions: ['ix', 'ix'] },
|
||||
@@ -72,7 +71,7 @@ void test('Discovery requires its explicit enabled selection, even with selected
|
||||
assert.equal(discoveryModeSupported(enabled), true);
|
||||
assert.equal(discoveryModeSupported({ ...enabled, discoveries: {}, discoveryStash: {}, greatMaker: {} }), true,
|
||||
'Live Discovery objects do not erase an explicitly selected module');
|
||||
assert.equal(discoveryModeSupported({ ...enabled, leaderSkills: {} }), false);
|
||||
assert.equal(discoveryModeSupported({ ...enabled, leaderSkills: {} }), true);
|
||||
});
|
||||
|
||||
void test('Advanced Harkonnen with either E3 native stays on its existing excluded boundary', () => {
|
||||
@@ -84,7 +83,7 @@ void test('Advanced Harkonnen with either E3 native stays on its existing exclud
|
||||
assert.equal(selectedNexusWithoutCardsProfile(advanced), false, faction);
|
||||
assert.equal(selectedNexusWithoutCardsProfile({ ...advanced, discoveryEnabled: true }), false, faction);
|
||||
assert.equal(discoveryModeSupported({ ...advanced, discoveryEnabled: true }), false, faction);
|
||||
assert.equal(selectedNexusWithoutCardsProfile({ ...basic, leaderSkills: {} }), false, faction);
|
||||
assert.equal(selectedNexusWithoutCardsProfile({ ...basic, leaderSkills: {} }), true, faction);
|
||||
}
|
||||
assert.equal(selectedNexusWithoutCardsProfile({ ...base, advanced: true,
|
||||
players: [{ faction: 'harkonnen' }, { faction: 'ixians' }] }), true,
|
||||
|
||||
Reference in new issue
Block a user