Enable paired Ecaz and Moritani Discovery preview
Verify and publish checkpoint container / container (push) Successful in 10m37s
Verify and publish checkpoint container / container (push) Successful in 10m37s
This commit is contained in:
1 parent
2ad7f127ec
commit
9ca68c9ff8
11 files changed
+212
-11
No files matched your search
@@ -52,7 +52,15 @@ export function discoveryModeSupported(game: FactionModuleProfile): boolean {
|
||||
if (player.faction === 'moritani') moritani = true;
|
||||
if (player.faction === 'harkonnen') harkonnen = true;
|
||||
}
|
||||
return (!e3 || native === 1) && !(game.advanced && moritani && harkonnen);
|
||||
return (!e3 || native >= 1 && native <= 2) && !(game.advanced && moritani && harkonnen);
|
||||
}
|
||||
|
||||
/** The original E3 pair can use Discovery without choosing a Nexus or card variant. */
|
||||
export function pairedE3DiscoveryOnlyProfile(game: FactionModuleProfile): boolean {
|
||||
return !game.nexusCards && !game.ecazTreachery && !game.leaderSkills &&
|
||||
game.expansions.length === 1 && game.expansions[0] === 'ecaz' &&
|
||||
game.players.some(player => player.faction === 'ecaz') &&
|
||||
game.players.some(player => player.faction === 'moritani') && discoveryModeSupported(game);
|
||||
}
|
||||
|
||||
/** Fresh or live classic all-fourteen Skills/Discovery, optionally Homeworlds/Tech/Advanced Strongholds.
|
||||
|
||||
Reference in new issue
Block a user