mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
Update src/phases/select-modifier-phase.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
759a301fd9
commit
a386e2b93a
@ -262,7 +262,7 @@ export class SelectModifierPhase extends BattlePhase {
|
||||
multiplier = this.customModifierSettings.rerollMultiplier;
|
||||
}
|
||||
|
||||
const baseMultiplier = Math.min(Math.ceil(this.scene.currentBattle.waveIndex / 10) * baseValue * Math.pow(2, this.rerollCount) * multiplier, Number.MAX_SAFE_INTEGER);
|
||||
const baseMultiplier = Math.min(Math.ceil(this.scene.currentBattle.waveIndex / 10) * baseValue * (this.rerollCount ** 2) * multiplier, Number.MAX_SAFE_INTEGER);
|
||||
|
||||
// Apply Black Sludge to reroll cost
|
||||
const modifiedRerollCost = new NumberHolder(baseMultiplier);
|
||||
|
Loading…
Reference in New Issue
Block a user