Self Projectile (5e Spell)
From D&D Wiki
|Casting time:||1 action|
You and all your worn and carried equipment are momentarily turned into a glowing dart of energy and fly in a straight line towards an enemy. Make a ranged spell attack on one enemy you can see within range, dealing 1d10 force damage on a hit. Additionally, when the attack hits, you appear in space adjacent to your target.
If the attack misses, you continue along your trajectory for a further 1d6*5 5ft from the target before reappearing in the nearest unoccupied space.
At Higher Levels. When you cast this spell using a spell slot of 3rd level or higher, you deal an additional 1d10 force damage for every level above 2nd.