mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
balance: adjust values for GROW, MOVE, and SPORE
This commit is contained in:
@@ -213,4 +213,13 @@ bool Board::changeATK(int row, int col, int num) {
|
||||
}
|
||||
m_grid[pieceID]->changeATK(num);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Board::setPieceInfo(int row, int col, PieceInfo pieceInfo) {
|
||||
int pieceID = getPieceID(row, col);
|
||||
if (!m_grid[pieceID]) {
|
||||
return false;
|
||||
}
|
||||
m_grid[pieceID]->setInfo(pieceInfo);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user