From: Fabian Fichter Date: Thu, 27 Feb 2020 22:48:01 +0000 (+0100) Subject: Increase check danger for nCheck variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=8f1b4a5295a07cae79e15f6b9b4e5355351a8b0c;p=fairystockfish.git Increase check danger for nCheck variants 3check STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 3733 W: 1808 L: 1659 D: 266 http://www.variantfishtest.org:6543/tests/view/5e5649d26e23db46beba4ed3 3check LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 5655 W: 2672 L: 2497 D: 486 http://www.variantfishtest.org:6543/tests/view/5e576a846e23db46beba4f04 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index b3382c5..591bb1e 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -535,7 +535,7 @@ namespace { } if (pos.check_counting()) - kingDanger *= 2; + kingDanger = kingDanger * 12 / 5; Square s = file_of(ksq) == FILE_A ? ksq + EAST : file_of(ksq) == pos.max_file() ? ksq + WEST : ksq; Bitboard kingFlank = pos.max_file() == FILE_H ? KingFlank[file_of(ksq)] : file_bb(s) | adjacent_files_bb(s);