diff --git a/packages/engine/src/game.ts b/packages/engine/src/game.ts index 5ba15ef..86ab12f 100644 --- a/packages/engine/src/game.ts +++ b/packages/engine/src/game.ts @@ -3726,16 +3726,11 @@ function fearRepels(state: GameState, moverId: PlayerId | null, from: Cell, to: for (const other of state.players) { if (!other.alive || other.id === moverId) continue; if (sustainedOn(state, other.id, "fear").length === 0) continue; - // "Spaces" are counted through the maze — warps included, walls - // respected — exactly as feet would walk them (rules rev 32). Earlier - // games measured as the crow flies, and their ledgers replay so. - const walked = (state.config.deckRev ?? 1) >= 32; - const d = walked - ? walkingDistance(state, other.position, to) - : Math.abs(other.position.x - to.x) + Math.abs(other.position.y - to.y); - const dBefore = walked - ? walkingDistance(state, other.position, from) - : Math.abs(other.position.x - from.x) + Math.abs(other.position.y - from.y); + // FAQ: "The 3 spaces away is measured as a Wizard walks (if he could + // walk through walls), not diagonally" — orthogonal steps, walls + // ignored. Warps do not carry the dread; walls do not shield from it. + const d = Math.abs(other.position.x - to.x) + Math.abs(other.position.y - to.y); + const dBefore = Math.abs(other.position.x - from.x) + Math.abs(other.position.y - from.y); if (d <= 3 && d < dBefore) return true; } return false; diff --git a/packages/web/src/Board.svelte b/packages/web/src/Board.svelte index 7a8b606..e08cb5e 100644 --- a/packages/web/src/Board.svelte +++ b/packages/web/src/Board.svelte @@ -1,6 +1,5 @@