mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-24 14:27:37 -04:00
Change Shiny Charm formula
This commit is contained in:
parent
ce84ae2f69
commit
8f0fcf736b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue