From 2ab82e2b7eaebf932af7e62924e2e7b04b076368 Mon Sep 17 00:00:00 2001 From: Dean Date: Sat, 1 Feb 2025 00:01:00 -0800 Subject: [PATCH] Add willSucceed to ability attrs --- src/data/ability.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/data/ability.ts b/src/data/ability.ts index 2e325a6249c..036078fd739 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -176,6 +176,10 @@ export abstract class AbAttr { this.extraCondition = condition; return this; } + + willSucceed(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean { + return true; + } } export class BlockRecoilDamageAttr extends AbAttr {