projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Slightly better sized hoplite pawn
[vchess.git]
/
client
/
src
/
variants
/
Minixiangqi.js
diff --git
a/client/src/variants/Minixiangqi.js
b/client/src/variants/Minixiangqi.js
index
fc1d164
..
d8f6ebb
100644
(file)
--- a/
client/src/variants/Minixiangqi.js
+++ b/
client/src/variants/Minixiangqi.js
@@
-39,7
+39,7
@@
export class MinixiangqiRules extends XiangqiRules {
if (!lastRank) steps.push([shiftX, 0]);
if (y > 0) steps.push([0, -1]);
if (y < 9) steps.push([0, 1]);
- return super.getSlideNJumpMoves([x, y], steps,
"oneStep"
);
+ return super.getSlideNJumpMoves([x, y], steps,
1
);
}
insidePalace(x, y, c) {