projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Knightmate2: detect commoner attacks
[vchess.git]
/
client
/
src
/
variants
/
Shinobi.js
diff --git
a/client/src/variants/Shinobi.js
b/client/src/variants/Shinobi.js
index
8afe6fc
..
faa4cd7
100644
(file)
--- 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') ||