2013-03-14 06:36:57 -07:00
|
|
|
[
|
|
|
|
new MagicWhenLeavesPlayTrigger() {
|
2012-10-06 07:32:47 -07:00
|
|
|
@Override
|
2013-07-02 05:31:26 -07:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicRemoveFromPlayAction act) {
|
|
|
|
return act.isPermanent(permanent) ?
|
2012-10-06 07:36:40 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"PN puts a 3/3 green Beast creature token onto the battlefield."
|
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
2012-10-06 07:32:47 -07:00
|
|
|
}
|
|
|
|
@Override
|
2013-06-15 07:01:56 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2012-10-06 07:32:47 -07:00
|
|
|
game.doAction(new MagicPlayTokenAction(event.getPlayer(), TokenCardDefinitions.get("Beast3")));
|
|
|
|
}
|
2013-03-14 06:36:57 -07:00
|
|
|
}
|
|
|
|
]
|