From: Benjamin Auder Date: Fri, 19 Mar 2021 21:51:16 +0000 (+0100) Subject: Fix Shinobi X-Git-Url: https://git.auder.net/variants/Chakart/doc/scripts/css/%7B%7B?a=commitdiff_plain;h=7e98914d2cc787c5d1b1604987a9644b8d4c566f;p=vchess.git Fix Shinobi --- diff --git a/client/src/variants/Shinobi.js b/client/src/variants/Shinobi.js index 8afe6fc7..faa4cd7e 100644 --- a/client/src/variants/Shinobi.js +++ b/client/src/variants/Shinobi.js @@ -249,6 +249,7 @@ export class ShinobiRules extends ChessRules { // Attacked by white: return ( super.isAttackedByKing(sq, 'w') || + super.isAttackedByPawn(sq, 'w') || this.isAttackedByCaptain(sq, 'w') || this.isAttackedByNinja(sq, 'w') || this.isAttackedBySamurai(sq, 'w') ||