As an action, a creature that you can touch or see within 18 meters must make a Will saving throw.
On a failed save, you confuse the creature as it takes 1d3 psychic damage, has disadvantage on the next attack roll it makes before the end of its next turn, and moves 1.5 meters in a random direction if it can move. Roll a d8 for the direction: 1: north, 2: north-east, 3: east, 4: south-east, 5: south, 6: south-west, 7: west, 8: north-west. This movement doesn’t provoke opportunity attacks, and if the direction rolled is blocked, the target doesn’t move.
On a successful save, it takes half as much damage, but doesn’t suffer any other effect.
At higher levels
This spell’s damage increases by 1d3 when you reach 9th level (2d3) and 17th level (3d3).