Change Shiny Charm formula

This commit is contained in:
Flashfyre 2023-10-28 19:20:37 -04:00
parent ce84ae2f69
commit 8f0fcf736b
1 changed files with 1 additions and 1 deletions

View File

@ -1061,7 +1061,7 @@ export class ShinyRateBoosterModifier extends PersistentModifier {
}
apply(args: any[]): boolean {
(args[0] as Utils.IntegerHolder).value = Math.floor(Math.pow((args[0] as Utils.IntegerHolder).value * 0.5, Math.sqrt(this.getStackCount()) + 1));
(args[0] as Utils.IntegerHolder).value *= Math.pow(2, 5 - this.getStackCount());
return true;
}