magarena/release/Magarena/scripts/Fists_of_Ironwood.groovy

24 lines
754 B
Groovy
Raw Normal View History

2013-03-17 23:05:39 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
2012-06-17 05:19:08 -07:00
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
return new MagicEvent(
2012-09-21 20:14:46 -07:00
permanent,
this,
"PN puts two 1/1 green Saproling creature tokens onto the battlefield."
);
2012-06-17 05:19:08 -07:00
}
@Override
public void executeEvent(
2011-08-12 20:34:22 -07:00
final MagicGame game,
final MagicEvent event,
final Object[] choiceResults) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Saproling"),
2
));
2012-06-17 05:19:08 -07:00
}
2013-03-17 23:05:39 -07:00
}
]