Menu

Submission for Jareth, Leonine Titan

61

Comment

Adapted from Cartel Aristocrat.

Config

name=Jareth, Leonine Titan
image=http://mtgimage.com/card/jareth%2C%20leonine%20titan.jpg
value=2.500
rarity=R
type=Legendary,Creature
subtype=Cat,Giant
cost={3}{W}{W}{W}
pt=4/7
ability=Whenever SN blocks, SN gets +7/+7 until end of turn.
timing=main
requires_groovy_code
oracle=Whenever Jareth, Leonine Titan blocks, it gets +7/+7 until end of turn. {W}: Jareth gains protection from the color of your choice until end of turn.

Script

[
    new MagicPermanentActivation(
        new MagicActivationHints(MagicTiming.Pump),
        "Protection"
    ) {
        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
            return [new MagicPayManaCostEvent(source,"{W}")];
        }
        @Override
        public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
            return new MagicEvent(
                source,
                MagicColorChoice.ALL_INSTANCE,
                this,
                "SN gains protection from the color\$ of your choice until end of turn."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicGainAbilityAction(
                event.getPermanent(),
                event.getChosenColor().getProtectionAbility()
            ));
        }
    }
]
Pushed