From 865325c132131be9be29f76d7a155104c50345a7 Mon Sep 17 00:00:00 2001 From: Jakub Hanko <60473007+JakubHanko@users.noreply.github.com> Date: Tue, 14 May 2024 21:06:44 +0200 Subject: [PATCH] Add TSDoc --- src/data/move.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/data/move.ts b/src/data/move.ts index cc1eccfcf..b7641b0a4 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -3091,6 +3091,15 @@ export class ExposedMoveAttr extends AddBattlerTagAttr { super(tagType, false, true); } + /** + * Moves that reset the target's evasiveness and makes it vulnerable + * to types it is immune to. + * @param user Pokemon that used the move + * @param target The target of the move + * @param move Move with this attribute + * @param args None + * @returns true if the function succeeds + */ apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean { if (!super.apply(user, target, move, args)) return false;