Aftermath ability details

Damages the attacker if it knocks out the Pokémon with a move that makes direct contact.