Support mixed Discovery decks with Leader Skills
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
7c1f4b4e09
commit
77eb2392eb
15 files changed
+420
-11
No files matched your search
@@ -59,6 +59,17 @@ export function independentDiscoveryNexusProfile(game: NexusCoreConfiguration):
|
||||
return !!game.nexusCards && independentDiscoveryProfile(game);
|
||||
}
|
||||
|
||||
/** Selected Discovery decks and registered native seats remain independent of
|
||||
* Nexus and Ecaz's separate three cards, including before Skills are dealt. */
|
||||
export function selectedDiscoveryWithoutCardsProfile(game: NexusCoreConfiguration): boolean {
|
||||
const players = game.players;
|
||||
if (game.discoveryEnabled !== true || !game.expansions.length || !players ||
|
||||
game.nexusCards || game.ecazTreachery || game.semutaPreview ||
|
||||
!nexusCoreRosterProfile(game, true, true)) return false;
|
||||
return !(game.advanced && players.some(player => player.faction === 'harkonnen') &&
|
||||
players.some(player => player.faction === 'ecaz' || player.faction === 'moritani'));
|
||||
}
|
||||
|
||||
/** Original selected decks do not require their native factions or the
|
||||
* independent three-card variant. Hidden E3/Harkonnen compositions retain
|
||||
* their existing separately scoped paths. */
|
||||
|
||||
Reference in new issue
Block a user