From c0ed5f86239f13daf4bb6a3ff602ed41c1cb0219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=20Dub=C3=A9?= Date: Mon, 13 May 2024 22:55:06 -0400 Subject: [PATCH] added tsdoc --- src/data/ability.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/data/ability.ts b/src/data/ability.ts index 9f4e2c5b0..ef676e781 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -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;