Name:Genesis Hydra
ManaCost:X G G
Types:Creature Plant Hydra
PT:0/0
K:etbCounter:P1P1:X
SVar:X:Count$xPaid
T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ When you cast this spell, reveal the top X cards of your library. You may put a nonland permanent card with converted mana cost X or less from among them onto the battlefield. Then shuffle the rest into your library.
SVar:TrigDig:DB$ Dig | DigNum$ X | Reveal$ True | ChangeNum$ 1 | ChangeValid$ Permanent.nonLand+cmcLEX | DestinationZone$ Battlefield | LibraryPosition2$ 0 | SubAbility$ DBShuffle | Optional$ True | RestRandomOrder$ True
SVar:DBShuffle:DB$ Shuffle | Defined$ You
DeckHas:Ability$Counters
SVar:Picture:http://www.wizards.com/global/images/magic/general/genesis_hydra.jpg
Oracle:When you cast this spell, reveal the top X cards of your library. You may put a nonland permanent card with converted mana cost X or less from among them onto the battlefield. Then shuffle the rest into your library.\nGenesis Hydra enters the battlefield with X +1/+1 counters on it.
