Stone to Water melts doors too (rules rev 38)

"Small entryways in a stone wall" are stone: a door melts exactly as a
wall does — edge opens, lock state washes away, the two-point wave
crashes. Older ledgers had the refusal and replay so.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-08-21 11:43:27 -04:00
co-authored by Claude Fable 5
parent 118bfd236b
commit 2afc4e3973
4 changed files with 44 additions and 4 deletions
+7 -1
View File
@@ -1937,9 +1937,15 @@ const CARD_EFFECTS: Record<string, AttackEffect | NeutralEffect | CounterEffect>
if (cmd.target?.kind === "edge") {
const { cell, side } = cmd.target;
const key = edgeKey(cell, side);
if (view.edges[key] !== "wall") return "that is not a stone wall";
// Doors are "small entryways in a stone wall" — stone melts as
// stone (rev 38; older ledgers had refused doors and replay so).
const current = view.edges[key];
const meltable = current === "wall" ||
((state.config.deckRev ?? 1) >= 38 && current === "door");
if (!meltable) return "that is not a stone wall";
if (!losToEdge(view, caster.position, cell, side)) return "no line of sight";
state.edgeOverrides[key] = "open";
delete state.doorStates[key];
delete state.createdEdges[key];
events.push({ type: "stoneTurnedToWater", caster: caster.id, at: null, edge: { cell, side } });
// "Wall turns into a WATERWALL with a range and damage of 2."