removed Object[] data
parent
7bad5cec6a
commit
7fc68e3fa5
|
@ -31,7 +31,6 @@ public class Highland_Berserker {
|
||||||
MagicSimpleMayChoice.PUMP,
|
MagicSimpleMayChoice.PUMP,
|
||||||
1,
|
1,
|
||||||
MagicSimpleMayChoice.DEFAULT_YES),
|
MagicSimpleMayChoice.DEFAULT_YES),
|
||||||
new Object[]{player},
|
|
||||||
this,
|
this,
|
||||||
player + " may$ have Ally creatures he or " +
|
player + " may$ have Ally creatures he or " +
|
||||||
"she controls gain first strike until end of turn.") :
|
"she controls gain first strike until end of turn.") :
|
||||||
|
@ -46,7 +45,7 @@ public class Highland_Berserker {
|
||||||
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) {
|
||||||
final MagicPermanent creature = (MagicPermanent)target;
|
final MagicPermanent creature = (MagicPermanent)target;
|
||||||
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.FirstStrike));
|
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.FirstStrike));
|
||||||
|
|
Loading…
Reference in New Issue