Menu

Submission for Meishin, the Mind Cage

44

Config

 name=Meishin, the Mind Cage
url=http://magiccards.info/query?q=%21meishin%2C%20the%20mind%20cage
image=http://mtgimage.com/card/meishin%2C%20the%20mind%20cage.jpg
value=3.033
rarity=R
type=Legendary,Enchantment
cost={4}{U}{U}{U}
timing=main
requires_groovy_code

Script

def TARGET_CREATURE = new MagicPermanentFilterImpl() {
        public boolean accept(final MagicGame game,final MagicPlayer player,final MagicPermanent target) {
            return target.isCreature();
        }
    };
[
    new MagicStatic(
        MagicLayer.ModPT,
        TARGET_CREATURE) {
        @Override
        public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
            int X = 0 - permanent.getController().getHandSize();
            pt.add(X,0);
        }
    }
]
Pushed