removed Object[] data

master
melvin 2012-08-30 21:55:07 +08:00
parent 10df8af4f9
commit 1b73b731eb
1 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,6 @@ public class Hagra_Diabolist {
player + " may have target player lose life " +
"equal to the number of Allies he or she controls.",
MagicTargetChoice.NEG_TARGET_PLAYER),
new Object[]{player},
this,
player + " may$ have target player$ lose life " +
"equal to the number of Allies he or she controls.") :
@ -41,7 +40,7 @@ public class Hagra_Diabolist {
if (MagicMayChoice.isYesChoice(choiceResults[0])) {
event.processTargetPlayer(game,choiceResults,1,new MagicPlayerAction() {
public void doAction(final MagicPlayer targetPlayer) {
final MagicPlayer player = (MagicPlayer)data[0];
final MagicPlayer player = event.getPlayer();
final int amount =
player.getNrOfPermanentsWithSubType(MagicSubType.Ally);
if (amount > 0) {