mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- For triggers with no Valid Target Candidates, just cancel them instead of asking for targets.
This commit is contained in:
@@ -213,6 +213,13 @@ public class TargetSelection {
|
||||
return this.subSelection.chooseTargets();
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.target.hasCandidates(this.ability, true)) {
|
||||
// Cancel ability if there aren't any valid Candidates
|
||||
this.bCancel = true;
|
||||
this.req.finishedTargeting();
|
||||
return false;
|
||||
}
|
||||
|
||||
this.chooseValidInput();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user