lhearachel / plat-engine

MIT License
3 stars 2 forks source link

Telepathy #53

Open lhearachel opened 1 year ago

lhearachel commented 1 year ago

Documentation

https://bulbapedia.bulbagarden.net/wiki/Telepathy_(Ability)

A Pokémon with Telepathy avoids damaging moves used by its allies. This includes attacks with multiple targets (such as Discharge), as well as attacks exclusively targeting an ally with Telepathy (such as Thunderbolt). However, it is not protected from its allies' status moves (such as Teeter Dance or Confuse Ray).

Relevant Code Points

We should update the accuracy check function for moves which would affect an ally.