diff --git a/src/data/move.ts b/src/data/move.ts index 9189d58417f..a7ce2b98954 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -1380,9 +1380,10 @@ export class UserHpDamageAttr extends FixedDamageAttr { } export class TargetHalfHpDamageAttr extends FixedDamageAttr { - /** the initial amount of hp the target had before the first hit; - used for multi lens hp cutting - */ + /** + * The initial amount of hp the target had before the first hit. + * Used for calculating multi lens damage. + */ private initialHp: number; constructor() { super(0); diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 00a79dc3800..56c724ef51a 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1108,9 +1108,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { return this.getStat(Stat.HP); } - /** - Returns the amount of hp currently missing from this {@linkcode Pokemon} (max - current) - */ + /** Returns the amount of hp currently missing from this {@linkcode Pokemon} (max - current) */ getInverseHp(): integer { return this.getMaxHp() - this.hp; } diff --git a/src/test/utils/helpers/moveHelper.ts b/src/test/utils/helpers/moveHelper.ts index 8b7de065f38..02f9d1ef3b3 100644 --- a/src/test/utils/helpers/moveHelper.ts +++ b/src/test/utils/helpers/moveHelper.ts @@ -75,7 +75,7 @@ export class MoveHelper extends GameManagerHelper { } /** - * Changes a pokemon's moveset to the given move(s). + * Changes a pokemon's moveset to the given move(s). * Used when the normal moveset override can't be used (such as when it's necessary to check or update properties of the moveset). * @param pokemon - The {@linkcode Pokemon} being modified * @param moveset - The {@linkcode Moves} (single or array) to change the Pokemon's moveset to diff --git a/src/ui/ui.ts b/src/ui/ui.ts index 8e594d1fba3..790d517f20c 100644 --- a/src/ui/ui.ts +++ b/src/ui/ui.ts @@ -277,10 +277,11 @@ export default class UI extends Phaser.GameObjects.Container { return true; } - /** Process a player input of a button (delivering it to the current UI handler for processing) - * @param button The {@linkcode Button} being inputted - * @returns true if the input attempt succeeds - */ + /** + * Process a player input of a button (delivering it to the current UI handler for processing) + * @param button The {@linkcode Button} being inputted + * @returns true if the input attempt succeeds + */ processInput(button: Button): boolean { if (this.overlayActive) { return false;