Shapechanger. The yuan-ti can use its action to polymorph into a Medium snake, or back into its true form. Its statistics are the same in each form. Any equipment it is wearing or carrying isn't transformed. It doesn't change form if it dies.
Magic Resistance. The yuan-ti has advantage on saving throws against spells and other magical effects.
Malison Type. The yuan-ti has one of the following types:
Innate Spellcasting (Yuan-ti Form Only). The yuan-ti's innate spellcasting ability is Charisma (spell save DC 13, +5 to hit with spell attacks). The yuan-ti can innately cast the following spells, requiring no material components:
At will: animal friendship (snakes only), eldritch blast (2 beams), minor illusion, poison spray
3/day: suggestion
Multiattack (Yuan-ti Form Only). The yuan-ti makes two ranged attacks or two melee attacks, but can constrict only once.
Bite (Snake Form Only). Melee Weapon Attack: +5 to hit, reach 5 ft., one creature. Hit:5 (1d4 + 3) piercing damage plus 7 (2d6) poison damage.
Constrict. Melee Weapon Attack: +5 to hit, reach 5 ft., one target. Hit:10 (2d6 + 3) bludgeoning damage, and the target is grappled (escape DC 13). Until this grapple ends, the target is restrained, and the yuan-ti can't constrict another target.
Scimitar (Yuan-ti Form Only). Melee Weapon Attack: +5 to hit, reach 5 ft., one target. Hit:6 (1d6 + 3) slashing damage.