mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-26 02:02:20 +02:00
Make money scaling linear
This commit is contained in:
parent
63fba0dcae
commit
391515efed
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user