2013-05-17 21:03:41 -07:00
|
|
|
[
|
|
|
|
new MagicAtUpkeepTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer upkeepPlayer) {
|
|
|
|
return (permanent.isController(upkeepPlayer) &&
|
2013-07-14 04:50:06 -07:00
|
|
|
upkeepPlayer.getNrOfPermanents(MagicType.Land) >= 5) ?
|
2013-05-17 21:03:41 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"Put four +1/+1 counters on SN."
|
|
|
|
) :
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
game.doAction(new MagicChangeCountersAction(
|
|
|
|
event.getPermanent(),
|
|
|
|
MagicCounterType.PlusOne,
|
|
|
|
4,
|
|
|
|
true
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|