Menu

Submission for Weed-Pruner Poplar

83

Config

name=Weed-Pruner Poplar
image=http://mtgimage.com/card/weed-pruner%20poplar.jpg
value=2.500
rarity=C
type=Creature
subtype=Treefolk,Assassin
cost={4}{B}
pt=3/3
timing=main
requires_groovy_code
oracle=At the beginning of your upkeep, target creature other than Weed-Pruner Poplar gets -1/-1 until end of turn.

Script

[
    new MagicAtYourUpkeepTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer upkeepPlayer) {
            return new MagicEvent(
                permanent,
                MagicTargetChoice.NegOther("target creature", permanent),
                new MagicWeakenTargetPicker(-1,-1),
                this,
                "Target creature\$ other than SN gets -1/-1 until end of turn."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPermanent(game, {
                game.doAction(new MagicChangeTurnPTAction(it, -1, -1));
            });
        }
    }
]
Pushed