From abbf28d872db983627924a63a100de6d56206a9c Mon Sep 17 00:00:00 2001 From: Athebyne <30442287+f-raZ0R@users.noreply.github.com> Date: Thu, 9 May 2024 16:58:47 -0400 Subject: [PATCH] Add TsDoc documentation to BypassRedirectAttr --- src/data/move.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index 3aaba6764f7..705f6e03ab6 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -2597,10 +2597,12 @@ const crashDamageFunc = (user: Pokemon, move: Move) => { }; export class TypelessAttr extends MoveAttr { } - +/** +* Attribute used for moves which ignore redirection effects, and always target their original target, i.e. Snipe Shot +* Bypasses Storm Drain, Follow Me, Ally Switch, and the like. +*/ export class BypassRedirectAttr extends MoveAttr { } - export class DisableMoveAttr extends MoveEffectAttr { constructor() { super(false);