mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Simplify Queen Mobility
STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 85997 W: 15550 L: 15540 D: 54907 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 25333 W: 3370 L: 3256 D: 18707 Bench: 6459194 Closes #991
This commit is contained in:
parent
ddecdc97d7
commit
0553b46829
1 changed files with 0 additions and 5 deletions
|
@ -292,11 +292,6 @@ namespace {
|
|||
ei.kingAdjacentZoneAttacksCount[Us] += popcount(b & ei.attackedBy[Them][KING]);
|
||||
}
|
||||
|
||||
if (Pt == QUEEN)
|
||||
b &= ~( ei.attackedBy[Them][KNIGHT]
|
||||
| ei.attackedBy[Them][BISHOP]
|
||||
| ei.attackedBy[Them][ROOK]);
|
||||
|
||||
int mob = popcount(b & ei.mobilityArea[Us]);
|
||||
|
||||
mobility[Us] += MobilityBonus[Pt][mob];
|
||||
|
|
Loading…
Add table
Reference in a new issue