Menu

Submission for Overbeing of Myth

157

Config

name=Overbeing of Myth
url=http://magiccards.info/eve/en/157.html
image=http://magiccards.info/scans/en/eve/157.jpg
value=4.138
rarity=R
type=Creature
subtype=Avatar,Spirit
cost={G/U}{G/U}{G/U}{G/U}{G/U}
timing=main
requires_groovy_code

Script

[
    new MagicCDA() {
        @Override
        public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
            final int amount = player.getHandSize();
            pt.set(amount,amount);
        }
    },
	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