Menu

Submission for Varchild's Crusader

152

Config

name=Varchild's Crusader
image=http://mtgimage.com/card/varchild%27s%20crusader.jpg
value=2.500
rarity=C
type=Creature
subtype=Human,Knight
cost={3}{R}
pt=3/2
timing=main
requires_groovy_code
oracle={0}: Varchild's Crusader can't be blocked this turn except by Walls. Sacrifice Varchild's Crusader at the beginning of the next end step.

Script

def Unblockable = MagicAbility.getAbilityList("SN can't be blocked except by Walls");

[
    new MagicPermanentActivation(
        new MagicActivationHints(MagicTiming.Pump),
        "Unblockable"
    ) {
        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
            return [
                new MagicPayManaCostEvent(source,"{0}")
            ];
        }
        @Override
        public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
            return new MagicEvent(
                source,
                this,
                "SN can't be blocked this turn except by Walls. Sacrifice SN at the beginning of the next end step."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicGainAbilityAction(event.getPermanent(),Unblockable));
            game.doAction(new MagicAddTriggerAction(event.getPermanent(), MagicAtEndOfTurnTrigger.Sacrifice));
        }
    }
]
Pushed