magarena/release/Magarena/scripts/Fists_of_Ironwood.groovy

21 lines
681 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
2013-06-19 07:23:35 -07:00
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPayedCost payedCost) {
2012-06-17 05:19:08 -07:00
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
2013-06-15 06:13:32 -07:00
public void executeEvent(final MagicGame game, final MagicEvent event) {
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
}
]