Hexerei
Bringe eine Kreatur deiner Wahl auf die Hand ihres Besitzers zurück. Falls du ein Artefakt kontrollierst, ziehe eine Karte.
If the target creature is an illegal target by the time Temporal Machinations tries to resolve, the spell doesn’t resolve. You won’t draw a card.
Whether you control an artifact is checked only after returning the target creature to its owner’s hand. If the target creature is the only artifact you control, you won’t draw a card.