>>46031594255/255/255/255/255/255
Ability makes it whatever type takes the least damage from an incoming attack, gets STAB on whatever move it uses, and Judgment is always the most effective type against the opponent, targets the opponent's lower defensive stat, and has 255 BP.
And if it faints, it revives itself 3 turns later.