From 8a101b7a6a4f756c2ef598d69beaa679904fb90a Mon Sep 17 00:00:00 2001 From: Evan Date: Fri, 10 Jan 2025 14:49:36 -0800 Subject: [PATCH] update meta: population growth bit faster, reduce tile type differences, reduce attack bonus --- src/core/configuration/DefaultConfig.ts | 12 ++++++------ src/core/execution/AttackExecution.ts | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index 7c0d476f4..de04bc36b 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -191,16 +191,16 @@ export class DefaultConfig implements Config { let speed = 0 switch (tileToConquer.terrain()) { case TerrainType.Plains: - mag = 50 - speed = 10 + mag = 70 + speed = 15 break case TerrainType.Highland: mag = 100 speed = 20 break case TerrainType.Mountain: - mag = 150 - speed = 30 + mag = 130 + speed = 25 break } mag *= tileToConquer.defenseBonus(attacker) @@ -221,7 +221,7 @@ export class DefaultConfig implements Config { if (defender.isPlayer()) { return { - attackerTroopLoss: within(defender.troops() / (3 * attackTroops), .1, 10) * mag, + attackerTroopLoss: within(defender.troops() / (2.5 * attackTroops), .1, 10) * mag, defenderTroopLoss: defender.troops() / defender.numTilesOwned(), tilesPerTickUsed: within(defender.troops() / (5 * attackTroops), .2, 1.5) * speed } @@ -285,7 +285,7 @@ export class DefaultConfig implements Config { // const thing = Math.sqrt(player.population() + player.population() * player.workers()) - let toAdd = 10 + Math.pow(player.population(), .7) / 5 + let toAdd = 10 + Math.pow(player.population(), .73) / 4 const ratio = 1 - (player.population() / max) toAdd *= ratio diff --git a/src/core/execution/AttackExecution.ts b/src/core/execution/AttackExecution.ts index 9dfbfa11e..fbb1b7b75 100644 --- a/src/core/execution/AttackExecution.ts +++ b/src/core/execution/AttackExecution.ts @@ -194,10 +194,10 @@ export class AttackExecution implements Execution { mag = 1 break case TerrainType.Highland: - mag = 2 + mag = 1.5 break case TerrainType.Mountain: - mag = 3 + mag = 2 break } this.toConquer.enqueue(new TileContainer(