Added legalAttacks