Update attack snippet if no findNearestEnemy

This is a one-off fix until we have a more general solution to snippet
updating based on available skills.