From: Fabian Fichter Date: Mon, 22 Mar 2021 19:06:20 +0000 (+0100) Subject: Tweak atomic pawn endgame value X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=3cbf4209b90931b1c9d82309116026f9bca19339;p=fairystockfish.git Tweak atomic pawn endgame value atomic STC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 2650 W: 951 L: 839 D: 860 http://www.variantfishtest.org:6543/tests/view/60571eb36e23db669974eb07 atomic LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 5829 W: 1959 L: 1810 D: 2060 http://www.variantfishtest.org:6543/tests/view/60579b976e23db669974eb24 --- diff --git a/src/psqt.cpp b/src/psqt.cpp index 53d3f4e..658a827 100644 --- a/src/psqt.cpp +++ b/src/psqt.cpp @@ -141,7 +141,7 @@ void init(const Variant* v) { { score -= make_score(0, (QueenValueEg - maxPromotion) / 100); if (v->blastOnCapture) - score += score * 3 / 2; + score += make_score(mg_value(score) * 3 / 2, eg_value(score)); } // Scale slider piece values with board size