Spell Mastery (5e Spell)
From D&D Wiki
|Casting time:||1 reaction, which you take when a creature within 120 feet of you casts a bard, sorcerer, warlock, or wizard spell|
|Range:||Self (120-foot radius)|
|Duration:||Concentration, up to 1 minute|
Asserting your mastery over magic, you take control over all bard, sorcerer, warlock, and wizard spells cast within range. For the duration, whenever such a spell is cast and you are aware of the spell, you can use your reaction to attempt to control it. To do so, make an ability check using your spellcasting ability. The DC equals 10 + the spell's level. On a successful check, you can produce one of the following effects.
Backlash. The spell fails and has no effect, and the caster of the spell takes 8d10 force damage which cannot be reduced or ignored by any means.
Change Target. You change the target of the spell. If the spell affects a point or an area, you can change the target to any other point or viable area within range. If the spell affects a creature or a number of creatures, you can choose which creatures they effect. Creatures are treated as friendly or hostile for the purposes of the spell with respect to you, rather than to the caster.
Derange Spell. The spell fails and has no effect, and a wild magic surge occurs. Roll a d6: On a 1-3, the surge affects you. On a 4-6, the surge affects the spell's original caster.