lowestaoe

Returns the lowest health group member with the (most units around them with the least amount of health) within a range that can receive a given spell.

lowestaoe(spell, range) : unittoken
-- alts
lowestAoE(spell, range) : unittoken

Example

local lowestEffloresence = lowestaoe(Effloresence, 30)
 
if health(lowestEffloresence) < 60 then
return cast(Effloresence, lowestEffloresence):click(lowestEffloresencex,lowestEffloresencey,lowestEffloresencez)
end