Magic Guard ability details

The Pokémon only takes damage from attacks.