Support Basic Kull and Leader Skills with Ecaz
Verify and publish checkpoint container / container (push) Successful in 10m49s

This commit is contained in:
Quintine committed 2026-11-16 16:31:43 +11:00
1 parent 4270b36be7
commit 4fba4860e1
11 files changed
+415 -13

No files matched your search

+30
View File
@@ -117,6 +117,36 @@ function basicNativeNexusCore(game: NexusCoreConfiguration): boolean {
return true;
}
/** Basic Kull and physical Leader Skills without Nexus. The same public
* roster is used while the fresh setup is dealt and after Kull is stamped. */
export function basicKullLeaderSkillsProfile(game: NexusCoreConfiguration): boolean {
const players = game.players;
if (game.advanced !== false || !game.leaderSkills || !players ||
players.length < 2 || players.length > 6 ||
(game.expansions.length !== 2 && game.expansions.length !== 3) ||
!game.expansions.includes('ix') || !game.expansions.includes('choam') ||
game.expansions.some(id => id !== 'ix' && id !== 'choam' && id !== 'ecaz') ||
new Set(game.expansions).size !== game.expansions.length ||
!players.some(player => player.faction === 'choam') ||
game.nexusCards || game.nexusKullPreview || game.homeworlds || game.techTokens ||
game.strongholdCards || game.discoveryEnabled || game.discoveries ||
game.discoveryStash || game.greatMaker || game.advancedPreview ||
game.guildBetrayalPreview || game.richeseBetrayalPreview ||
game.nexusIxianReplacementPreview || game.nexusIxianBetrayalPreview ||
game.nexusHarkonnenBetrayalPreview || game.moritaniAssassinatePreview ||
(game.semutaPreview && (game.semutaPreview !== true ||
!players.some(player => player.faction === 'richese'))) ||
(game.kullPreview && game.kullPreview !== true)) return false;
const factions = new Set<string>();
for (const player of players) {
if (factions.has(player.faction)) return false;
factions.add(player.faction);
const faction = FACTIONS.find(candidate => candidate.id === player.faction);
if (!faction || (faction.expansion !== 'base' && !game.expansions.includes(faction.expansion))) return false;
}
return true;
}
/** Basic Nexus/Kull with original Leader Skills. Recognize the fresh setup
* before its Kull stamps and live games after both stamps alike. */
export function nexusKullLeaderSkillsProfile(game: NexusCoreConfiguration): boolean {