Connect staged Advanced classic group alliances
Verify and publish checkpoint container / container (push) Successful in 10m53s
Verify and publish checkpoint container / container (push) Successful in 10m53s
This commit is contained in:
1 parent
ef92ddf2b9
commit
3ba9087405
22 files changed
+561
-44
No files matched your search
@@ -25,10 +25,10 @@ const id = (value: unknown): value is string =>
|
||||
const count = (value: unknown): value is number =>
|
||||
Number.isSafeInteger(value) && (value as number) >= 0;
|
||||
|
||||
/** Match the unexposed Basic classic group profile; other profiles retain the
|
||||
/** Match the unexposed Basic/Advanced classic group profile; other profiles retain the
|
||||
* existing mutual-pair path until their interactions are connected. */
|
||||
function groupRecipients(g: FremenRevivalGrantContext, owner: string): string[] | null {
|
||||
if (!g.coalitionState || g.status !== 'playing' || g.advanced !== false ||
|
||||
if (!g.coalitionState || g.status !== 'playing' || typeof g.advanced !== 'boolean' ||
|
||||
!Array.isArray(g.expansions) || g.expansions.length || g.homeworlds || g.nexusCards ||
|
||||
g.leaderSkills || g.techTokens || g.strongholdCards || g.ecazTreachery || g.discoveryEnabled ||
|
||||
!g.players.every(player => ['atreides', 'beneGesserit', 'emperor', 'fremen', 'guild', 'harkonnen'].includes(player.faction)))
|
||||
|
||||
Reference in new issue
Block a user