mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-31 15:10:25 +01:00
Fix shiny odds not working properly
This commit is contained in:
parent
e0a63a9ed6
commit
e3368b79e5
@ -1061,13 +1061,13 @@ export class ShinyRateBoosterModifier extends PersistentModifier {
|
||||
}
|
||||
|
||||
apply(args: any[]): boolean {
|
||||
(args[0] as Utils.IntegerHolder).value *= Math.pow(2, 5 - this.getStackCount());
|
||||
(args[0] as Utils.IntegerHolder).value /= Math.pow(2, -3 - this.getStackCount());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
getMaxStackCount(): integer {
|
||||
return 5;
|
||||
return 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user