mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +00: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:
parent
d8e56cbe54
commit
843a5961e1
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ namespace {
|
||||||
assert(b);
|
assert(b);
|
||||||
|
|
||||||
if (single_bit(b) && (b & pos.pieces(Them)))
|
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
|
// Decrease score if we are attacked by an enemy pawn. Remaining part
|
||||||
|
|
Loading…
Add table
Reference in a new issue