removed Object[] data

master
melvin 2012-08-30 21:58:22 +08:00
parent 7720474a6e
commit 90f5fc588b
1 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,6 @@ public class Joraga_Bard {
MagicSimpleMayChoice.PUMP,
1,
MagicSimpleMayChoice.DEFAULT_YES),
new Object[]{player},
this,
player + " may$ have Ally creatures he or " +
"she controls gain vigilance until end of turn.") :
@ -46,7 +45,7 @@ public class Joraga_Bard {
final Object[] choiceResults) {
if (MagicMayChoice.isYesChoice(choiceResults[0])) {
final Collection<MagicTarget> targets =
game.filterTargets((MagicPlayer)data[0],MagicTargetFilter.TARGET_ALLY_YOU_CONTROL);
game.filterTargets(event.getPlayer(),MagicTargetFilter.TARGET_ALLY_YOU_CONTROL);
for (final MagicTarget target : targets) {
final MagicPermanent creature = (MagicPermanent)target;
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.Vigilance));