diff --git a/data/abilities.ts b/data/abilities.ts index a8f77644cfae..84f65cbb6656 100644 --- a/data/abilities.ts +++ b/data/abilities.ts @@ -180,8 +180,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = { onFoeTryEatItem: false, onSourceAfterFaint(length, target, source, effect) { if (effect && effect.effectType === 'Move') { - this.add('-ability', source, 'Chilling Neigh'); - this.boost({atk: length}, source, source, null, true); + this.boost({atk: length}, source, source, this.dex.getEffect('chillingneigh'), true); } }, name: "As One (Glastrier)", @@ -196,8 +195,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = { onFoeTryEatItem: false, onSourceAfterFaint(length, target, source, effect) { if (effect && effect.effectType === 'Move') { - this.add('-ability', source, 'Grim Neigh'); - this.boost({spa: length}, source, source, null, true); + this.boost({spa: length}, source, source, this.dex.getEffect('grimneigh'), true); } }, name: "As One (Spectrier)",