Skip to content

rangeAgainst beta ​

Function of @v12-engine/engine

ts
export declare function rangeAgainst(world: World, attacker: Entity, target: Entity): number;

How far an attacker's attack reaches a target: the range of the one it uses against it (pickAttack), the first's when none does