Support Truthtrance Storm dial comparisons

This commit is contained in:
Quintine committed 2026-10-27 22:21:38 +11:00
1 parent c8889e94e2
commit 31b3c1ab87
12 files changed
+288 -18

No files matched your search

+1 -1
View File
@@ -795,7 +795,7 @@ export function truthQuestionText(
};
if (q.kind === 'turnActions') return `Is it true that ${mixedActionExpressionText(q.mixed, clause,
action => {
if (action.kind === 'stormDial') return `you submit exactly ${action.value} on your original storm dial this turn`;
if (action.kind === 'stormDial') return `you submit ${action.compare === 'gte' ? 'at least' : action.compare === 'lte' ? 'at most' : 'exactly'} ${action.value} on your original storm dial this turn`;
if (action.kind === 'windowCardPlay') {
if (action.effect === 'karamaBattleCancel') {
const response = parseKaramaBattleCancelSource(action.source);