projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Spartan Chess: warlord attacks now detected
[vchess.git]
/
client
/
src
/
variants
/
Titan.js
diff --git
a/client/src/variants/Titan.js
b/client/src/variants/Titan.js
index
f8d626e
..
53420e8
100644
(file)
--- a/
client/src/variants/Titan.js
+++ b/
client/src/variants/Titan.js
@@
-257,6
+257,7
@@
export class TitanRules extends ChessRules {
if (
V.AUGMENTED_PIECES.includes(move.vanish[0].p) ||
(
if (
V.AUGMENTED_PIECES.includes(move.vanish[0].p) ||
(
+ move.appear.length >= 2 &&
move.vanish.length >= 2 &&
V.AUGMENTED_PIECES.includes(move.vanish[1].p)
)
move.vanish.length >= 2 &&
V.AUGMENTED_PIECES.includes(move.vanish[1].p)
)