Menu

Submission for Taste for Mayhem

75

Config

name=Taste for Mayhem
image=http://mtgimage.com/card/taste%20for%20mayhem.jpg
value=2.500
rarity=C
type=Enchantment
subtype=Aura
cost={R}
timing=aura
enchant=pump,pos creature
requires_groovy_code
oracle=Enchant creature. Enchanted creature gets +2/+0. Hellbent — Enchanted creature gets an additional +2/+0 as long as you have no cards in hand.

Script

[
    new MagicStatic(MagicLayer.ModPT) {
        @Override
        public void modPowerToughness(final MagicPermanent source, final MagicPermanent permanent, final MagicPowerToughness pt) {
            if (MagicCondition.HELLBENT.accept(source)) {
                pt.add(4, 0);
            } else {
                pt.add(2, 0);
            }
        }
        @Override
        public boolean accept(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return MagicStatic.acceptLinked(game, source, target);
        }
    }
]
Pushed