2013-03-18 02:51:00 -07:00
|
|
|
[
|
|
|
|
new MagicAtUpkeepTrigger() {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2012-09-16 21:01:11 -07:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer upkeepPlayer) {
|
2013-06-05 22:57:29 -07:00
|
|
|
return permanent.isController(upkeepPlayer) ?
|
2011-08-13 02:36:19 -07:00
|
|
|
new MagicEvent(
|
2013-06-05 22:57:29 -07:00
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"SN deals 1 damage to PN."
|
|
|
|
) :
|
2011-09-04 01:19:43 -07:00
|
|
|
MagicEvent.NONE;
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
2013-06-05 22:57:29 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-03-02 01:18:30 -08:00
|
|
|
final MagicDamage damage=new MagicDamage(event.getSource(),event.getPlayer(),1);
|
2012-06-17 05:19:08 -07:00
|
|
|
game.doAction(new MagicDealDamageAction(damage));
|
|
|
|
}
|
2013-03-18 02:51:00 -07:00
|
|
|
}
|
|
|
|
]
|