Wargate

Wargate {X}{G}{W}{U}

Sorcery (CMC 3)
Search your library for a permanent card with converted mana cost X or less, put it onto the battlefield, then shuffle your library.