Menu

Submission for Gravelgill Duo

165

Config

name=Gravelgill Duo
url=http://magiccards.info/shm/en/165.html
image=http://magiccards.info/scans/en/shm/165.jpg
value=2.944
rarity=C
type=Creature
subtype=Merfolk,Rogue,Warrior
cost={2}{U/B}
pt=2/1
timing=main
requires_groovy_code

Script

[
    new MagicWhenOtherSpellIsCastTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicCardOnStack cardOnStack) {
            return (permanent.isFriend(cardOnStack) &&
                    cardOnStack.hasColor(MagicColor.Blue)) ?
                new MagicEvent(
                    permanent,
                    this,
                    "SN gets +1/+1 until the end of turn."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),1,1));
        }
    },
    new MagicWhenOtherSpellIsCastTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicCardOnStack cardOnStack) {
            return (permanent.isFriend(cardOnStack) &&
                    cardOnStack.hasColor(MagicColor.Black)) ?
                new MagicEvent(
                    permanent,
                    this,
                    "SN gains fear until the end of turn."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new MagicGainAbilityAction(event.getPermanent(), MagicAbility.Fear));
        }
    }
]
Pushed