From 0e994a707202df1b0a34f408ed35224667960edc Mon Sep 17 00:00:00 2001 From: Amani H <109637146+xsn34kzx@users.noreply.github.com> Date: Wed, 26 Jun 2024 22:17:22 -0400 Subject: [PATCH] Fix Stat Booster Held Items Applying to Party (#2637) --- src/modifier/modifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index 310ea984914..946b381b7f8 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -753,7 +753,7 @@ export class StatBoosterModifier extends PokemonHeldItemModifier { * @returns true if the stat could be boosted, false otherwise */ shouldApply(args: any[]): boolean { - return this.stats.includes(args[1] as Stat); + return super.shouldApply(args) && this.stats.includes(args[1] as Stat); } /**