Update ability.ts

Added access modifiers to my class and the class I compared to.
This commit is contained in:
Dread134 2024-05-14 10:54:58 -04:00
parent f4c1f5d30c
commit c1d31f2b28

View File

@ -2631,8 +2631,8 @@ export class NoFusionAbilityAbAttr extends AbAttr {
} }
export class IgnoreTypeImmunityAbAttr extends AbAttr { export class IgnoreTypeImmunityAbAttr extends AbAttr {
defenderType: Type; private defenderType: Type;
allowedMoveTypes: Type[]; private allowedMoveTypes: Type[];
constructor(defenderType: Type, allowedMoveTypes: Type[]) { constructor(defenderType: Type, allowedMoveTypes: Type[]) {
super(true); 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 * Ignores the type immunity to Status Effects of the defender if the defender is of a certain type
*/ */
export class IgnoreTypeStatusEffectImmunityAbAttr extends AbAttr { export class IgnoreTypeStatusEffectImmunityAbAttr extends AbAttr {
statusEffect: StatusEffect[]; private statusEffect: StatusEffect[];
defenderType: Type[]; private defenderType: Type[];
constructor(statusEffect: StatusEffect[], defenderType: Type[]) { constructor(statusEffect: StatusEffect[], defenderType: Type[]) {
super(true); super(true);