diff --git a/src/battle-scene.ts b/src/battle-scene.ts index e6649d0999a..6c8ea21c936 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -2576,9 +2576,7 @@ export default class BattleScene extends SceneBase { } getWaveMoneyAmount(moneyMultiplier: number): number { - 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 = (this.currentBattle.waveIndex + 17.5) * 17 * moneyMultiplier; return Math.floor(moneyValue / 10) * 10; } diff --git a/src/modifier/modifier-type.ts b/src/modifier/modifier-type.ts index 112a3c9aa35..4578d568955 100644 --- a/src/modifier/modifier-type.ts +++ b/src/modifier/modifier-type.ts @@ -2536,7 +2536,7 @@ export class ModifierTypeOption { constructor(type: ModifierType, upgradeCount: number, cost: number = 0) { this.type = type; this.upgradeCount = upgradeCount; - this.cost = Math.min(Math.round(cost), Number.MAX_SAFE_INTEGER); + this.cost = Math.min(Math.round(cost / 10) * 10, Number.MAX_SAFE_INTEGER); } }