mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Removed unnecessary code.
- Tweaked a comment a little bit.
This commit is contained in:
@@ -473,9 +473,6 @@ public final class CardUtil {
|
||||
|
||||
final List<Card> choicesCopy = Lists.newArrayList(choices);
|
||||
for (final Card c : choicesCopy) {
|
||||
if (c.getCMC() > tgt.getMaxTotalCMC(c, ability)) {
|
||||
choices.remove(c);
|
||||
}
|
||||
if (c.getCMC() > tgt.getMaxTotalCMC(c, ability) - totalCMCTargeted) {
|
||||
choices.remove(c);
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ public class TargetRestrictions {
|
||||
private String minTargets;
|
||||
private String maxTargets;
|
||||
|
||||
// What's the max CMC of targeted?
|
||||
// What's the max total CMC of targets?
|
||||
private String maxTotalCMC;
|
||||
|
||||
// For "Divided" cards. Is this better in TargetChoices?
|
||||
|
||||
Reference in New Issue
Block a user