diff --git a/src/data/ability.ts b/src/data/ability.ts index ae48b4f5de9..bf12df74650 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -5616,7 +5616,6 @@ export function applyStatMultiplierAbAttrs( * @param statValue {@linkcode Utils.NumberHolder} the value of the checked stat * @param checkedPokemon {@linkcode Pokemon} the Pokemon with the checked stat * @param ignore {@linkcode boolean} Whether or not the ability should be ignored by the pokemon or its move. - * * @param args unused */ export function applyAllyStatMultiplierAbAttrs(attrType: Constructor, diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 773cf5b627c..1f55969c146 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -5057,7 +5057,7 @@ export class EnemyPokemon extends Pokemon { return move.category !== MoveCategory.STATUS && moveTargets.some(p => { const doesNotFail = move.applyConditions(this, p, move) || [ Moves.SUCKER_PUNCH, Moves.UPPER_HAND, Moves.THUNDERCLAP ].includes(move.id); - return doesNotFail && p.getAttackDamage(this, move, !p.battleData.abilityRevealed, false, !p.getAlly()?.battleData.abilityRevealed, isCritical).damage >= p.hp; + return doesNotFail && p.getAttackDamage(this, move, !p.battleData.abilityRevealed, false, !p.getAlly()?.battleData.abilityRevealed, false, isCritical).damage >= p.hp; }); }, this);