replace groovy code with ability in card script

master
melvin 2013-10-22 21:37:43 +08:00
parent daa24f57a8
commit 94e8a8c9ef
3 changed files with 2 additions and 22 deletions

View File

@ -1,4 +1,4 @@
name=Drake name=2/2 blue Drake creature token with flying
token=Drake token=Drake
image=http://magiccards.info/extras/token/magic-2013/drake.jpg image=http://magiccards.info/extras/token/magic-2013/drake.jpg
value=2 value=2

View File

@ -1,20 +0,0 @@
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN puts two 2/2 blue Drake creature tokens with flying onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Drake"),
2
));
}
}
]

View File

@ -5,5 +5,5 @@ value=3.836
rarity=U rarity=U
type=Sorcery type=Sorcery
cost={2}{U}{U} cost={2}{U}{U}
effect=PN puts two 2/2 blue Drake creature tokens with flying onto the battlefield.
timing=token timing=token
requires_groovy_code