Artifact

, Sacrifice this artifact: Roll a d20.
1 | Trapped! — You lose 3 life.
2—9 | Create five Treasure tokens.
10—19 | You gain 3 life and draw three cards.
20 | Search your library for a card. If it's an artifact card, you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle.
Tournament events have more specific rules regarding dice and die-rolling. For more information, please see the most recent version of the Magic Tournament Rules at https://wpn.wizards.com/en/document/magic-gathering-tournament-rules.