Prototype unlimited alliance variant
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
37acaeb9d2
commit
9cb65a21f5
23 files changed
+677
-52
No files matched your search
@@ -42,7 +42,7 @@ function validateBoardCoalitions(g: BoardContext) {
|
||||
if (g.coalitionState === undefined) return;
|
||||
try {
|
||||
for (const group of coalitionGroups(g.players, g.coalitionState))
|
||||
if (group.members.length === 3 && (g.advanced || g.players.some(player => player.faction === 'ecaz')))
|
||||
if (group.members.length >= 3 && (g.advanced || g.players.some(player => player.faction === 'ecaz')))
|
||||
throw new Error('Three-member board rules require Basic play without Ecaz.');
|
||||
} catch (error) {
|
||||
throw new BoardResolutionError((error as Error).message);
|
||||
|
||||
Reference in new issue
Block a user