From 330d1d46b0d71001ad70bdcf901a0c22ff9456f3 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Mon, 8 Mar 2021 19:23:34 +0100 Subject: [PATCH] Tweak atomic pawn value atomic STC LLR: 2.98 (-2.94,2.94) [0.00,10.00] Total: 14941 W: 5277 L: 5004 D: 4660 http://www.variantfishtest.org:6543/tests/view/60432e216e23db669974e9f5 atomic LTC LLR: 2.98 (-2.94,2.94) [0.00,10.00] Total: 1915 W: 676 L: 575 D: 664 http://www.variantfishtest.org:6543/tests/view/6045d4176e23db669974ea0b --- src/psqt.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/psqt.cpp b/src/psqt.cpp index 5904a06..a3aaca8 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; + score += score * 3 / 2; } // Scale slider piece values with board size @@ -239,7 +239,7 @@ void init(const Variant* v) { psq[pc][s] += make_score(1000, 1000); } if (v->blastOnCapture) - psq[pc][s] += make_score(40, 0) * r; + psq[pc][s] += make_score(40, 0) * (r - v->maxRank / 2); psq[~pc][rank_of(s) <= v->maxRank ? flip_rank(s, v->maxRank) : s] = -psq[pc][s]; } // pieces in pocket -- 1.7.0.4