mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-24 14:27:37 -04:00
Fix Stat Booster Held Items Applying to Party (#2637)
This commit is contained in:
parent
8933a9bb05
commit
0e994a7072
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue