Base Class: Barbarian
Rip of Wild Magic Barbarian from Tasha's Cauldron.
Magic Awareness
Until the end of your turn, you know the location of any spell or magic item within 60 ft. of you that isn't behind total cover. When you sense a spell, you learn which school of magic it belongs to. You can use this feature a number of times equal to your proficiency bonus. You regain all expended uses after a long rest.
Wild Surge
When you enter Rage, roll on the Wild Magic table to determine the magical effect produced. If the effect requires a saving throw, the DC equals 8 + your proficiency bonus + your Constitution modifier.
Use a d100 and a custom table OR a d10000 lookup table.
Bolstering Magic
As an Action, you can touch one creature (including yourself) and confer one of the following benefits: For 10 minutes you can roll a d3 whenever making an attack roll or an ability check and add the number rolled to the d20 roll. Roll a d3. The creature regains one expended spell slot, the level of which equals the number rolled or lower (character's choice). Once a creature receives this benefit, that creature can't receive it again until after a long rest.
you can take this action a number of times equal to your proficiency bonus, and you regain points after a long rest.
Unstable Backlash
When you are imperiled during your rage, the magic within you can lash out; immediately after you take damage or fail a saving throw while raging, you can use your reaction to roll on the Wild Magic table and immediately produce the effect rolled. This effect replaces your current wild magic effect.
Controlled Surge
Whenever you roll on the Wild Magic table, you can roll the die twice and choose which of the two effects to unleash. If you roll the same number on both dice, you can ignore the number and choose any effect on the table.