Kanirion’s Uncanny Dodge

2nd Level Transmutation

Casting Time: 1 reaction (in which you are hit by an attack)
Range: Self
Components: S
Duration: 1 round
Classes: Artificer, Hexblade, Sorcerer, Wizard

An invisible barrier of magical force appears and protects you. When you are hit by an attack you may as a reaction activate this spell, until the start of your next turn, you have a +5 bonus to AC, including against the triggering attack, and you take no damage from magic missile. You fly in a straight line up to 90 feet in a direction you choose before falling to the ground, stopping early if you impact against a solid surface. If you would strike a creature, that creature must make a Dexterity saving throw. On a failed save, the object strikes the target and stops moving. When you hit something, the object you hit takes 3d8 bludgeoning damage. If you hit a wall instead you take the 3d8 damage.

At Higher Levels. When you cast this spell using a spell slot of 3rd level or higher, the damage increases by 1d8, for each slot level above 2nd.