added find nearest non-weakened enemy check