Add willSucceed to ability attrs

This commit is contained in:
Dean 2025-02-01 00:01:00 -08:00
parent e4630716c9
commit 2ab82e2b7e

View File

@ -176,6 +176,10 @@ export abstract class AbAttr {
this.extraCondition = condition; this.extraCondition = condition;
return this; return this;
} }
willSucceed(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean {
return true;
}
} }
export class BlockRecoilDamageAttr extends AbAttr { export class BlockRecoilDamageAttr extends AbAttr {