From 8d888bb6d5e1c9d3e36d1fd11d1e135c4757ae6b Mon Sep 17 00:00:00 2001 From: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Tue, 2 Jan 2024 23:32:02 -0700 Subject: [PATCH] Update data/mods/sharedpower/abilities.ts --- data/mods/sharedpower/abilities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/mods/sharedpower/abilities.ts b/data/mods/sharedpower/abilities.ts index d3c0a800379f..53a0e365d961 100644 --- a/data/mods/sharedpower/abilities.ts +++ b/data/mods/sharedpower/abilities.ts @@ -57,7 +57,7 @@ export const Abilities: {[k: string]: ModdedAbilityData} = { const isAbility = pokemon.ability === 'trace'; const possibleTargets = pokemon.adjacentFoes().filter( - target => (!target.getAbility().flags['notrace'] && !(target.ability === 'noability')) + target => !target.getAbility().flags['notrace'] && target.ability !== 'noability' ); if (!possibleTargets.length) return;