diff --git a/src/search.cpp b/src/search.cpp index d23e91ef..a3315081 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1399,10 +1399,10 @@ moves_loop: // When in check, search starts here // Bonus for prior countermove that caused the fail low else if (!priorCapture && prevSq != SQ_NONE) { - int bonusScale = (118 * (depth > 5) + 37 * !allNode + 169 * ((ss - 1)->moveCount > 8) - + 128 * (!ss->inCheck && bestValue <= ss->staticEval - 102) - + 115 * (!(ss - 1)->inCheck && bestValue <= -(ss - 1)->staticEval - 82) - + 80 * ((ss - 1)->isTTMove) + std::min(-(ss - 1)->statScore / 106, 318)); + int bonusScale = (125 * (depth > 5) + 176 * ((ss - 1)->moveCount > 8) + + 135 * (!ss->inCheck && bestValue <= ss->staticEval - 102) + + 122 * (!(ss - 1)->inCheck && bestValue <= -(ss - 1)->staticEval - 82) + + 87 * ((ss - 1)->isTTMove) + std::min(-(ss - 1)->statScore / 106, 318)); bonusScale = std::max(bonusScale, 0);