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
@@ -45,7 +45,7 @@ export function coalitionBattleBeneficiary(
|
||||
const seats = game.players.map(player => ({id: player.id, ally: player.ally ?? null,
|
||||
...(player.allySinceTurn !== undefined ? {allySinceTurn: player.allySinceTurn} : {})}));
|
||||
const group = coalitionOf(seats, game.coalitionState, ownerId);
|
||||
if (group?.members.length === 3) {
|
||||
if (group && group.members.length >= 3) {
|
||||
const members = combatants.filter(player => group.members.includes(player));
|
||||
return members.length === 1 ? members[0] : null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user