Menu

Submission for Day of Destiny

1

Config

name=Day of Destiny
url=http://magiccards.info/query?q=%21day%20of%20destiny
image=http://mtgimage.com/card/day%20of%20destiny.jpg
value=3.478
rarity=R
type=Legendary,Enchantment
cost={3}{W}
timing=main
requires_groovy_code

Script

def TARGET_LEGENDARY_CREATURE_YOU_CONTROL = new MagicPermanentFilterImpl() {
        public boolean accept(final MagicGame game,final MagicPlayer player,final MagicPermanent target) {
            return target.isController(player) &&
                   target.isCreature() &&
                   target.hasType(MagicType.Legendary);
        }
    };
[
    new MagicStatic(
        MagicLayer.ModPT,
        TARGET_LEGENDARY_CREATURE_YOU_CONTROL) {
        @Override
        public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
            pt.add(2,2);
        }
    }
]
Pushed