Connect Moritani Nexus losing-card retention
This commit is contained in:
1 parent
cb98ead411
commit
886a8f4478
16 files changed
+551
-51
No files matched your search
+4
-1
@@ -1676,7 +1676,10 @@ function policyActions(g: GameView): Action[] {
|
||||
const candidates = (me.hand ?? [])
|
||||
.filter((card) => d.cards.includes(card.id))
|
||||
.sort((a, b) => technologyCardValue(g, b) - technologyCardValue(g, a));
|
||||
return [{ type: 'decision', keep: candidates[0]?.id ?? null }];
|
||||
return [d.source === 'nexus'
|
||||
? { type: 'decision', event: d.event,
|
||||
keep: g.nexusMoritaniRetention?.canKeep ? candidates[0]?.id ?? null : null }
|
||||
: { type: 'decision', keep: candidates[0]?.id ?? null }];
|
||||
}
|
||||
if (d.kind === 'moritaniTerror') {
|
||||
const entry = g.terrorEntry;
|
||||
|
||||
Reference in new issue
Block a user