X-Git-Url: https://git.auder.net/variants/Baroque/style.css?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FOrda.js;h=afb736a7cd346008edff870a536c53c94f98dd06;hb=90df90bca1a993930a0e1a07a1b4990dd538c6e2;hp=f1bfc911ef30ea6cf8d29c041199ee4282c1a84c;hpb=79e05a1ac8a396aa3655b195998ef1f07cdba68e;p=vchess.git diff --git a/client/src/variants/Orda.js b/client/src/variants/Orda.js index f1bfc911..afb736a7 100644 --- a/client/src/variants/Orda.js +++ b/client/src/variants/Orda.js @@ -234,13 +234,14 @@ export class OrdaRules extends ChessRules { this.isAttackedByKheshig(sq, color) ); } - // Horde: only pawn and queen (if promotions) in common: + // Horde: only pawn, king and queen (if promotions) in common: return ( super.isAttackedByPawn(sq, color) || this.isAttackedByLancer(sq, color) || this.isAttackedByKheshig(sq, color) || this.isAttackedByArcher(sq, color) || this.isAttackedByYurt(sq, color) || + super.isAttackedByKing(sq, color) || super.isAttackedByQueen(sq, color) ); }