Add missing passive parameter to BonusCritAbAttr

This commit is contained in:
Flashfyre 2024-04-12 19:31:08 -04:00
parent 086c64b8f8
commit f6770b83b5

View File

@ -1180,7 +1180,7 @@ export class BlockCritAbAttr 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;
return true;
}