simplify groovy script

master
melvin 2013-10-14 11:03:32 +08:00
parent 4bfa30d6e2
commit 5604deb149
2 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,7 @@
new MagicDestroyTargetPicker(false),
this,
"Destroy target nonblack creature\$. " +
"Put a 1/1 Put a 1/1 black Faerie Rogue creature token with flying onto the battlefield"
"PN puts a 1/1 black Faerie Rogue creature token with flying onto the battlefield"
);
}
@Override
@ -16,10 +16,9 @@
event.processTargetPermanent(game,new MagicPermanentAction() {
public void doAction(final MagicPermanent creature) {
game.doAction(new MagicDestroyAction(creature));
game.doAction(new MagicPlayTokensAction(
game.doAction(new MagicPlayTokenAction(
event.getPlayer(),
TokenCardDefinitions.get("Faerie Rogue"),
1
TokenCardDefinitions.get("Faerie Rogue")
));
}
});

View File

@ -3,9 +3,9 @@ url=http://magiccards.info/mt/en/81.html
image=http://magiccards.info/scans/en/mt/81.jpg
value=2.750
rarity=C
removal=3
type=Tribal,Instant
subtype=Faerie
cost={4}{B}
timing=removal
removal=3
requires_groovy_code