From 64076a842d5034e9239420ea6b0d72ddd812a32b Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 19 Apr 2023 11:14:47 -0400 Subject: [PATCH] Alter average level formula --- src/battle.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/battle.ts b/src/battle.ts index 358afb5bb..4c0e9a46d 100644 --- a/src/battle.ts +++ b/src/battle.ts @@ -13,10 +13,10 @@ export class Battle { } private getLevelForWave(): number { - let averageLevel = 1 + this.waveIndex * 0.5; + let averageLevel = 1 + this.waveIndex / 2 + Math.pow(this.waveIndex / 25, 2); if (!(this.waveIndex % 10)) - return Math.floor(averageLevel * 1.25); + return Math.floor(averageLevel * 1.2); const deviation = 10 / this.waveIndex;