added tsdoc
parent
481d8e2796
commit
c0ed5f8623
|
@ -296,6 +296,13 @@ export class PreDefendMovePowerToOneAbAttr extends ReceivedMoveDamageMultiplierA
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Makes the user immune to moves of a specific type. Works regardless
|
||||||
|
* of move category. Does not affect moves that target the field (ex. spikes)
|
||||||
|
* @param immuneType The {@link Type} that the user is immune to
|
||||||
|
* @param condition N/A
|
||||||
|
* @returns if the ability successfully activates
|
||||||
|
*/
|
||||||
export class TypeImmunityAbAttr extends PreDefendAbAttr {
|
export class TypeImmunityAbAttr extends PreDefendAbAttr {
|
||||||
private immuneType: Type;
|
private immuneType: Type;
|
||||||
private condition: AbAttrCondition;
|
private condition: AbAttrCondition;
|
||||||
|
|
Loading…
Reference in New Issue