From f6770b83b589a6769a84a41ae4dadb57034f311e Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 12 Apr 2024 19:31:08 -0400 Subject: [PATCH] Add missing passive parameter to BonusCritAbAttr --- src/data/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 66d286a8f..747802638 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -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; }