[Bug] Fix multi-hit frenzy moves permanently locking the user (#2662)

This commit is contained in:
innerthunder 2024-06-27 10:33:43 -07:00 committed by GitHub
parent d8129dae7d
commit 0d25b2332a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3872,7 +3872,7 @@ export class DisableMoveAttr extends MoveEffectAttr {
export class FrenzyAttr extends MoveEffectAttr {
constructor() {
super(true, MoveEffectTrigger.HIT);
super(true, MoveEffectTrigger.HIT, false, true);
}
canApply(user: Pokemon, target: Pokemon, move: Move, args: any[]) {