mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-25 01:32:21 +02:00
Simplify even more.
Formula unchanged, just rearranged to be clearer.
This commit is contained in:
parent
17d25b0b8b
commit
071ca60f1e
@ -2576,7 +2576,7 @@ export default class BattleScene extends SceneBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getWaveMoneyAmount(moneyMultiplier: number): number {
|
getWaveMoneyAmount(moneyMultiplier: number): number {
|
||||||
const moneyValue = (this.currentBattle.waveIndex / 10 + 1.75) * 170 * moneyMultiplier;
|
const moneyValue = (this.currentBattle.waveIndex + 17.5) * 17 * moneyMultiplier;
|
||||||
return Math.floor(moneyValue / 10) * 10;
|
return Math.floor(moneyValue / 10) * 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user