From 42a0ecbba76d81a9d50bfea67e5d1732cade462a Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 19 Feb 2025 12:49:54 -0800 Subject: [PATCH] Remove old SuppressFieldAbilitiesAttr --- src/data/ability.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index bf555bd215a..d24d9ab469b 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -4486,21 +4486,6 @@ export class MoveAbilityBypassAbAttr extends AbAttr { } } -export class SuppressFieldAbilitiesAbAttr extends AbAttr { - constructor() { - super(false); - } - - apply(pokemon: Pokemon, passive: boolean, simulated: boolean, cancelled: Utils.BooleanHolder, args: any[]): boolean { - const ability = (args[0] as Ability); - if (!ability.hasAttr(UnsuppressableAbilityAbAttr) && !ability.hasAttr(SuppressFieldAbilitiesAbAttr)) { - cancelled.value = true; - return true; - } - return false; - } -} - export class AlwaysHitAbAttr extends AbAttr { } /** Attribute for abilities that allow moves that make contact to ignore protection (i.e. Unseen Fist) */