replace groovy code with ability in card script
parent
daa24f57a8
commit
94e8a8c9ef
|
@ -1,4 +1,4 @@
|
|||
name=Drake
|
||||
name=2/2 blue Drake creature token with flying
|
||||
token=Drake
|
||||
image=http://magiccards.info/extras/token/magic-2013/drake.jpg
|
||||
value=2
|
||||
|
|
|
@ -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
|
||||
));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -5,5 +5,5 @@ value=3.836
|
|||
rarity=U
|
||||
type=Sorcery
|
||||
cost={2}{U}{U}
|
||||
effect=PN puts two 2/2 blue Drake creature tokens with flying onto the battlefield.
|
||||
timing=token
|
||||
requires_groovy_code
|
||||
|
|
Loading…
Reference in New Issue