# Error: /home/runner/Engine/evaluate.nim:141:30 Error: type mismatch: got 'PyObject' for 'getAttr(to, "piece_type")' but expected 'int' # Code: return float(pieceValue[int(to.piece_type)] - pieceValue[int(fro.piece_type)])