2013-03-31 22:41:38 -07:00
|
|
|
[
|
|
|
|
new MagicWhenComesIntoPlayTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
|
|
|
|
return new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
player,
|
|
|
|
MagicTargetChoice.TARGET_OPPONENT,
|
|
|
|
this,
|
2013-04-01 07:28:22 -07:00
|
|
|
"Target opponent\$ loses 3 life."
|
2013-03-31 22:41:38 -07:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
event.processTargetPlayer(game,new MagicPlayerAction() {
|
|
|
|
public void doAction(final MagicPlayer player) {
|
|
|
|
game.doAction(new MagicChangeLifeAction(player,-3));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|