pawn and king attacks changed