2013-04-12 19:58:51 -07:00
|
|
|
[
|
|
|
|
new MagicWhenDamageIsDealtTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {
|
|
|
|
return (damage.getTarget() == permanent && permanent.isTapped()) ?
|
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
2013-06-15 07:27:32 -07:00
|
|
|
"Untap SN."
|
|
|
|
) :
|
2013-04-12 19:58:51 -07:00
|
|
|
MagicEvent.NONE;
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-15 02:14:41 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
game.doAction(new MagicUntapAction(event.getPermanent()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|