mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Sync with master
bench: 7911944
This commit is contained in:
+3
-3
@@ -412,10 +412,10 @@ namespace {
|
||||
// attacked and undefended squares around our king and the quality of
|
||||
// the pawn shelter (current 'score' value).
|
||||
attackUnits = std::min(74, ei.kingAttackersCount[Them] * ei.kingAttackersWeight[Them])
|
||||
+ 8 * ei.kingAdjacentZoneAttacksCount[Them]
|
||||
+ 8 * ei.kingAdjacentZoneAttacksCount[Them]
|
||||
+ 25 * popcount<Max15>(undefended)
|
||||
+ 11 * (ei.pinnedPieces[Us] != 0)
|
||||
- mg_value(score) * 31 / 256
|
||||
+ 11 * (ei.pinnedPieces[Us] != 0)
|
||||
- mg_value(score) / 8
|
||||
- !pos.count<QUEEN>(Them) * 60;
|
||||
|
||||
// Analyse the enemy's safe queen contact checks. Firstly, find the
|
||||
|
||||
Reference in New Issue
Block a user