From: Benjamin Auder Date: Tue, 16 Feb 2021 22:08:30 +0000 (+0100) Subject: Fix Pandemonium pieces' values X-Git-Url: https://git.auder.net/variants/current/doc/css/scripts/%24%7BgetWhatsApp%28link%29%7D?a=commitdiff_plain;h=99ba622adc5909f59962379b94a2b20da4ad84e6;p=vchess.git Fix Pandemonium pieces' values --- diff --git a/client/src/variants/Pandemonium.js b/client/src/variants/Pandemonium.js index f4ae3c44..dae08861 100644 --- a/client/src/variants/Pandemonium.js +++ b/client/src/variants/Pandemonium.js @@ -722,7 +722,10 @@ export class PandemoniumRules extends ChessRules { static get VALUES() { return Object.assign( + {}, + ChessRules.VALUES, { + n: 2.5, //knight is weaker g: 9, s: 5, h: 6, @@ -731,8 +734,7 @@ export class PandemoniumRules extends ChessRules { w: 9, m: 8, a: 9 - }, - ChessRules.VALUES + } ); }