2013-05-26 05:08:46 -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 21:11:03 -07:00
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"PN puts two 2/2 black Zombie creature tokens onto the battlefield."
|
|
|
|
);
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
2013-05-26 05:08:46 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2012-10-31 08:47:39 -07:00
|
|
|
game.doAction(new MagicPlayTokensAction(
|
2012-10-06 00:25:23 -07:00
|
|
|
event.getPlayer(),
|
2012-10-31 08:47:39 -07:00
|
|
|
TokenCardDefinitions.get("Zombie"),
|
|
|
|
2
|
2012-10-06 00:25:23 -07:00
|
|
|
));
|
2013-06-23 18:29:26 -07:00
|
|
|
}
|
2013-05-26 05:08:46 -07:00
|
|
|
},
|
|
|
|
new MagicWhenAttacksTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent creature) {
|
|
|
|
return (permanent==creature) ?
|
2011-08-13 08:52:26 -07:00
|
|
|
new MagicEvent(
|
2012-09-21 21:11:03 -07:00
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"PN puts two 2/2 black Zombie creature tokens onto the battlefield."
|
|
|
|
):
|
2011-09-04 01:19:43 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
2013-05-26 05:08:46 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2012-10-31 08:47:39 -07:00
|
|
|
game.doAction(new MagicPlayTokensAction(
|
2012-10-06 00:25:23 -07:00
|
|
|
event.getPlayer(),
|
2012-10-31 08:47:39 -07:00
|
|
|
TokenCardDefinitions.get("Zombie"),
|
|
|
|
2
|
2012-10-06 00:25:23 -07:00
|
|
|
));
|
2013-06-23 18:29:26 -07:00
|
|
|
}
|
2013-05-26 05:08:46 -07:00
|
|
|
}
|
|
|
|
]
|