projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add comment about clock update in Game.vue
[vchess.git]
/
client
/
src
/
variants
/
Absorption.js
diff --git
a/client/src/variants/Absorption.js
b/client/src/variants/Absorption.js
index
efa0103
..
7a9ff3c
100644
(file)
--- a/
client/src/variants/Absorption.js
+++ b/
client/src/variants/Absorption.js
@@
-124,6
+124,13
@@
export class AbsorptionRules extends ChessRules {
);
}
+ static get VALUES() {
+ return Object.assign(
+ { a: 12, e: 7, s: 5 },
+ ChessRules.VALUES
+ );
+ }
+
getNotation(move) {
let notation = super.getNotation(move);
if (move.vanish[0].p != V.PAWN && move.appear[0].p != move.vanish[0].p)