diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index 827d3df91..6a48d1826 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -66,8 +66,8 @@ const numPlayersConfig = { } as const satisfies Record; const TERRAIN_EFFECTS = { - [TerrainType.Plains]: { mag: 0.9, speed: 0.8 }, - [TerrainType.Highland]: { mag: 1.1, speed: 1 }, + [TerrainType.Plains]: { mag: 1, speed: 0.8 }, // higher speed, lower damage + [TerrainType.Highland]: { mag: 1.15, speed: 1 }, [TerrainType.Mountain]: { mag: 1.3, speed: 1.25 }, } as const; @@ -274,7 +274,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.5)); + return Math.round(10 * Math.pow(numberOfPorts, 0.4)); } unitInfo(type: UnitType): UnitInfo { @@ -541,7 +541,7 @@ export class DefaultConfig implements Config { tilesPerTickUsed: baseTileCost * within(defenderDensity, 3, 100) ** 0.2 * - (attackStandardSize / attackTroops) ** 0.1 * + (attackStandardSize / attackTroops) ** 0.075 * speed * within(attackRatio, 0.1, 20) ** 0.4, }; @@ -642,8 +642,8 @@ export class DefaultConfig implements Config { //population grows proportional to current population with growth decreasing as it approaches max // smaller countries recieve a boost to pop growth to speed up early game const baseAdditionRate = 10; - const basePopGrowthRate = 1300 / max + 1 / 140; - const reproductionPop = 0.85 * player.troops() + 1.15 * player.workers(); + const basePopGrowthRate = 1200 / max + 1 / 150; + const reproductionPop = 0.9 * player.troops() + 1.1 * player.workers(); let toAdd = baseAdditionRate + basePopGrowthRate * reproductionPop; const totalPop = player.totalPopulation(); const ratio = 1 - totalPop / max;