From 9cc3e98d59c0018154a6e610a80daf9b992d33cd Mon Sep 17 00:00:00 2001 From: Jakub Hanko <60473007+JakubHanko@users.noreply.github.com> Date: Sun, 19 May 2024 21:24:01 +0200 Subject: [PATCH] Update docs --- src/data/battler-tags.ts | 4 ++-- src/data/move.ts | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index ae8fba10f6f..fa2baf69d86 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -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. diff --git a/src/data/move.ts b/src/data/move.ts index d3e677a9bd7..3059e602463 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -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 */