projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Sittuyin promotions
[vchess.git]
/
client
/
src
/
variants
/
Colorbound.js
diff --git
a/client/src/variants/Colorbound.js
b/client/src/variants/Colorbound.js
index
c3d5991
..
7e0a622
100644
(file)
--- a/
client/src/variants/Colorbound.js
+++ b/
client/src/variants/Colorbound.js
@@
-315,7
+315,7
@@
export class ColorboundRules extends ChessRules {
return (
this.isAttackedBySlideNJump(sq, color, V.C_QUEEN, V.steps[V.BISHOP]) ||
this.isAttackedBySlideNJump(
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")
);
}
);
}
@@
-331,4
+331,8
@@
export class ColorboundRules extends ChessRules {
}
);
}
}
);
}
+
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
};
};