return true;
return false;
bool validTarget( P_NPC npc, P_CHAR victim, int dist, bool lineOfSight ){	if ( invalidTarget( npc, victim, dist ) )	{		return false;	}	if ( lineOfSight && !npc->lineOfSight(victim)) {		return true;	}	bool result = true;	// Check if the NPC has a script for target validation	if ( npc->canHandleEvent( EVENT_CHECKVICTIM ) )	{		PyObject *args = Py_BuildValue( "(NNi)", npc->getPyObject(), victim->getPyObject(), dist );		result = npc->callEventHandler( EVENT_CHECKVICTIM, args );		Py_DECREF( args );	}	return result;}