replace groovy code with ability

master
melvin 2013-10-23 16:01:58 +08:00
parent 9fd048ab54
commit cd7c5a4c5d
2 changed files with 1 additions and 21 deletions

View File

@ -1,20 +0,0 @@
[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPayedCost payedCost) {
return new MagicEvent(
permanent,
this,
"PN puts two 1/1 green Saproling creature tokens onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("1/1 green Saproling creature token"),
2
));
}
}
]

View File

@ -6,7 +6,7 @@ rarity=C
type=Enchantment type=Enchantment
subtype=Aura subtype=Aura
cost={1}{G} cost={1}{G}
ability=enters effect PN puts two 1/1 green Saproling creature tokens onto the battlefield.
given_ability=trample given_ability=trample
timing=aura timing=aura
enchant=trample,pos creature enchant=trample,pos creature
requires_groovy_code