2013-05-17 20:53:43 -07:00
|
|
|
[
|
2013-07-09 05:41:40 -07:00
|
|
|
new MagicWhenOtherDiesTrigger() {
|
2013-04-12 19:32:25 -07:00
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {
|
|
|
|
return (permanent != otherPermanent &&
|
|
|
|
otherPermanent.isCreature() &&
|
|
|
|
otherPermanent.hasSubType(MagicSubType.Human)) ?
|
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
2013-06-15 07:27:32 -07:00
|
|
|
"Put a +1/+1 counter on SN."
|
|
|
|
):
|
2013-04-12 19:32:25 -07:00
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-06 23:51:50 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:32:25 -07:00
|
|
|
game.doAction(new MagicChangeCountersAction(
|
2013-05-17 20:53:43 -07:00
|
|
|
event.getPermanent(),
|
|
|
|
MagicCounterType.PlusOne,
|
|
|
|
1,
|
|
|
|
true
|
|
|
|
));
|
2013-04-12 19:32:25 -07:00
|
|
|
}
|
2013-05-17 20:53:43 -07:00
|
|
|
}
|
|
|
|
]
|