Menu

Submission for Cephalid Vandal

31

Config

name=Cephalid Vandal
image=http://mtgimage.com/card/cephalid%20vandal.jpg
value=2.500
rarity=R
type=Creature
subtype=Cephalid,Rogue
cost={1}{U}
pt=1/1
ability=At the beginning of your upkeep, put a shred counter on SN.
timing=main
requires_groovy_code
oracle=At the beginning of your upkeep, put a shred counter on Cephalid Vandal. Then put the top card of your library into your graveyard for each shred counter on Cephalid Vandal.

Script

[
    new MagicAtYourUpkeepTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer upkeepPlayer) {
            return new MagicEvent(
                permanent,
                this,
                "Put the top card of your library into your graveyard for each shred counter on SN."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicMillLibraryAction(
            event.getPlayer(),
            event.getPermanent().getCounters(MagicCounterType.Shred)
            ));
        }
    }
]
Pushed