Expand Basic Richese and Terror interactions
Verify and publish checkpoint container / container (push) Successful in 11m25s
Verify and publish checkpoint container / container (push) Successful in 11m25s
This commit is contained in:
1 parent
605cb2a32f
commit
9ab9b9a613
10 files changed
+426
-9
No files matched your search
@@ -4,7 +4,7 @@ import { richeseRevealForeignMovementPending } from './richese-reveal-foreign-mo
|
||||
|
||||
const factions = new Set([
|
||||
'atreides', 'beneGesserit', 'emperor', 'fremen', 'guild', 'harkonnen',
|
||||
'richese', 'choam', 'ixians', 'tleilaxu',
|
||||
'richese', 'choam', 'ixians', 'tleilaxu', 'ecaz', 'moritani',
|
||||
]);
|
||||
|
||||
/** A deliberately bounded admission for an existing before-Battle parent.
|
||||
@@ -14,10 +14,11 @@ export function richeseRevealInterruptSupported(g: Game): boolean {
|
||||
if (g.status !== 'playing' || g.advanced || !Number.isSafeInteger(g.phase) ||
|
||||
g.phase < 0 || g.phase >= 6 || !Number.isSafeInteger(g.turn) || g.turn < 1 ||
|
||||
!Array.isArray(g.expansions) || !g.expansions.includes('choam') ||
|
||||
g.expansions.some(deck => deck !== 'choam' && deck !== 'ix') ||
|
||||
g.expansions.some(deck => deck !== 'choam' && deck !== 'ix' && deck !== 'ecaz') ||
|
||||
new Set(g.expansions).size !== g.expansions.length ||
|
||||
!Array.isArray(g.players) || !g.players.every(player => factions.has(player.faction)) ||
|
||||
g.players.some(player => (player.faction === 'ixians' || player.faction === 'tleilaxu') && !g.expansions.includes('ix')) ||
|
||||
g.players.some(player => (player.faction === 'ecaz' || player.faction === 'moritani') && !g.expansions.includes('ecaz')) ||
|
||||
g.coalitionState || g.coalitionPreview || g.techTokens || g.strongholdCards || g.leaderSkills ||
|
||||
g.homeworlds || g.nexusCards || g.discoveryEnabled || g.discoveries || g.discoveryStash ||
|
||||
g.greatMaker || g.sandtrout || g.ecazTreachery || g.truthtrance ||
|
||||
|
||||
Reference in new issue
Block a user