2013-03-13 22:29:17 -07:00
|
|
|
[
|
|
|
|
new MagicWhenBecomesTappedTrigger() {
|
2013-01-29 00:15:58 -08:00
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent tapped) {
|
|
|
|
return (permanent==tapped) ?
|
2012-09-22 22:52:37 -07:00
|
|
|
new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
2012-10-27 01:44:56 -07:00
|
|
|
"SN deals 1 damage to PN."
|
2012-09-22 22:52:37 -07:00
|
|
|
) :
|
|
|
|
MagicEvent.NONE;
|
2013-01-29 00:15:58 -08:00
|
|
|
}
|
2013-06-15 06:13:32 -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);
|
2013-01-29 00:15:58 -08:00
|
|
|
game.doAction(new MagicDealDamageAction(damage));
|
|
|
|
}
|
2013-03-13 22:29:17 -07:00
|
|
|
}
|
|
|
|
]
|