From: Fabian Fichter Date: Sun, 16 Jun 2019 08:17:18 +0000 (+0200) Subject: Reduce connected bonus for horde X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=80a10a5ae79b248caa3e75c29997ba7d2e1b11a8;p=fairystockfish.git Reduce connected bonus for horde Revert parameter change caused by mis-merge. horde STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 500 W: 302 L: 193 D: 5 http://35.161.250.236:6543/tests/view/5d05fb8b6e23db34f4206bd6 horde LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 343 W: 222 L: 116 D: 5 http://35.161.250.236:6543/tests/view/5d0603346e23db34f4206bd9 --- diff --git a/src/pawns.cpp b/src/pawns.cpp index a3a7c9f..f0e86e9 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -132,7 +132,7 @@ namespace { int v = Connected[r] * (phalanx ? 3 : 2) * (r == RANK_2 && pos.captures_to_hand() ? 3 : 1) / (opposed ? 2 : 1) + 17 * popcount(support); if (r >= RANK_4 && pos.count(Us) > popcount(pos.board_bb()) / 4) - v = std::max(v, popcount(support | phalanx) * 100) / (opposed ? 2 : 1); + v = std::max(v, popcount(support | phalanx) * 50) / (opposed ? 2 : 1); score += make_score(v, v * (r - 2) / 4); } else if (!neighbours)