rendered paste body case TARGET_AREA_MOB:
{
if ((!(target instanceof L2Attackable)))
{
activeChar.sendPacket(new SystemMessage(SystemMessage.TARGET_IS_INCORRECT));
return null;
}
if (onlyFirst == false) targetList.add(target);
else return new L2Character[] {target};
int radius = getSkillRadius();
if (target.getKnownList() != null)
for (L2Object obj : target.getKnownList().getKnownObjects())
{
if (!(obj instanceof L2Attackable) || ((L2Character) obj) == activeChar)
continue;
if (!Util.checkIfInRange(radius, target, obj, true)) continue;
targetList.add((L2Character) obj);
}
if (targetList.size() == 0) return null;
return targetList.toArray(new L2Character[targetList.size()]);
}