mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 06:19:29 +02:00
Update docs
This commit is contained in:
parent
c3ae0112e6
commit
169095f1fb
@ -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 {
|
export class EnduringTag extends BattlerTag {
|
||||||
constructor(tagType: BattlerTagType, lapseType: BattlerTagLapseType, sourceMove: Moves) {
|
constructor(tagType: BattlerTagType, lapseType: BattlerTagLapseType, sourceMove: Moves) {
|
||||||
super(tagType, lapseType, 0, sourceMove);
|
super(tagType, lapseType, 0, sourceMove);
|
||||||
|
@ -3647,8 +3647,8 @@ export class EnemyEndureChanceModifier extends EnemyPersistentModifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Applies {@linkcode EnemyEndureChanceModifier}
|
* Applies a chance of enduring a lethal hit of an attack
|
||||||
* @param target {@linkcode Pokemon} to apply the {@linkcode BattlerTagType.ENDURING} chance to
|
* @param target the {@linkcode Pokemon} to apply the {@linkcode BattlerTagType.ENDURING} chance to
|
||||||
* @returns `true` if {@linkcode Pokemon} endured
|
* @returns `true` if {@linkcode Pokemon} endured
|
||||||
*/
|
*/
|
||||||
override apply(target: Pokemon): boolean {
|
override apply(target: Pokemon): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user