mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
Bonus passed pawn blocked by our pieces
passed STC: LLR: 2.95 (-2.94,2.94) [-1.50,4.50] Total: 63965 W: 10950 L: 10692 D: 42323 and LTC: LLR: 2.95 (-2.94,2.94) [0.00,6.00] Total: 19237 W: 2740 L: 2562 D: 13935 bench: 7477963
This commit is contained in:
parent
94b1bbb68b
commit
a9b8e8b931
1 changed files with 2 additions and 0 deletions
|
@ -605,6 +605,8 @@ namespace {
|
|||
|
||||
mbonus += k * rr, ebonus += k * rr;
|
||||
}
|
||||
else if(pos.pieces(Us) & blockSq)
|
||||
mbonus += rr * 3 + r * 2 + 3, ebonus += rr + r * 2;
|
||||
} // rr != 0
|
||||
|
||||
if (pos.count<PAWN>(Us) < pos.count<PAWN>(Them))
|
||||
|
|
Loading…
Add table
Reference in a new issue