diff --git a/packages/engine/src/game.ts b/packages/engine/src/game.ts index d91e80e..5ba15ef 100644 --- a/packages/engine/src/game.ts +++ b/packages/engine/src/game.ts @@ -3727,9 +3727,15 @@ function fearRepels(state: GameState, moverId: PlayerId | null, from: Cell, to: 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. - const d = walkingDistance(state, other.position, to); - const dBefore = walkingDistance(state, other.position, from); + // 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); if (d <= 3 && d < dBefore) return true; } return false;