2013-05-25 22:57:49 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
2013-02-26 20:46:36 -08:00
|
|
|
cardOnStack,
|
2013-06-18 21:18:16 -07:00
|
|
|
MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER,
|
2013-02-26 20:46:36 -08:00
|
|
|
new MagicDamageTargetPicker(2),
|
|
|
|
this,
|
2013-05-25 23:04:44 -07:00
|
|
|
"SN deals 2 damage to target creature or player\$. "+
|
2013-06-18 21:18:16 -07:00
|
|
|
"If SN was kicked, it deals 4 damage to that creature or player instead."
|
2013-02-26 20:46:36 -08:00
|
|
|
);
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
2013-05-25 22:57:49 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-03-21 06:35:09 -07:00
|
|
|
event.processTarget(game,new MagicTargetAction() {
|
2011-08-30 06:31:13 -07:00
|
|
|
public void doAction(final MagicTarget target) {
|
2013-03-22 19:37:42 -07:00
|
|
|
final int amount = event.isKicked() ? 4 : 2;
|
2013-03-02 01:18:30 -08:00
|
|
|
final MagicDamage damage=new MagicDamage(event.getSource(),target,amount);
|
2011-08-30 06:31:13 -07:00
|
|
|
game.doAction(new MagicDealDamageAction(damage));
|
|
|
|
}
|
2012-06-17 05:19:08 -07:00
|
|
|
});
|
|
|
|
}
|
2013-05-25 22:57:49 -07:00
|
|
|
}
|
|
|
|
]
|