return (
this.isAttackedBySlideNJump(sq, color, V.C_QUEEN, V.steps[V.BISHOP]) ||
this.isAttackedBySlideNJump(
- sq, color, V.C_ROOK, V.steps[V.KNIGHT], "oneStep")
+ sq, color, V.C_QUEEN, V.steps[V.KNIGHT], "oneStep")
);
}
}
);
}
+
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
};