replace groovy code with ability in card script

master
melvin 2013-10-22 20:11:16 +08:00
parent a74c9108b9
commit 3f342813c5
3 changed files with 3 additions and 19 deletions

View File

@ -1,16 +0,0 @@
[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
return new MagicEvent(
permanent,
this,
"PN puts a 5/5 green Wurm creature token with trample onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Wurm5")));
}
}
]

View File

@ -7,6 +7,6 @@ type=Creature
subtype=Wurm
cost={2}{G}{G}{W}{W}
pt=5/5
ability=trample
ability=trample;\
enters effect PN puts a 5/5 green Wurm creature token with trample onto the battlefield.
timing=main
requires_groovy_code

View File

@ -1,4 +1,4 @@
name=Wurm5
name=5/5 green Wurm creature token with trample
token=Wurm
image=http://magiccards.info/extras/token/return-to-ravnica/wurm.jpg
value=4