Menu

Submission for Damia, Sage of Stone

191

Comment

i tried to look for the "skip draw phase" ability from firemind.ch search tab, but the page shows this message "We're sorry, but something went wrong. If you are the application owner check the logs for more information." i will try to complete this ability, when i got a reference how to script this ability. :)

Config

name=Damia, Sage of Stone
url=http://magiccards.info/cmd/en/191.html
image=http://magiccards.info/scans/en/cmd/191.jpg
value=4.021
rarity=M
type=Legendary,Creature
subtype=Gorgon,Wizard
cost={4}{G}{U}{B}
pt=4/4
ability=Deadtouch
timing=fmain

Script

[
    new MagicAtUpkeepTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer upkeepPlayer) {
            return (permanent.getController() == upkeepPlayer && permanent.getController().getHandSize()<7) ? new MagicEvent(
                permanent,
                permanent.getController(),
                this,
                "if PN have fewer than seven cards in hand, draw cards equal to the difference."
            ):
            MagicEvent.NONE
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
			final MagicPlayer player = event.getPlayer();
			final int amount = 7 - player.getHandSize() ;            
            game.doAction(new MagicDrawAction(event.getPlayer(),amount));
        }
    }
]
Pushed