Menu

Submission for Heightened Awareness

37

Config

name=Heightened Awareness
image=http://mtgimage.com/card/heightened%20awareness.jpg
value=2.500
rarity=R
type=Enchantment
cost={3}{U}{U}
ability=When SN enters the battlefield, discard your hand.
timing=enchantment
requires_groovy_code
oracle=As Heightened Awareness enters the battlefield, discard your hand. At the beginning of your draw step, draw an additional card.

Script

[
    new MagicAtDrawTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer upkeepPlayer) {
            return upkeepPlayer == permanent.getController() ?
                new MagicEvent(
                    permanent,
                    upkeepPlayer,
                    this,
                    "PN draws a card."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game,final MagicEvent event) {
            final MagicPlayer player = event.getPlayer();
            game.doAction(new MagicDrawAction(player));
        }
    }
]
Pushed