Essence Theft (5e Feat)
From D&D Wiki
Whenever you cast a spell that harms an enemy, you gain a charge. When you reach the maximum amount of charges, the charges are all spent and heal you for 10 + proficiency bonus + spellcasting modifier. The maximum amount of charges you can have is equivalent to 13 - proficiency bonus.