143144145146147148149150151152153
Location result = canSee(gx, gy, z, tgx, tgy, tz, true, refIndex); if(result.equals(gx, gy, z)) { return null; } return result.geo2world(); } public static boolean canSeeTarget(L2Object actor, L2Object target, boolean air) { if(target == null)
327328329330331332333334335336337
Location result = canSee(gx, gy, z, tgx, tgy, tz, true, geoIndex); if (result.equals(gx, gy, z)) { return null; } return result.geo2world(); } /** * Method canSeeTarget. * @param actor GameObject