Quintessa's Dweomerdrain (5e Spell)
From D&D Wiki
Author: Âmesang (Robert John Michael Whittaker) 
|Casting time:||1 action|
|Duration:||Instantaneous and 1 hour or until expended; see text|
A magic item you target with a melee spell attack must succeed on a Charisma saving throw; on a failure you drain a pool of raw magic from the magic item and retain it for the purpose of casting spells that have a consumable material component cost. Each casting drains from a single magic item an amount of gold pieces worth of effective consumable material components, dependent on the item's rarity (see table), and renders the item nonmagical.
You may draw from this pool whenever casting a spell that has a consumable material component cost, paying any leftover cost yourself. For example, if you touch a rare magic item you drain an average of 500 gp worth of raw magic with which to cast a spell such as true seeing. Drained magic is retained for 1 hour; any raw magic not spent when the spell's duration expires is wasted.
This spell does not work on artifacts.
|Magic Item Rarity||Saving Throw Bonus||Die Roll|
|Common||+2||1d4 × 5 gp|
|Uncommon||+3||1d4 × 25 gp|
|Rare||+4||1d10 × 100 gp|
|Very rare||+5||1d10 × 1,000 gp|
|Legendary||+6||1d10 × 10,000 gp|