Name:Expansive Reapplication
ManaCost:X G U
Types:Instant
Text:X can't be 0.\r\n
A:SP$ Counter | Cost$ XMin1 X G U | TargetType$ Spell | ValidTgts$ Card | SubAbility$ DBNameCard | SpellDescription$ Counter target spell. Conjure a random creature card with mana value X onto the battlefield.
SVar:DBNameCard:DB$ NameCard | AtRandom$ True | ValidCards$ Creature.cmcEQX | SubAbility$ DBConjure
SVar:DBConjure:DB$ MakeCard | Name$ ChosenName | Conjure$ True | Zone$ Battlefield | SubAbility$ DBClearNamed
SVar:DBClearNamed:DB$ Cleanup | ClearNamedCard$ True
SVar:X:Count$xPaid
Oracle:X can't be 0.\nCounter target spell. Conjure a random creature card with mana value X onto the battlefield.
