We all know LUA doesn't provide any functions that can check whether a unit is in visual range. The only way to achieve this AFAIK is to try to cast a spell and grab the check result from the combat log.
Is this sort of check clientside or serverside? if it's clientside, which C function does such stuffs?
Grateful for any help...