Menu

Submission for Pit Scorpion

49

Config

name=Pit Scorpion
image=http://mtgimage.com/card/pit%20scorpion.jpg
value=2.500
rarity=C
type=Creature
subtype=Scorpion
cost={2}{B}
pt=1/1
timing=main
requires_groovy_code
oracle=Whenever Pit Scorpion deals damage to a player, that player gets a poison counter.

Script

[
    new MagicWhenSelfCombatDamagePlayerTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {
            return new MagicEvent(
                permanent,
                damage.getTargetPlayer(),
                    this,
                    "PN gets a poison counter."
                );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicChangePoisonAction(event.getPlayer(),1));
        }
    }
]
Pushed