Allow Tleilaxu revival prevention for Low Homeworlds

This commit is contained in:
Quintine committed 2026-10-25 20:08:43 +11:00
1 parent 5bcf5bab48
commit ce676f0e54
13 files changed
+501 -46

No files matched your search

+1 -7
View File
@@ -154,7 +154,6 @@ import { GuildAmbassadorMarkerError, markerDestinations, markerOwner, quoteGuild
type GuildAmbassadorMarker, type GuildAmbassadorMarkerQuote } from './guild-ambassador-no-field';
import {
homeworldLowBonus,
homeworldRevivalKaramaBlock,
homeworldSardaukarFreeSupport,
homeworldSardaukarGholaBlock,
snapshotHomeworldRevival,
@@ -32160,8 +32159,6 @@ function tleilaxuSpecialKaramaQuote(g: Game, p: Player) {
(g.pendingRevival && !ownStop) || g.phaseOpening || g.pendingKarama ||
g.choamMarket || g.pendingTreacheryDiscard || g.pendingNullentropy || g.pendingKull
? 'Resolve the current response, decision or card effect before declaring revival prevention.' : null,
targetBlocks: Object.fromEntries(g.players.map(player =>
[player.id, homeworldRevivalKaramaBlock(g, player.id)])),
});
}
function tleilaxuSpecialKaramaView(g: Game, p: Player) {
@@ -38367,10 +38364,7 @@ export function viewGame(state: Game, id: string) {
),
revival: {
pending: !!g.pendingRevival,
specialKaramaBlock:
g.decision?.kind === 'revivalStop'
? homeworldRevivalKaramaBlock(g, g.decision.recipient)
: null,
specialKaramaBlock: null,
leaders: leaderRevivals.leaders,
kwisatz: leaderRevivals.kwisatz,
...(leaderRevivals.auditorCyclePolicy ? { auditorCyclePolicy: leaderRevivals.auditorCyclePolicy } : {}),