Update docs

This commit is contained in:
innerthunder 2024-11-15 01:33:25 -08:00
parent c3ae0112e6
commit 169095f1fb
2 changed files with 7 additions and 2 deletions

View File

@ -1502,6 +1502,11 @@ export class ContactBurnProtectedTag extends DamageProtectedTag {
}
}
/**
* `BattlerTag` class for effects that cause the affected Pokemon to survive lethal attacks at 1 HP.
* Used for {@link https://bulbapedia.bulbagarden.net/wiki/Endure_(move) | Endure} and
* Endure Tokens.
*/
export class EnduringTag extends BattlerTag {
constructor(tagType: BattlerTagType, lapseType: BattlerTagLapseType, sourceMove: Moves) {
super(tagType, lapseType, 0, sourceMove);

View File

@ -3647,8 +3647,8 @@ export class EnemyEndureChanceModifier extends EnemyPersistentModifier {
}
/**
* Applies {@linkcode EnemyEndureChanceModifier}
* @param target {@linkcode Pokemon} to apply the {@linkcode BattlerTagType.ENDURING} chance to
* Applies a chance of enduring a lethal hit of an attack
* @param target the {@linkcode Pokemon} to apply the {@linkcode BattlerTagType.ENDURING} chance to
* @returns `true` if {@linkcode Pokemon} endured
*/
override apply(target: Pokemon): boolean {