1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Remove Queen threatenedByMinor

Remove Queen threatenedByMinor from movepick

Passed STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 54432 W: 14053 L: 13855 D: 26524
Ptnml(0-2): 124, 6347, 14090, 6517, 138
https://tests.stockfishchess.org/tests/view/66578d036b0e318cefa8d43d

Passed LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 198168 W: 49979 L: 49940 D: 98249
Ptnml(0-2): 84, 21824, 55236, 21849, 91
https://tests.stockfishchess.org/tests/view/66579cf86b0e318cefa8d5b1

closes https://github.com/official-stockfish/Stockfish/pull/5306

bench: 1342438
This commit is contained in:
FauziAkram 2024-05-30 03:36:38 +03:00 committed by Joost VandeVondele
parent 5ab3fe6db8
commit 0ea6337ccf

View file

@ -197,8 +197,7 @@ void MovePicker::score() {
: 0; : 0;
// malus for putting piece en prise // malus for putting piece en prise
m.value -= (pt == QUEEN ? bool(to & threatenedByRook) * 48150 m.value -= (pt == QUEEN ? bool(to & threatenedByRook) * 49000
+ bool(to & threatenedByMinor) * 10650
: pt == ROOK ? bool(to & threatenedByMinor) * 24335 : pt == ROOK ? bool(to & threatenedByMinor) * 24335
: pt != PAWN ? bool(to & threatenedByPawn) * 14950 : pt != PAWN ? bool(to & threatenedByPawn) * 14950
: 0); : 0);