Menu

Submission for Reverent Hunter

173

Config

name=Reverent Hunter
image=http://mtgimage.com/card/reverent%20hunter.jpg
value=2.500
rarity=R
type=Creature
subtype=Human,Archer
cost={2}{G}
pt=1/1
timing=main
requires_groovy_code
oracle=When Reverent Hunter enters the battlefield, put a number of +1/+1 counters on it equal to your devotion to green.

Script

[
    new MagicWhenComesIntoPlayTrigger(MagicTrigger.REPLACEMENT) {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPayedCost payedCost) {
            final int amount = permanent.getController().getDevotion(MagicColor.Green);
            game.doAction(MagicChangeCountersAction.Enters(permanent,MagicCounterType.PlusOne,amount));
            return MagicEvent.NONE;
        }
    }
]
Pushed