Skip to content

Commit

Permalink
Update src/phases/select-modifier-phase.ts
Browse files Browse the repository at this point in the history
Co-authored-by: NightKev <[email protected]>
  • Loading branch information
ben-lear and DayKev authored Oct 17, 2024
1 parent 759a301 commit a386e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phases/select-modifier-phase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a386e2b

Please sign in to comment.