removed Object[]

master
melvin 2012-08-30 20:44:23 +08:00
parent 071a4dd914
commit 68fd4ecca8
1 changed files with 2 additions and 4 deletions

View File

@ -42,7 +42,6 @@ public class Ghost_Council_of_Orzhova {
return new MagicEvent( return new MagicEvent(
source, source,
source.getController(), source.getController(),
new Object[]{source},
this, this,
"Exile " + source + ". Return it to the battlefield under its owner's control at end of turn."); "Exile " + source + ". Return it to the battlefield under its owner's control at end of turn.");
} }
@ -52,7 +51,7 @@ public class Ghost_Council_of_Orzhova {
final MagicEvent event, final MagicEvent event,
final Object[] data, final Object[] data,
final Object[] choiceResults) { final Object[] choiceResults) {
game.doAction(new MagicExileUntilEndOfTurnAction((MagicPermanent)data[0])); game.doAction(new MagicExileUntilEndOfTurnAction(event.getPermanent()));
} }
}; };
@ -64,7 +63,6 @@ public class Ghost_Council_of_Orzhova {
permanent, permanent,
player, player,
MagicTargetChoice.TARGET_OPPONENT, MagicTargetChoice.TARGET_OPPONENT,
new Object[]{player},
this, this,
"Target opponent$ loses 1 life and " + player + " gains 1 life."); "Target opponent$ loses 1 life and " + player + " gains 1 life.");
} }
@ -77,7 +75,7 @@ public class Ghost_Council_of_Orzhova {
event.processTargetPlayer(game,choiceResults,0,new MagicPlayerAction() { event.processTargetPlayer(game,choiceResults,0,new MagicPlayerAction() {
public void doAction(final MagicPlayer player) { public void doAction(final MagicPlayer player) {
game.doAction(new MagicChangeLifeAction(player,-1)); game.doAction(new MagicChangeLifeAction(player,-1));
game.doAction(new MagicChangeLifeAction((MagicPlayer)data[0],1)); game.doAction(new MagicChangeLifeAction(event.getPlayer(),1));
} }
}); });
} }