cap tradeShipSpawnRate at 50, 7740909 removed cap, reducing trade too much

This commit is contained in:
evanpelle
2025-06-02 12:39:37 -07:00
parent 23166dc0ae
commit 378c8a093f
+1 -1
View File
@@ -265,7 +265,7 @@ export class DefaultConfig implements Config {
return 10000 + 150 * Math.pow(dist, 1.1);
}
tradeShipSpawnRate(numberOfPorts: number): number {
return Math.round(10 * Math.pow(numberOfPorts, 0.6));
return Math.min(50, Math.round(10 * Math.pow(numberOfPorts, 0.6)));
}
unitInfo(type: UnitType): UnitInfo {