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:
co-authored by
Claude Fable 5
parent
118bfd236b
commit
2afc4e3973
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user