{ return true; }  if ( victim == npc )
bool invalidTarget( P_NPC npc, P_CHAR victim, int dist ){	if ( !victim )	{		return true;	}	if ( victim->isInvulnerable() || victim->isDead() )	{		return true;	}	if ( npc->owner() == victim )	{		return true;	}	if ( dist == -1 )	{		dist = npc->dist( victim );	}	if ( dist > Config::instance()->attack_distance() )	{		return true;	}	if ( !npc->canSee( victim ) )	{		return true;	}	return false;}