mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
Add missing passive parameter to BonusCritAbAttr
This commit is contained in:
parent
086c64b8f8
commit
f6770b83b5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user