Extend conditional battle questions across previews
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
0e52c25355
commit
50703664cf
13 files changed
+336
-24
No files matched your search
@@ -11,11 +11,10 @@ export function futureBattleLeaderTiming(g: Pick<Game, 'phase' | 'stormPending'
|
||||
}
|
||||
|
||||
/** Share the same quiet-window boundary between question validation and the
|
||||
* projected editor. Basic expansion factions use the same native battle
|
||||
* receipt except Ecaz, whose combined battle lead is chosen afterward. */
|
||||
* projected editor. Advanced Ecaz remains outside the current preview. */
|
||||
export function futureBattleLeaderWindow(g: Game): boolean {
|
||||
return g.status === 'playing' && !g.advanced && futureBattleLeaderTiming(g) &&
|
||||
!g.players.some(player => player.faction === 'ecaz') && !g.ecazOccupyPreview &&
|
||||
return g.status === 'playing' && futureBattleLeaderTiming(g) &&
|
||||
(!g.advanced || !g.players.some(player => player.faction === 'ecaz') && !g.ecazOccupyPreview) &&
|
||||
!g.techTokens && !g.strongholdCards && !g.nexusCards && !g.homeworlds &&
|
||||
!g.leaderSkills && !g.discoveryEnabled && !g.ecazTreachery && !g.battle &&
|
||||
!g.response && !g.decision && !g.phaseOpening && !g.pendingRevival &&
|
||||
|
||||
Reference in new issue
Block a user