From e3368b79e5ae5e4c1fd834e29a12dad70f400dd0 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sat, 28 Oct 2023 22:08:06 -0400 Subject: [PATCH] Fix shiny odds not working properly --- src/modifier/modifier.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index 0a96d2e0f..66e65f0fe 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -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; } }