Artifacts and enchantments destroyed this way count toward the life gained even if they're put into a zone other than a graveyard.

Artwork
Loading artwork…
Ori, Plate Stacker
The Hobbit Eternal · #6 · EN
Nonfoil—Foil—
Card rules
When Ori enters, destroy all artifacts and enchantments your opponents control. You gain 1 life for each permanent destroyed this way.
3/3
Rare · Illustrated by Dmitry Burmak
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You won't gain life for an artifact or enchantment that isn't actually destroyed (for example, if it has indestructible).