mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-28 12:38:43 +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 {
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user