X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FAbsorption.js;h=7a9ff3c53688ff9dd4be7e970de388a775227ffb;hb=8948a2876de183467f610a703d8c7f6d7c2df570;hp=efa01036cfe87c3fcf06d54c578acb436772dac8;hpb=bee49a9e67352de30faa557a88157def0ad47522;p=vchess.git diff --git a/client/src/variants/Absorption.js b/client/src/variants/Absorption.js index efa01036..7a9ff3c5 100644 --- 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)