Porygon2 (5e Creature)
From D&D Wiki
Small construct, any alignment
Analytic. When the porygon2 hits a creature with an attack, it has advantage on all attack rolls against that creature until the end of its next turn.
Download. When the porygon2 rolls for initiative, it can give itself one of two benefits: creatures have disadvantage on saving throws against its Tri-Attack action, or it has advantage on attack rolls with its Force Beam.
Force Beam. Ranged Spell Attack: +6 to hit, reach 5 ft., one target. Hit: 14 (4d4 + 4) force damage.
Tri-Attack. The porygon2 launches three balls of force at one creature within 60 feet of it. The target must succeed on a DC 14 Dexterity saving throw against each one or take 5 (2d4) force damage per orb.
Conversion2. The porygon2 gains immunity to one damage type of its choice for 1 minute, or until its concentration is broken (as if concentrating on a spell).