Update docs

This commit is contained in:
Jakub Hanko 2024-05-19 21:24:01 +02:00
parent 678c0de2ec
commit 9cc3e98d59
No known key found for this signature in database
GPG Key ID: 775D427937A306CC
2 changed files with 10 additions and 5 deletions

View File

@ -256,7 +256,8 @@ export class ConfusedTag extends BattlerTag {
/**
* Tag applied to the {@linkcode Move.DESTINY_BOND} user.
* See {@linkcode apply}
* @extends BattlerTag
* @see {@linkcode apply}
*/
export class DestinyBondTag extends BattlerTag {
constructor(sourceMove: Moves, sourceId: integer) {
@ -264,7 +265,6 @@ export class DestinyBondTag extends BattlerTag {
}
/**
* Destiny bond tag.
* Lapses either before the user's move and does nothing
* or after receiving fatal damage. When the damage is fatal,
* the attacking Pokemon is taken down as well, unless it's a boss.

View File

@ -4250,6 +4250,11 @@ export class MoneyAttr extends MoveEffectAttr {
}
}
/**
* Applies {@linkcode BattlerTagType.DESTINY_BOND} to the user.
*
* @extends MoveEffectAttr
*/
export class DestinyBondAttr extends MoveEffectAttr {
constructor() {
super(true, MoveEffectTrigger.PRE_APPLY);
@ -4257,9 +4262,9 @@ export class DestinyBondAttr extends MoveEffectAttr {
/**
* Applies {@linkcode BattlerTagType.DESTINY_BOND} to the user.
* @param {Pokemon} user User that is having the tag applied to.
* @param {Pokemon} target N/A
* @param {Move} move {@linkcode Move.DESTINY_BOND}
* @param user {@linkcode Pokemon} that is having the tag applied to.
* @param target {@linkcode Pokemon} N/A
* @param move {@linkcode Move} {@linkcode Move.DESTINY_BOND}
* @param {any[]} args N/A
* @returns true
*/