A vicious spell from the Mage-Eaters Tome. Legend tells of an old wizard who lost his magic for a week after memorizing this spell.
You momentarily disturb a creatures magical abilities to unleash volatile magical effects.
You point at a creature you can see within range, the target makes a Wisdom saving throw. On fail, the target loses 25% of its maximum spell slots and uses of various magical abilities (bardic inspiration, sorcery points, ki points etc.). The highest level spell slots and most powerful ability uses are prioritized. For each spell slot or use of magical ability, the target takes 1d4 force damage. On successful save, a creature takes 1d4 force damage.
At Higher Levels. When you cast this spell using a spell slot of 3rd level or higher, you can affect one additional creature for each slot level above 2nd. The creatures must be within 30 feet of each other when you target them.