From 4f163dc6441a0c9def3a580bcc4b2aa1b608dd8e Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Thu, 30 Jan 2025 18:39:20 -0600 Subject: [PATCH] Accept suggested change Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/data/ability.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index b8846268927..190f4aaf74c 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -1708,8 +1708,8 @@ export class AllyStatMultiplierAbAttr extends AbAttr { * @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)) { + applyAllyStat(pokemon: Pokemon, _passive: boolean, simulated: boolean, stat: BattleStat, statValue: Utils.NumberHolder, checkedPokemon: Pokemon, ignoreAbility: boolean, args: any[]): boolean | Promise { + if (stat === this.stat && !(ignoreAbility && this.ignorable)) { statValue.value *= this.multiplier; return true; }