removed Object[] data

master
melvin 2012-08-30 21:59:36 +08:00
parent 05626bec4e
commit dfe543c054
1 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,6 @@ public class Kazuul_Warlord {
MagicSimpleMayChoice.ADD_PLUSONE_COUNTER, MagicSimpleMayChoice.ADD_PLUSONE_COUNTER,
1, 1,
MagicSimpleMayChoice.DEFAULT_YES), MagicSimpleMayChoice.DEFAULT_YES),
new Object[]{player},
this, this,
player + " may$ put a +1/+1 counter on " + player + " may$ put a +1/+1 counter on " +
"each Ally creature he or she controls.") : "each Ally creature he or she controls.") :
@ -46,7 +45,7 @@ public class Kazuul_Warlord {
final Object[] choiceResults) { final Object[] choiceResults) {
if (MagicMayChoice.isYesChoice(choiceResults[0])) { if (MagicMayChoice.isYesChoice(choiceResults[0])) {
final Collection<MagicTarget> targets = 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) { for (final MagicTarget target : targets) {
game.doAction(new MagicChangeCountersAction( game.doAction(new MagicChangeCountersAction(
(MagicPermanent)target, (MagicPermanent)target,