mwg API
    Preparing search index...

    Interface TargetingOptions

    interface TargetingOptions {
        range: number;
        requireLineOfSight?: boolean;
    }
    Index
    range: number

    how far the aim can reach, in cells (Chebyshev distance - the usual roguelike ruler)

    requireLineOfSight?: boolean

    whether a wall in the way blocks the shot; on by default, since most things do not arc