mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Remove unique targets check in getValidCardsToTarget(), it's already handled in canTarget
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user