Make money scaling linear

This commit is contained in:
Xavion3 2024-09-20 15:38:46 +10:00
parent 63fba0dcae
commit 391515efed

View File

@ -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;
}