added tsdoc

pull/240/head
Luc Dubé 2024-05-13 22:55:06 -04:00
parent 481d8e2796
commit c0ed5f8623
1 changed files with 7 additions and 0 deletions

View File

@ -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 {
private immuneType: Type;
private condition: AbAttrCondition;