- Remove unique targets check in getValidCardsToTarget(), it's already handled in canTarget

This commit is contained in:
swordshine
2014-03-12 04:17:31 +00:00
parent 7bdfeefb1d
commit 36d2134352

View File

@@ -152,14 +152,6 @@ public class TargetSelection {
} }
List<GameObject> targetedObjects = this.ability.getUniqueTargets(); List<GameObject> targetedObjects = this.ability.getUniqueTargets();
if (tgt.isUniqueTargets()) {
for (final Object o : targetedObjects) {
if ((o instanceof Card) && targetedObjects.contains(o)) {
choices.remove(o);
}
}
}
// Remove cards already targeted // Remove cards already targeted
final List<Card> targeted = Lists.newArrayList(ability.getTargets().getTargetCards()); final List<Card> targeted = Lists.newArrayList(ability.getTargets().getTargetCards());
for (final Card c : targeted) { for (final Card c : targeted) {