Menu

Submission for Shaman of the Great Hunt

113

Config

name=Shaman of the Great Hunt
image=http://mtgimage.com/card/shaman%20of%20the%20great%20hunt.jpg
value=2.500
rarity=M
type=Creature
subtype=Orc,Shaman
cost={3}{R}
pt=4/2
ability=Haste
timing=main
requires_groovy_code
oracle=Haste. Whenever a creature you control deals combat damage to a player, put a +1/+1 counter on it. Ferocious — {2}{G/U}{G/U}: Draw a card for each creature you control with power 4 or greater.

Script

[
    new MagicWhenDamageIsDealtTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {
            final MagicSource source = damage.getSource();
            return (source.isCreature() && source.isFriend(permanent) &&
                    damage.isCombat() && damage.isTargetPlayer()) ?
                new MagicEvent(
                    source,
                    this,                            
                    "Put a +1/+1 counter on SN."
                ) :
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicChangeCountersAction(event.getPermanent(),MagicCounterType.PlusOne,1));        
        }
    },
    new MagicPermanentActivation(
        new MagicActivationHints(MagicTiming.Pump),
        "Draw"
    ) {
        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
            return [
                new MagicPayManaCostEvent(source,"{2}{G/U}{G/U}")
            ];
        }

        @Override
        public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
            return new MagicEvent(
                source,
                this,
                "PN draws a card for each creature you control with power 4 or greater."
            );
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicDrawAction(
                event.getPlayer(),
                event.getPlayer().getNrOfPermanents(MagicTargetFilterFactory.CREATURE_POWER_4_OR_MORE)
            ));
        }
    }
]
Pushed