Magic Resistance. The Qilin has advantage on saving throws against spells and other magical effects.
Precognition. Quilin can see the future. Unless it is incapacitated, it has advantage on all attacks and saving throws, and all creatures have disadvantage on attacks against it.
Anti-Magic Field. As an Action, the Quilin can protect itsefl with a 20ft radius Anti-Magic field. It is concentrating on this like a spell, and it's own magic is unaffected by the field.
2x Hooves Multiattack Weapon Attack. +7 to hit.
Hit. 11 (2d6+4) Piercing damage and the target must make a DC 15 STR save or be knocked Prone.
Trample (Recharge 5-6). The Qilin takes the Dash and Dodge action and can move through other creatures if they fail a DC 15 STR or DEX save. On failure, the creature is knocked Prone and takes 25 (4d8+7) Bludgeoning and Radiant damage.
A successful save halves the damage and they are knocked prone.
Misty Step (Recharge 3-4). The Qilin may teleport to a point it can see within 30ft.
===Reactions===
Rebuke the Violent. Immediately after a creature within 50ft of the Qilin uses their action to deal damage, it may use its reaction to force the attacker to make a DC 15 WIS save. On a failed save, the attacker takes radiant damage equal to the full damage it just dealt over the course of that action and becomes frightened of their allies until they succeed the save at the end of their turn. On a successful save, it takes half as much damage.