2013-05-27 07:50:28 -07:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
new MagicActivationHints(MagicTiming.Removal),
|
|
|
|
"Damage"
|
|
|
|
) {
|
|
|
|
@Override
|
2013-08-30 21:00:50 -07:00
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
2013-05-27 07:50:28 -07:00
|
|
|
return [new MagicPayManaCostTapEvent(source,"{1}")];
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
MagicTargetChoice.NEG_TARGET_CREATURE,
|
2013-06-22 01:49:43 -07:00
|
|
|
new MagicDamageTargetPicker(1),
|
2013-05-27 07:50:28 -07:00
|
|
|
this,
|
|
|
|
"SN deals 1 damage to target creature\$. Tap that creature."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
event.processTargetPermanent(game,new MagicPermanentAction() {
|
|
|
|
public void doAction(final MagicPermanent creature) {
|
|
|
|
final MagicDamage damage=new MagicDamage(event.getPermanent(),creature,1);
|
|
|
|
game.doAction(new MagicDealDamageAction(damage));
|
|
|
|
game.doAction(new MagicTapAction(creature,true));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|