Menu

Submission for

Comment

Playtested and working. Copy-pasted the groovy from Lost Order of Jarkeld and changed to artifacts. I was worried it would ask for a target player, which would differ from Avenger's text, but during playtest it doesn't ask for a target. Anyway, that doesn't make any practical difference since >2 players isn't yet supported.

Config

name=Gaea's Avenger
image=http://mtgimage.com/card/gaea%27s%20avenger.jpg
value=2.500
rarity=R
type=Creature
subtype=Treefolk
cost={1}{G}{G}
timing=main
requires_groovy_code
oracle=Gaea's Avenger's power and toughness are each equal to 1 plus the number of artifacts your opponents control.

Script

[
    new MagicCDA() {
        @Override
        public void modPowerToughness(final MagicGame game,final MagicPlayer player,final MagicPowerToughness pt) {
            final int amount = 1 + player.getOpponent().getNrOfPermanents(MagicType.Artifact);
            pt.set(amount,amount);
        }
    }
]
Pushed