2013-05-18 03:37:57 -07:00
|
|
|
[
|
2013-06-30 03:29:46 -07:00
|
|
|
new MagicWhenDiesTrigger() {
|
2013-05-18 03:37:57 -07:00
|
|
|
@Override
|
2013-06-30 03:29:46 -07:00
|
|
|
public MagicEvent getEvent(final MagicPermanent permanent) {
|
|
|
|
return permanent.getCounters(MagicCounterType.Charge) == 0 ?
|
2013-05-18 03:37:57 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"PN puts a 6/1 green Insect creature token " +
|
|
|
|
"with shroud onto the battlefield."
|
|
|
|
) :
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
game.doAction(new MagicPlayTokenAction(
|
|
|
|
event.getPlayer(),
|
|
|
|
TokenCardDefinitions.get("Insect2")
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|