replace groovy code with ability in card script
parent
a74c9108b9
commit
3f342813c5
|
@ -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")));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue