If the mana cost of a permanent includes X, that X is considered to be 0.

Artwork
Loading artwork…
Hoard-Smelter Dragon
Starter Commander Decks · #147 · EN
Nonfoil—Foil—
Card rules
Flying
3
: Destroy target artifact. This creature gets +X/+0 until end of turn, where X is that artifact's mana value.
5/5
He collects the precious metals, and then converts the rest to propellant.
Rare · Illustrated by Eric Deschamps
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the targeted artifact is an illegal target by the time the activated ability resolves, the ability doesn't resolve. Hoard-Smelter Dragon won't get the bonus.
If the activated ability resolves but the targeted artifact isn't destroyed (perhaps because it has indestructible or it regenerates), Hoard-Smelter Dragon will still get the bonus.