From 391515efede1de756e2fbd40ef55a6f38b88a89a Mon Sep 17 00:00:00 2001 From: Xavion3 Date: Fri, 20 Sep 2024 15:38:46 +1000 Subject: [PATCH] Make money scaling linear --- src/battle-scene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-scene.ts b/src/battle-scene.ts index 753efdaf62c..3696f3e28bc 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -2418,7 +2418,7 @@ export default class BattleScene extends SceneBase { getWaveMoneyAmount(moneyMultiplier: number): integer { const waveIndex = this.currentBattle.waveIndex; const waveSetIndex = Math.ceil(waveIndex / 10) - 1; - const moneyValue = Math.pow((waveSetIndex + 1 + (0.75 + (((waveIndex - 1) % 10) + 1) / 10)) * 100, 1 + 0.005 * waveSetIndex) * moneyMultiplier; + const moneyValue = (waveSetIndex + 1 + (0.75 + (((waveIndex - 1) % 10) + 1) / 10)) * 170 * moneyMultiplier; return Math.floor(moneyValue / 10) * 10; }