mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Don't prompt user for mandatory targeting of minTargets = 0 with no legal targets.
This commit is contained in:
@@ -93,6 +93,10 @@ public class TargetSelection {
|
||||
// Cancel ability if there aren't any valid Candidates
|
||||
return false;
|
||||
}
|
||||
if (tgt.getMandatory() && !hasCandidates && hasEnoughTargets) {
|
||||
// Mandatory target selection, that has no candidates but enough targets (Min == 0, but no choices)
|
||||
return true;
|
||||
}
|
||||
|
||||
final List<ZoneType> zone = tgt.getZone();
|
||||
final boolean mandatory = tgt.getMandatory() && hasCandidates;
|
||||
|
||||
Reference in New Issue
Block a user