From 09287c22bacf48baa360d189be64329a4bfa8480 Mon Sep 17 00:00:00 2001 From: alpaca Date: Mon, 13 May 2024 06:59:39 -0400 Subject: [PATCH] implements telepathy (#307) --- 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 bbc55a19e3d..662cd3715eb 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -3206,8 +3206,8 @@ export function initAbilities() { new Ability(Abilities.HARVEST, 5) .unimplemented(), new Ability(Abilities.TELEPATHY, 5) - .ignorable() - .unimplemented(), + .attr(MoveImmunityAbAttr, (pokemon, attacker, move) => pokemon.getAlly() === attacker && move.getMove() instanceof AttackMove) + .ignorable(), new Ability(Abilities.MOODY, 5) .attr(MoodyAbAttr), new Ability(Abilities.OVERCOAT, 5)