2013-05-17 20:50:42 -07:00
|
|
|
[
|
|
|
|
new MagicWhenOtherComesIntoPlayTrigger() {
|
2013-04-12 19:32:25 -07:00
|
|
|
@Override
|
2013-05-17 20:50:42 -07:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPermanent otherPermanent) {
|
2013-04-12 19:32:25 -07:00
|
|
|
return (permanent.isUntapped() &&
|
|
|
|
otherPermanent.isNonToken() &&
|
|
|
|
otherPermanent.isCreature()) ?
|
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
otherPermanent.getController(),
|
|
|
|
this,
|
|
|
|
"PN puts a 1/1 colorless Myr artifact creature token onto the battlefield."
|
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
2013-06-23 18:29:26 -07:00
|
|
|
|
2013-04-12 19:32:25 -07:00
|
|
|
@Override
|
2013-06-15 03:20:38 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-10-21 06:07:43 -07:00
|
|
|
game.doAction(new MagicPlayTokenAction(
|
|
|
|
event.getPlayer(),
|
|
|
|
TokenCardDefinitions.get("1/1 colorless Myr artifact creature token")
|
|
|
|
));
|
2013-04-12 19:32:25 -07:00
|
|
|
}
|
2013-05-17 20:50:42 -07:00
|
|
|
}
|
|
|
|
]
|