Homebrew
5-level Enchantment
You pierce the mind of a creature that you can see within range, attempting to disrupt its thoughts. The creature must make a Wisdom saving throw. Creatures who fail their Wisdom saving throw take 8d6 psychic damage and gain a -5 penalty to every intelligence check and saving throw they make for the duration of this spell.