Add TSDoc

pull/812/head
Jakub Hanko 2024-05-14 21:06:44 +02:00
parent a371767be3
commit 865325c132
No known key found for this signature in database
GPG Key ID: 775D427937A306CC
1 changed files with 9 additions and 0 deletions

View File

@ -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;