magarena/release/Magarena/scripts/Ooze2.groovy

20 lines
576 B
Groovy
Raw Normal View History

2013-02-12 20:54:38 -08:00
[
new MagicWhenDiesTrigger() {
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
permanent,
this,
"PN puts two 1/1 green Ooze creature tokens onto the battlefield."
);
}
@Override
public void executeEvent(
final MagicGame game,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
2013-02-12 20:54:38 -08:00
game.doAction(new MagicPlayTokensAction(event.getPlayer(), TokenCardDefinitions.get("Ooze1"), 2));
}
}
]