2013-05-28 02:35:14 -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-10-31 00:30:33 -07:00
|
|
|
return [new MagicTapEvent(source), new MagicPayManaCostEvent(source, "{2}{W}")];
|
2013-05-28 02:35:14 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
MagicTargetChoice.NEG_TARGET_ATTACKING_OR_BLOCKING_CREATURE,
|
|
|
|
new MagicDamageTargetPicker(3),
|
|
|
|
this,
|
|
|
|
"SN deals 3 damage to target attacking or blocking creature\$. " +
|
|
|
|
"SN doesn't untap during your next untap step."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@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,3);
|
|
|
|
game.doAction(new MagicDealDamageAction(damage));
|
2013-06-21 23:40:39 -07:00
|
|
|
game.doAction(MagicChangeStateAction.Set(
|
|
|
|
event.getPermanent(),
|
|
|
|
MagicPermanentState.DoesNotUntapDuringNext
|
|
|
|
));
|
2013-05-28 02:35:14 -07:00
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|