Wargate {X}{G}{W}{U} Sorcery Search your library for a permanent card with mana value X or less, put it onto the battlefield, then shuffle.