NPC sight respects light level and considers you dangrous if in melee range