From c1d31f2b2861ee62fcf32896c1945cdca5e46a61 Mon Sep 17 00:00:00 2001 From: Dread134 Date: Tue, 14 May 2024 10:54:58 -0400 Subject: [PATCH] Update ability.ts Added access modifiers to my class and the class I compared to. --- src/data/ability.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index ee7424cbcb3..d96645252b7 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -2631,8 +2631,8 @@ export class NoFusionAbilityAbAttr extends AbAttr { } export class IgnoreTypeImmunityAbAttr extends AbAttr { - defenderType: Type; - allowedMoveTypes: Type[]; + private defenderType: Type; + private allowedMoveTypes: Type[]; constructor(defenderType: Type, allowedMoveTypes: Type[]) { super(true); @@ -2653,8 +2653,8 @@ export class IgnoreTypeImmunityAbAttr extends AbAttr { * Ignores the type immunity to Status Effects of the defender if the defender is of a certain type */ export class IgnoreTypeStatusEffectImmunityAbAttr extends AbAttr { - statusEffect: StatusEffect[]; - defenderType: Type[]; + private statusEffect: StatusEffect[]; + private defenderType: Type[]; constructor(statusEffect: StatusEffect[], defenderType: Type[]) { super(true);