Add missing passive parameter to BonusCritAbAttr

This commit is contained in:
Flashfyre 2024-04-12 19:31:08 -04:00
parent 086c64b8f8
commit f6770b83b5
1 changed files with 1 additions and 1 deletions

View File

@ -1180,7 +1180,7 @@ export class BlockCritAbAttr extends AbAttr {
} }
export class BonusCritAbAttr extends AbAttr { export class BonusCritAbAttr extends AbAttr {
apply(pokemon: Pokemon, cancelled: Utils.BooleanHolder, args: any[]): boolean { apply(pokemon: Pokemon, passive: boolean, cancelled: Utils.BooleanHolder, args: any[]): boolean {
(args[0] as Utils.BooleanHolder).value = true; (args[0] as Utils.BooleanHolder).value = true;
return true; return true;
} }