Exercise Ixian Nexus expansion games

This commit is contained in:
Quintine committed 2026-09-27 23:05:27 +10:00
1 parent d77aa5472b
commit 2e39ea00bb
5 files changed
+51 -20

No files matched your search

+4 -1
View File
@@ -6369,7 +6369,10 @@ export function initializePairedNexusGameForAudit(state: Game): Game {
state.players.some(player => player.faction === 'richese')) ||
(expansion === 'ecaz' &&
state.players.some(player => player.faction === 'ecaz') &&
state.players.some(player => player.faction === 'moritani'))),
state.players.some(player => player.faction === 'moritani')) ||
(expansion === 'ix' &&
state.players.some(player => player.faction === 'ixians') &&
state.players.some(player => player.faction === 'tleilaxu'))),
'The paired Nexus sample requires both selected expansion factions and their deck.');
requireRule(!!state.nexusCards && state.nexusCards.cards === null && state.nexusCards.phase === null &&
!state.homeworlds && !state.leaderSkills && !state.discoveryEnabled && !state.ecazTreachery,