removed player from Object[] data

master
melvin 2012-08-31 11:42:25 +08:00
parent 25307792c8
commit a5845d760c
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ public class Angelic_Chorus {
new MagicEvent(
permanent,
player,
new Object[]{player,otherPermanent},
new Object[]{otherPermanent},
this,
player + " gains life equal to the toughness of " + otherPermanent + ".") :
MagicEvent.NONE;
@ -30,8 +30,8 @@ public class Angelic_Chorus {
final Object data[],
final Object[] choiceResults) {
// get toughness here so counters on the creature are considered
final int toughness = ((MagicPermanent)data[1]).getToughness();
game.doAction(new MagicChangeLifeAction((MagicPlayer)data[0],toughness));
final int toughness = ((MagicPermanent)data[0]).getToughness();
game.doAction(new MagicChangeLifeAction(event.getPlayer(),toughness));
}
};
}