2013-04-12 19:58:51 -07:00
|
|
|
[
|
|
|
|
new MagicWhenOtherComesIntoPlayTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {
|
|
|
|
return (otherPermanent != permanent &&
|
|
|
|
otherPermanent.isArtifact()) ?
|
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"Put a +1/+1 counter on SN."
|
|
|
|
):
|
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
2013-06-23 18:29:26 -07:00
|
|
|
|
2013-04-12 19:58:51 -07:00
|
|
|
@Override
|
2013-06-15 06:13:32 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
game.doAction(new MagicChangeCountersAction(
|
|
|
|
event.getPermanent(),
|
|
|
|
MagicCounterType.PlusOne,
|
|
|
|
1,
|
|
|
|
true
|
|
|
|
));
|
2013-06-23 18:29:26 -07:00
|
|
|
}
|
2013-04-12 19:58:51 -07:00
|
|
|
}
|
|
|
|
]
|