distance
Returns the distance between two units.
distance(unita, unitb) : integer
Example
if distance('player', 'target') > 5 then -- do ranged combatend
Returns the distance between two units.
distance(unita, unitb) : integer
Example
if distance('player', 'target') > 5 then -- do ranged combatend