remove pop cap

This commit is contained in:
1brucben
2025-06-04 23:57:08 +02:00
parent 285fb98bb5
commit 38f41a42f5
+1 -1
View File
@@ -693,7 +693,7 @@ export class DefaultConfig implements Config {
const basePopGrowthRate = 1400 / max + 1 / 175;
const reproductionPop = player.troops() + 1.15 * player.workers();
let toAdd = baseAdditionRate + basePopGrowthRate * reproductionPop;
const totalPop = player.totalPopulation();
const totalPop = player.population();
const ratio = Math.max(1 - totalPop / max, 0);
toAdd *= ratio ** 1.222;