Skip to content

farthestReach beta ​

Function of @v12-engine/engine

ts
export declare function farthestReach(def: UnitTypeDef, stats: Readonly<Stats>): number;

How far the farthest of a unit's attacks reaches, by its stats (its attackRange, or a stat an attack names): what it may hit anything from. 0 for what does not attack