rebalance difficulties: adjust max pop on difficulties

This commit is contained in:
Evan
2025-02-11 08:29:08 -08:00
parent 3ced661e2c
commit 81a83706c7
2 changed files with 21 additions and 25 deletions
+2 -2
View File
@@ -18,14 +18,14 @@ export class DevConfig extends DefaultConfig {
}
numSpawnPhaseTurns(): number {
return this.gameConfig().gameType == GameType.Singleplayer ? 20 : 100;
return this.gameConfig().gameType == GameType.Singleplayer ? 40 : 100;
// return 100
}
unitInfo(type: UnitType): UnitInfo {
const info = super.unitInfo(type);
const oldCost = info.cost;
info.cost = (p: Player) => oldCost(p) / 1000000000;
// info.cost = (p: Player) => oldCost(p) / 1000000000;
return info;
}