2013-03-14 06:36:14 -07:00
|
|
|
[
|
|
|
|
new MagicWhenOtherPutIntoGraveyardFromPlayTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {
|
|
|
|
return (otherPermanent.isCreature() &&
|
|
|
|
permanent.isTapped()) ?
|
|
|
|
new MagicEvent(
|
2011-10-01 06:41:42 -07:00
|
|
|
permanent,
|
|
|
|
this,
|
2012-09-16 23:29:08 -07:00
|
|
|
"Untap SN.") :
|
2011-10-01 06:41:42 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
2011-10-01 06:41:42 -07:00
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2012-09-02 00:04:32 -07:00
|
|
|
game.doAction(new MagicUntapAction(event.getPermanent()));
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
2013-03-14 06:36:14 -07:00
|
|
|
}
|
|
|
|
]
|