From b74430da10330d3c1aa2b3d7c78ec55d44d39ae1 Mon Sep 17 00:00:00 2001 From: 1brucben <1benjbruce@gmail.com> Date: Sat, 26 Apr 2025 13:34:52 +0200 Subject: [PATCH] nerfed nations pop --- src/core/configuration/DefaultConfig.ts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index 0e05a7b84..b91a00bcf 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -464,6 +464,13 @@ export class DefaultConfig implements Config { ) { mag *= 0.8; } + if ( + attackerType == PlayerType.Human && + defenderType == PlayerType.FakeHuman + ) { + //mag *= 0.9; + //speed *= 0.9; + } } if (attackerType == PlayerType.Bot) { speed *= 3; // slow bot attacks @@ -476,10 +483,11 @@ export class DefaultConfig implements Config { return { attackerTroopLoss: mag * 10 + - defenderdensity * + 1.1 * + defenderdensity * mag * (defender.isTraitor() ? this.traitorDefenseDebuff() : 1), - defenderTroopLoss: defenderdensity, + defenderTroopLoss: 1.1 * defenderdensity, tilesPerTickUsed: within( 9.4 * defenderdensity ** 0.2 * adjustedRatio ** 0.7 * speed, 8, @@ -541,7 +549,7 @@ export class DefaultConfig implements Config { case Difficulty.Easy: return 2_500 + 1000 * (playerInfo?.nation?.strength ?? 1); case Difficulty.Medium: - return 10_000 + 2000 * (playerInfo?.nation?.strength ?? 1); + return 8_000 + 2000 * (playerInfo?.nation?.strength ?? 1); case Difficulty.Hard: return 20_000 + 4000 * (playerInfo?.nation?.strength ?? 1); case Difficulty.Impossible: @@ -570,7 +578,7 @@ export class DefaultConfig implements Config { case Difficulty.Easy: return maxPop * 0.5; case Difficulty.Medium: - return maxPop * 1; + return maxPop * 0.8; case Difficulty.Hard: return maxPop * 1.5; case Difficulty.Impossible: