X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FShogun.js;h=56c8d8074524570364d762f4ce1b9fabb028076a;hp=c45dff23c75d4a73cafb7cf690cc4cb2cf538c8f;hb=c31c31c5e70b73cc22e1574a274032e6c0ea9ac9;hpb=7c4601d007042510ea2aad95a081d6fe83aab938 diff --git a/client/src/variants/Shogun.js b/client/src/variants/Shogun.js index c45dff23..56c8d807 100644 --- a/client/src/variants/Shogun.js +++ b/client/src/variants/Shogun.js @@ -306,7 +306,7 @@ export class ShogunRules extends ChessRules { isAttackedByCaptain(sq, color) { const steps = V.steps[V.BISHOP].concat(V.steps[V.ROOK]); return ( - super.isAttackedBySlideNJump(sq, color, V.DUCHESS, steps, 1) + super.isAttackedBySlideNJump(sq, color, V.CAPTAIN, steps, 1) ); }