2013-05-18 19:43:21 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER,
|
|
|
|
new MagicDamageTargetPicker(3,true),
|
|
|
|
this,
|
|
|
|
"SN deals 3 damage to target creature or player\$. " +
|
|
|
|
"A creature dealt damage this way can't be regenerated this turn."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-15 03:02:45 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-05-18 19:43:21 -07:00
|
|
|
event.processTarget(game,new MagicTargetAction() {
|
|
|
|
public void doAction(final MagicTarget target) {
|
|
|
|
final MagicDamage damage=new MagicDamage(event.getSource(),target,3);
|
|
|
|
damage.setNoRegeneration();
|
|
|
|
game.doAction(new MagicDealDamageAction(damage));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|