mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Tweak LMR and killers
Give extra stat bonus/malus in case of LMR for killers. passed STC http://tests.stockfishchess.org/tests/view/5d2c8e760ebc5925cf0dcf23 LLR: 2.95 (-2.94,2.94) [0.50,4.50] Total: 67188 W: 15030 L: 14534 D: 37624 passed LTC http://tests.stockfishchess.org/tests/view/5d2d0ce40ebc5925cf0de115 LLR: 2.96 (-2.94,2.94) [0.00,3.50] Total: 144355 W: 24739 L: 24153 D: 95463 Closes https://github.com/official-stockfish/Stockfish/pull/2246 bench 3723147
This commit is contained in:
parent
3ec362e4b2
commit
19509e5f13
1 changed files with 3 additions and 0 deletions
|
@ -1144,6 +1144,9 @@ moves_loop: // When in check, search starts from here
|
|||
int bonus = value > alpha ? stat_bonus(newDepth)
|
||||
: -stat_bonus(newDepth);
|
||||
|
||||
if (move == ss->killers[0])
|
||||
bonus += bonus / 4;
|
||||
|
||||
update_continuation_histories(ss, movedPiece, to_sq(move), bonus);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue