- { 41 }, // Bishop pair
- { 37, 41 }, // Pawn
- { 10, 62, 41 }, // Knight OUR PIECES
- { 57, 64, 39, 41 }, // Bishop
- { 50, 40, 23, -22, 41 }, // Rook
- { 106, 101, 3, 151, 171, 41 } // Queen
+ { 0 }, // Bishop pair
+ { 36, 0 }, // Pawn
+ { 9, 63, 0 }, // Knight OUR PIECES
+ { 59, 65, 42, 0 }, // Bishop
+ { 46, 39, 24, -24, 0 }, // Rook
+ { 101, 100, -37, 141, 268, 0 } // Queen
+ };
+
+ // PawnSet[pawn count] contains a bonus/malus indexed by number of pawns
+ const int PawnSet[] = {
+ 24, -32, 107, -51, 117, -9, -126, -21, 31