mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 08:46:55 +00:00
Fix Stat Booster Held Items Applying to Party (#2637)
This commit is contained in:
parent
8933a9bb05
commit
0e994a7072
@ -753,7 +753,7 @@ export class StatBoosterModifier extends PokemonHeldItemModifier {
|
|||||||
* @returns true if the stat could be boosted, false otherwise
|
* @returns true if the stat could be boosted, false otherwise
|
||||||
*/
|
*/
|
||||||
shouldApply(args: any[]): boolean {
|
shouldApply(args: any[]): boolean {
|
||||||
return this.stats.includes(args[1] as Stat);
|
return super.shouldApply(args) && this.stats.includes(args[1] as Stat);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user