magarena/release/Magarena/scripts/Deranged_Hermit.groovy

21 lines
680 B
Groovy
Raw Normal View History

2013-05-18 19:51:13 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
@Override
2013-06-19 07:23:35 -07:00
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPayedCost payedCost) {
2013-05-18 19:51:13 -07:00
return new MagicEvent(
permanent,
this,
"PN puts four 1/1 green Squirrel creature tokens onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Squirrel1"),
4
));
2013-06-23 18:29:26 -07:00
}
2013-05-18 19:51:13 -07:00
}
]