POWER ATTACK burns any number of life points short of the last

The card sets no ceiling and the engine never had one; the picker
offered five. It now offers every point but the one that keeps you
alive.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
Eric Wagoner
2026-09-05 22:25:43 -04:00
co-authored by Claude Fable 5.1
parent 2812b85016
commit 2fd324a475
+1 -1
View File
@@ -1453,7 +1453,7 @@
function pass() { dispatch({ type: "pass" }); }
const me = $derived(view?.players.find((p) => p.id === view?.you) ?? null);
const paBurnable = $derived(me ? [1, 2, 3, 4, 5].filter((n) => n < me.life) : []);
const paBurnable = $derived(me ? Array.from({ length: Math.max(0, me.life - 1) }, (_, i) => i + 1) : []);
/** Two treasures can share a square: one dispatches, more ask whose. */
const treasuresHere = $derived(
view && me