Magic Burst (5e Spell)
From D&D Wiki
|Casting time:||1 action|
|Range:||Self (15-foot cube)|
A surge of pure magical energy erupts from you, draining all of your remaining 1st-level spell slots. Each creature in a 15-foot cube originating from you must succeed on a Dexterity saving throw or take damage. The damage equals 1d12, plus an additional 1d12 for every 1st-level spell slot you lost.
At Higher Levels. When you cast this spell using a spell slot of 1st level or higher, expend all spell slots from each level up to the level you're casting it at. For each spell slot expended, you roll that many D12s. For example, if you have 4 1st level spell slots and 3 2nd level spell slots, you roll 7d12. Afterwards, the spell slots are used up.