mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 13:22:18 +02:00
Update ability.ts
Added access modifiers to my class and the class I compared to.
This commit is contained in:
parent
f4c1f5d30c
commit
c1d31f2b28
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user