X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fevaluate.cpp;h=4626a2abcac8eb8ec6aca3457d3e9ef7c6a4c7ee;hb=77b4f4c2e735a3f1173d74ce904db9dae262a682;hp=4b08f03b928c62c99d3741bc2b61fd4830a64df0;hpb=68fbb1e0522056e0ab8062fe68c26b3af5cffed3;p=stockfish diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 4b08f03b..4626a2ab 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -144,8 +144,8 @@ namespace { // Outpost[knight/bishop][supported by pawn] contains bonuses for knights and // bishops outposts, bigger if outpost piece is supported by a pawn. const Score Outpost[][2] = { - { S(28, 7), S(42,11) }, // Knights - { S(12, 3), S(18, 5) } // Bishops + { S(42,11), S(63,17) }, // Knights + { S(18, 5), S(27, 8) } // Bishops }; // Threat[defended/weak][minor/major attacking][attacked PieceType] contains @@ -296,6 +296,7 @@ namespace { { // Bonus for outpost square if ( relative_rank(Us, s) >= RANK_4 + && relative_rank(Us, s) <= RANK_6 && !(pos.pieces(Them, PAWN) & pawn_attack_span(Us, s))) score += Outpost[Pt == BISHOP][!!(ei.attackedBy[Us][PAWN] & s)];