Stone to water splashes like it means it
The transmutation fired no flourish: its event carried no coordinates for the wall case and the mapper knew neither it nor the wave it raises. The event now carries its edge; the burst splashes both sides of the vanished wall (or the freed square, for a block), and every wizard the collapsing wave carries leaves a wash streak — which also gives the plain WATERWALL's wave its motion for free. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
ca55f7d00b
commit
64709f6c9c
@@ -540,7 +540,7 @@ export type GameEvent =
|
||||
| { type: "safeCreated"; caster: PlayerId; at: Cell }
|
||||
| { type: "safeOpened"; player: PlayerId; at: Cell }
|
||||
| { type: "itemsTraded"; caster: PlayerId; a: Cell; b: Cell }
|
||||
| { type: "stoneTurnedToWater"; caster: PlayerId; at: Cell | null }
|
||||
| { type: "stoneTurnedToWater"; caster: PlayerId; at: Cell | null; edge?: { cell: Cell; side: Side } }
|
||||
| { type: "handsSwapped"; a: PlayerId; b: PlayerId }
|
||||
| { type: "handsScrambled"; caster: PlayerId }
|
||||
| { type: "rammed"; attacker: PlayerId; target: PlayerId; distance: number }
|
||||
@@ -1730,7 +1730,7 @@ const CARD_EFFECTS: Record<string, AttackEffect | NeutralEffect | CounterEffect>
|
||||
if (!losToEdge(view, caster.position, cell, side)) return "no line of sight";
|
||||
state.edgeOverrides[key] = "open";
|
||||
delete state.createdEdges[key];
|
||||
events.push({ type: "stoneTurnedToWater", caster: caster.id, at: null });
|
||||
events.push({ type: "stoneTurnedToWater", caster: caster.id, at: null, edge: { cell, side } });
|
||||
// "Wall turns into a WATERWALL with a range and damage of 2."
|
||||
waveFromEdge(state, events, cell, side, 2);
|
||||
checkVictory(state, events);
|
||||
|
||||
Reference in New Issue
Block a user