implements telepathy (#307)

This commit is contained in:
alpaca 2024-05-13 06:59:39 -04:00 committed by GitHub
parent b36c23fae1
commit 09287c22ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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)