mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
added documentation for tag
This commit is contained in:
parent
6c55441b58
commit
87e869c02c
@ -1202,6 +1202,13 @@ class GrassWaterPledgeTag extends ArenaTag {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Arena Tag class for {@link https://bulbapedia.bulbagarden.net/wiki/Fairy_Lock_(move) Fairy Lock}.
|
||||||
|
* Fairy Lock prevents all Pokémon (except Ghost types) on the field from switching out or
|
||||||
|
* fleeing during their next turn.
|
||||||
|
* If a Pokémon that's on the field when Fairy Lock is used goes on to faint later in the same turn,
|
||||||
|
* the Pokémon that replaces it will still be unable to switch out in the following turn.
|
||||||
|
*/
|
||||||
export class FairyLockTag extends ArenaTag {
|
export class FairyLockTag extends ArenaTag {
|
||||||
constructor(turnCount: number, sourceId: number) {
|
constructor(turnCount: number, sourceId: number) {
|
||||||
super(ArenaTagType.FAIRY_LOCK, turnCount, Moves.FAIRY_LOCK, sourceId);
|
super(ArenaTagType.FAIRY_LOCK, turnCount, Moves.FAIRY_LOCK, sourceId);
|
||||||
|
Loading…
Reference in New Issue
Block a user