2013-08-23 23:46:28 -07:00
|
|
|
[
|
|
|
|
new MagicAtUpkeepTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer upkeepPlayer) {
|
|
|
|
return permanent.isController(upkeepPlayer) ?
|
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"PN puts a muster counter on SN. Then put a 1/1 red and white Soldier creature token with haste onto the battlefield for each muster counter on SN."
|
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
final MagicPermanent perm = event.getPermanent()
|
|
|
|
game.doAction(new MagicChangeCountersAction(
|
|
|
|
perm,
|
|
|
|
MagicCounterType.Charge,
|
|
|
|
1,
|
|
|
|
true
|
|
|
|
));
|
|
|
|
game.doAction(new MagicPlayTokensAction(
|
|
|
|
event.getPlayer(),
|
2013-10-23 20:47:43 -07:00
|
|
|
TokenCardDefinitions.get("1/1 red and white Soldier creature token with haste"),
|
2013-08-23 23:46:28 -07:00
|
|
|
perm.getCounters(MagicCounterType.Charge)
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|