From cbdc3f4aca6912e9af449183bee2497dfe8a1485 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Tue, 20 Jul 2021 19:16:35 +0200 Subject: [PATCH] Reintroduce tempo for drop variants crazyhouse STC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 1439 W: 752 L: 632 D: 55 http://www.variantfishtest.org:6543/tests/view/60f4410abf545bb49fff86bc crazyhouse LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 1403 W: 741 L: 621 D: 41 http://www.variantfishtest.org:6543/tests/view/60f51db7bf545bb49fff86c6 Closes #332. --- src/evaluate.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index a8771c4..0e0dd46 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1512,7 +1512,7 @@ make_v: v = (v / 16) * 16; // Side to move point of view - v = (pos.side_to_move() == WHITE ? v : -v); + v = (pos.side_to_move() == WHITE ? v : -v) + 80 * pos.captures_to_hand(); return v; } -- 1.7.0.4