From fce07304f52520215589d203c5e3e4f3425d784e Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Tue, 28 Jul 2020 18:45:19 +0200 Subject: [PATCH] Double mobility bonus for nCheck 3check STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 2999 W: 1487 L: 1347 D: 165 http://www.variantfishtest.org:6543/tests/view/5f1449956e23db104fb88e31 3check LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 3080 W: 1500 L: 1360 D: 220 http://www.variantfishtest.org:6543/tests/view/5f15f4096e23db104fb88e3f --- src/evaluate.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index e3b33b5..9be2f55 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1168,7 +1168,7 @@ namespace { for (PieceType pt = PAWN; pt < KING; ++pt) score += hand(pt) - hand(pt); - score += (mobility[WHITE] - mobility[BLACK]) * (1 + pos.captures_to_hand() + pos.must_capture()); + score += (mobility[WHITE] - mobility[BLACK]) * (1 + pos.captures_to_hand() + pos.must_capture() + pos.check_counting()); score += king< WHITE>() - king< BLACK>() + threats() - threats() -- 1.7.0.4