- Removed unnecessary code.

- Tweaked a comment a little bit.
This commit is contained in:
Agetian
2015-09-22 08:14:52 +00:00
parent 7227142f54
commit e49f694eb3
2 changed files with 1 additions and 4 deletions

View File

@@ -473,9 +473,6 @@ public final class CardUtil {
final List<Card> choicesCopy = Lists.newArrayList(choices); final List<Card> choicesCopy = Lists.newArrayList(choices);
for (final Card c : choicesCopy) { for (final Card c : choicesCopy) {
if (c.getCMC() > tgt.getMaxTotalCMC(c, ability)) {
choices.remove(c);
}
if (c.getCMC() > tgt.getMaxTotalCMC(c, ability) - totalCMCTargeted) { if (c.getCMC() > tgt.getMaxTotalCMC(c, ability) - totalCMCTargeted) {
choices.remove(c); choices.remove(c);
} }

View File

@@ -70,7 +70,7 @@ public class TargetRestrictions {
private String minTargets; private String minTargets;
private String maxTargets; private String maxTargets;
// What's the max CMC of targeted? // What's the max total CMC of targets?
private String maxTotalCMC; private String maxTotalCMC;
// For "Divided" cards. Is this better in TargetChoices? // For "Divided" cards. Is this better in TargetChoices?