magarena/release/Magarena/scripts/Penumbra_Spider.groovy

20 lines
584 B
Groovy
Raw Normal View History

2013-03-13 07:13:54 -07:00
[
new MagicWhenDiesTrigger() {
2012-10-05 21:08:45 -07:00
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts a 2/4 black Spider creature token with reach onto the battlefield."
);
}
@Override
public void executeEvent(
final MagicGame game,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
2012-10-05 21:08:45 -07:00
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Spider2")));
}
2013-03-13 07:13:54 -07:00
}
]