From 8bea6395de75488615433281b9b8f500917f8350 Mon Sep 17 00:00:00 2001 From: RedstonewolfX <108761527+RedstonewolfX@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:52:31 -0400 Subject: [PATCH] Update ability.ts --- src/data/ability.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 25bffda6f81..05667a29b78 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -4678,11 +4678,6 @@ export function applyPreDefendAbAttrs(attrType: Constructor, pokemon: Pokemon, attacker: Pokemon, move: Move | null, cancelled: Utils.BooleanHolder | null, simulated: boolean = false, ...args: any[]): Promise { return applyAbAttrsInternal(attrType, pokemon, (attr, passive) => attr.applyPreDefend(pokemon, passive, simulated, attacker, move, cancelled, args), args, false, simulated); } -export function applyPreDefendAbAttrsNoApply(attrType: Constructor, - pokemon: Pokemon, attacker: Pokemon, move: Move, cancelled: Utils.BooleanHolder, ...args: any[]): Promise { - const simulated = args.length > 1 && args[1]; - return applyAbAttrsInternalNoApply(attrType, pokemon, (attr, passive) => attr.applyPreDefend(pokemon, passive, simulated, attacker, move, cancelled, args), args, false, false, simulated); -} export function applyPostDefendAbAttrs(attrType: Constructor, pokemon: Pokemon, attacker: Pokemon, move: Move, hitResult: HitResult | null, simulated: boolean = false, ...args: any[]): Promise {