From e0fa02b84ab28a0ab74ce622cd8356da5c78a077 Mon Sep 17 00:00:00 2001 From: frutescens Date: Fri, 11 Oct 2024 10:05:46 -0700 Subject: [PATCH] Documentation --- src/data/battler-tags.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index fafbb546962..d5d946b2fe7 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -1713,6 +1713,12 @@ export class TypeImmuneTag extends BattlerTag { } } +/** + * Battler Tag that lifts the affected in the air and provides immunity to Ground Type Moves + * Moves that provide this effect are Magnet Rise and Telekinesis + * @see {@link https://bulbapedia.bulbagarden.net/wiki/Magnet_Rise_(move) | Moves.MAGNET_RISE} + * @see {@link https://bulbapedia.bulbagarden.net/wiki/Telekinesis_(move) | Moves.TELEKINESIS} + */ export class FloatingTag extends TypeImmuneTag { constructor(tagType: BattlerTagType, sourceMove: Moves) { super(tagType, sourceMove, Type.GROUND, 5); @@ -2680,6 +2686,12 @@ export class SyrupBombTag extends BattlerTag { } } +/** + * Telekinesis raises the target into the air for three turns and causes all moves used against the target (aside from OHKO moves) to hit the target unless the target is in a semi-invulnerable state from Fly/Dig. + * The first effect is provided by {@linkcode FloatingTag}, the accuracy-bypass effect is provided by TelekinesisTag + * The effects of Telekinesis can be baton passed to a teammate. Unlike the mainline games, Telekinesis can be baton-passed to Mega Gengar. + * @see {@link https://bulbapedia.bulbagarden.net/wiki/Telekinesis_(move) | Moves.TELEKINESIS} + */ export class TelekinesisTag extends BattlerTag { constructor(sourceMove: Moves) { super(BattlerTagType.TELEKINESIS, [ BattlerTagLapseType.PRE_MOVE, BattlerTagLapseType.AFTER_MOVE ], 3, sourceMove, undefined, true);