Menu

Submission for Crowned Ceratok

51

Comment

code partially copied from Bramblewood_Paragon.groovy

Config

name=Crowned Ceratok
url=http://magiccards.info/ddl/en/51.html
image=http://mtgimage.com/card/Crowned%20Ceratok.jpg
value=3.341
rarity=U
type=Creature
subtype=Rhino
cost={3}{G}
pt=4/3
ability=trample
timing=main
requires_groovy_code

Script

[
    new MagicStatic(
        MagicLayer.Ability,
        MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL
    ) {
        @Override
        public void modAbilityFlags(final MagicPermanent source, final MagicPermanent permanent, final Set<MagicAbility> flags) {
            permanent.addAbility(MagicAbility.Trample, flags);
        }
        @Override
        public boolean condition(final MagicGame game, final MagicPermanent source, final MagicPermanent target) {
            return target.getCounters(MagicCounterType.PlusOne) > 0;
        }
    }

]
Pushed