Connect Moritani Nexus losing-card retention

This commit is contained in:
Quintine committed 2026-09-28 11:13:39 +10:00
1 parent cb98ead411
commit 886a8f4478
16 files changed
+551 -51

No files matched your search

+5
View File
@@ -67,6 +67,11 @@ function battle(holdCard: boolean, ids: [string, string, string] = ['p', 'q', 'r
game = applyAction(game, game.decision.player, { type: 'decision', discard: [] });
} else if (game.decision?.kind === 'battleLosses') {
game = applyAction(game, game.decision.player, { type: 'decision', choice: 0 });
} else if (game.decision?.kind === 'moritaniRetention' &&
game.decision.source === 'nexus') {
game = applyAction(game, game.decision.player, {
type: 'decision', event: game.decision.event, keep: null,
});
} else if (game.decision?.kind === 'captureOffer') {
game = applyAction(game, game.decision.player, { type: 'decision', accept: false });
} else break;