mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Double pinner bonus
Fine tune newly introduced pinner bonus score: After 34696 games at 2"+0.05 Mod vs Orig 7474 - 7087 - 20135 ELO +3 (+- 2.4) Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -534,7 +534,7 @@ namespace {
|
||||
assert(b);
|
||||
|
||||
if (single_bit(b) && (b & pos.pieces(Them)))
|
||||
score += ThreatBonus[Piece][type_of(pos.piece_on(first_1(b)))] / 2;
|
||||
score += ThreatBonus[Piece][type_of(pos.piece_on(first_1(b)))];
|
||||
}
|
||||
|
||||
// Decrease score if we are attacked by an enemy pawn. Remaining part
|
||||
|
||||
Reference in New Issue
Block a user