From 4f95bd6de25f68527caee28e24abf6592a755e75 Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Thu, 30 Jan 2025 18:38:18 -0600 Subject: [PATCH] Update src/data/ability.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/data/ability.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index bf12df74650..b4ed2a0933f 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -1697,16 +1697,16 @@ export class AllyStatMultiplierAbAttr extends AbAttr { } /** - * applyAllyStat: Multiply a Pokemon's Stat due to an Ally's ability. - * @param pokemon {@linkcode Pokemon} the ally Pokemon with the ability (unused) - * @param passive {@linkcode boolean} unused - * @param simulated {@linkcode boolean} whether the ability is being simulated (unused) - * @param stat {@linkcode Stat} the type of the checked stat - * @param statValue {@linkcode Utils.NumberHolder} the value of the checked stat - * @param checkedPokemon {@linkcode Pokemon} the Pokemon this ability is targeting (unused) - * @param ignore {@linkcode boolean} Whether the ability should be ignored if possible - * @param args {any[]} unused - * @returns true if this changed the checked stat, false otherwise. + * Multiply a Pokemon's Stat due to an Ally's ability. + * @param pokemon - The ally {@linkcode Pokemon} with the ability (unused) + * @param passive - unused + * @param simulated - Whether the ability is being simulated (unused) + * @param stat - The type of the checked {@linkcode Stat} + * @param statValue - {@linkcode Utils.NumberHolder} containing the value of the checked stat + * @param checkedPokemon - The {@linkcode Pokemon} this ability is targeting (unused) + * @param ignoreAbility - Whether the ability should be ignored if possible + * @param args - unused + * @returns `true` if this changed the checked stat, `false` otherwise. */ applyAllyStat(pokemon: Pokemon, _passive: boolean, simulated: boolean, stat: BattleStat, statValue: Utils.NumberHolder, checkedPokemon: Pokemon, ignore: boolean, args: any[]): boolean | Promise { if (stat === this.stat && !(ignore && this.ignorable)) {