Confound Senses
3rd-level · Enchantment
Casting Time 1 action
Range 30 feet
Components V, S, M (a broken compass)
Duration Up to 10 minutes (concentration)
Classes Cleric, Sorcerer, Warlock, Wizard
This spell befuddles the minds of up to six creatures that you can see within range, causing the creatures to see images of shifting terrain. Each target that fails an Intelligence saving throw is reduced to half speed until the spell ends because of confusion over its surroundings, and it makes ranged attack rolls with disadvantage.
Affected creatures also find it impossible to keep track of their location. They automatically fail Wisdom (Survival) checks to avoid getting lost. Whenever an affected creature must choose between one or more paths, it chooses at random and immediately forgets which direction it came from.
Source: Deep Magic 5e · OGL/Open