minor doc improvement

This commit is contained in:
snoozbuster 2024-08-02 20:03:39 -07:00
parent f428fd114c
commit 939a3f32a8
1 changed files with 5 additions and 0 deletions

View File

@ -4889,6 +4889,11 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
private user: boolean; private user: boolean;
private batonPass: boolean; private batonPass: boolean;
/**
* @param user Indicates if this move effect will switch out the user of the
* move (true) or the target of the move (false).
* @param batonPass Indicates if this move is a usage of Baton Pass.
*/
constructor(user?: boolean, batonPass?: boolean) { constructor(user?: boolean, batonPass?: boolean) {
super(false, MoveEffectTrigger.POST_APPLY, false, true); super(false, MoveEffectTrigger.POST_APPLY, false, true);
this.user = !!user; this.user = !!user;