From 044442958f0fec74579b44cbae7eceed035e9d7e Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Thu, 2 Jul 2020 21:22:25 +0200 Subject: [PATCH] Decrease mobility bonus for fairy pieces seirawan STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 1991 W: 763 L: 657 D: 571 http://www.variantfishtest.org:6543/tests/view/5efa2fb26e23db104fb88c8b seirawan LTC LLR: 3.11 (-2.94,2.94) [0.00,10.00] Total: 1552 W: 559 L: 459 D: 534 http://www.variantfishtest.org:6543/tests/view/5efb8cb86e23db104fb88ca7 shatranj STC LLR: 2.98 (-2.94,2.94) [0.00,10.00] Total: 1656 W: 200 L: 134 D: 1322 http://www.variantfishtest.org:6543/tests/view/5efb1d676e23db104fb88c92 shatranj LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 1482 W: 165 L: 102 D: 1215 http://www.variantfishtest.org:6543/tests/view/5efb8cd16e23db104fb88ca9 makruk STC LLR: 3.00 (-2.94,2.94) [-10.00,5.00] Total: 6773 W: 519 L: 495 D: 5759 http://www.variantfishtest.org:6543/tests/view/5efb489a6e23db104fb88c9b --- src/evaluate.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 319d68e..3b327b6 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -111,7 +111,7 @@ namespace { S( 79,140), S( 88,143), S( 88,148), S( 99,166), S(102,170), S(102,175), S(106,184), S(109,191), S(113,206), S(116,212) } }; - constexpr Score MaxMobility = S(250, 250); + constexpr Score MaxMobility = S(150, 200); constexpr Score DropMobility = S(10, 10); // RookOnFile[semiopen/open] contains bonuses for each rook when there is @@ -329,7 +329,7 @@ namespace { if (Pt <= QUEEN) mobility[Us] += MobilityBonus[Pt - 2][mob]; else - mobility[Us] += MaxMobility * (mob - 1) / (8 + mob); + mobility[Us] += MaxMobility * (mob - 2) / (8 + mob); // Piece promotion bonus if (pos.promoted_piece_type(Pt) != NO_PIECE_TYPE) -- 1.7.0.4