mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed capitalization mistake "setMaxNumberOftargets" -> "setMaxNumberOfTargets"
This commit is contained in:
parent
de92c50944
commit
7e5f873251
4 changed files with 4 additions and 4 deletions
|
@ -110,7 +110,7 @@ public class NecropolisFiend extends CardImpl {
|
||||||
ExileFromGraveCost exileCost = (ExileFromGraveCost) cost;
|
ExileFromGraveCost exileCost = (ExileFromGraveCost) cost;
|
||||||
for(Target target: exileCost.getTargets()) {
|
for(Target target: exileCost.getTargets()) {
|
||||||
if (target instanceof TargetCardInYourGraveyard) {
|
if (target instanceof TargetCardInYourGraveyard) {
|
||||||
target.setMaxNumberOftargets(xValue);
|
target.setMaxNumberOfTargets(xValue);
|
||||||
target.setMinNumberOfTargets(xValue);
|
target.setMinNumberOfTargets(xValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -455,7 +455,7 @@ public class Spell implements StackObject, Card {
|
||||||
((TargetAmount)tempTarget).setAmountDefinition(new StaticValue(target.getTargetAmount(targetId)));
|
((TargetAmount)tempTarget).setAmountDefinition(new StaticValue(target.getTargetAmount(targetId)));
|
||||||
}
|
}
|
||||||
tempTarget.setMinNumberOfTargets(1);
|
tempTarget.setMinNumberOfTargets(1);
|
||||||
tempTarget.setMaxNumberOftargets(1);
|
tempTarget.setMaxNumberOfTargets(1);
|
||||||
boolean again;
|
boolean again;
|
||||||
do {
|
do {
|
||||||
again = false;
|
again = false;
|
||||||
|
|
|
@ -88,7 +88,7 @@ public interface Target extends Serializable {
|
||||||
int getNumberOfTargets();
|
int getNumberOfTargets();
|
||||||
int getMaxNumberOfTargets();
|
int getMaxNumberOfTargets();
|
||||||
void setMinNumberOfTargets(int minNumberofTargets);
|
void setMinNumberOfTargets(int minNumberofTargets);
|
||||||
void setMaxNumberOftargets(int maxNumberofTargets);
|
void setMaxNumberOfTargets(int maxNumberofTargets);
|
||||||
|
|
||||||
List<UUID> getTargets();
|
List<UUID> getTargets();
|
||||||
Filter getFilter();
|
Filter getFilter();
|
||||||
|
|
|
@ -103,7 +103,7 @@ public abstract class TargetImpl implements Target {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setMaxNumberOftargets(int maxNumberOftargets) {
|
public void setMaxNumberOfTargets(int maxNumberOftargets) {
|
||||||
this.maxNumberOfTargets = maxNumberOftargets;
|
this.maxNumberOfTargets = maxNumberOftargets;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue