mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
minor doc improvement
This commit is contained in:
parent
f428fd114c
commit
939a3f32a8
@ -4889,6 +4889,11 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
|
||||
private user: 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) {
|
||||
super(false, MoveEffectTrigger.POST_APPLY, false, true);
|
||||
this.user = !!user;
|
||||
|
Loading…
Reference in New Issue
Block a user