restore total pop

This commit is contained in:
1brucben
2025-06-05 00:32:38 +02:00
parent 38f41a42f5
commit 3bf3d7172b
+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.population();
const totalPop = player.totalPopulation();
const ratio = Math.max(1 - totalPop / max, 0);
toAdd *= ratio ** 1.222;