1681-engine / index / spotReach
Function: spotReach() ​
ts
function spotReach(len, centre?): number;Defined in: src/input/AimGesture.ts:127
How far out a spot skill's knob puts it, as a share of its range: from the centre ring's edge to the rim is the whole reach, so a knob just out of the ring lands at the caster's feet — with share × range, nothing nearer than the ring could ever be reached.
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
len | number | undefined |
centre | number | AIM_CENTRE |
Returns ​
number