Three phantom clones of yourself appear in your place. Until the spell ends, the clone will move with you and imitate your movements and position changes, making it impossible for people to track which one is your real body. When the clones exist, you can use actions to dissolve these phantom clones.
Mirror Image 5e
Classes: Warlock, Sorcerer, Wizard
Casting Time: 1 Action
Components: V, S
Duration: 1 minute
During the duration of the spell, whenever a creature targets you, roll a d20 to determine whether the attack hits one of the clones.
If you have three clones, you must roll 6 or higher to make the target’s attack hit the clone. If you have two avatars, you must roll 8 or higher. If you have a clone, you must roll 11 or higher.
The AC of the clone is equal to 10 + your agility adjustment value. When a single attack hits the clone, the clone is immediately destroyed. The clone will be destroyed by an attack that hits it, ignoring all other damage and effects. The spell ends after all three clones are destroyed.
If a creature can’t see, or it can rely on other senses outside of sight (such as blind vision), or it can perceive illusions like real vision, then the spell cannot affect the creature.