magarena/release/Magarena/scripts/Penumbra_Wurm.groovy

18 lines
549 B
Groovy
Raw Normal View History

2013-03-13 07:13:31 -07:00
[
new MagicWhenDiesTrigger() {
2012-10-05 21:16:46 -07:00
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts a 6/6 black Wurm creature token with trample onto the battlefield."
);
}
@Override
2013-06-15 06:13:32 -07:00
public void executeEvent(final MagicGame game, final MagicEvent event) {
2012-10-05 21:16:46 -07:00
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Wurm6")));
}
2013-03-13 07:13:31 -07:00
}
]