Treat pawn attacks like other piece attacks on the king