remove global max troop cap

This commit is contained in:
Evan
2024-10-31 06:48:04 -07:00
parent f1c92ffd94
commit 092dde5a21
+1 -2
View File
@@ -131,8 +131,7 @@ export class DefaultConfig implements Config {
} }
maxTroops(player: Player): number { maxTroops(player: Player): number {
let max = Math.sqrt(player.numTilesOwned()) * 3000 + 50000 const troops = Math.sqrt(player.numTilesOwned()) * 3000 + 50000
const troops = Math.min(max, 2_000_000)
if (player.type() == PlayerType.Bot) { if (player.type() == PlayerType.Bot) {
return troops return troops
} }