enemiesAround

Returns the number of enemy targets around a given unit for a given distance.

enemiesAround(unit, range) : number
-- alts
enemiesaround(unit, range) : number
enemies(unit, range) : number

Example

if enemies(target, 30) > 3 then
-- We should do some AOE damage :)
end