mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- For triggers with no Valid Target Candidates, just cancel them instead of asking for targets.
This commit is contained in:
@@ -214,6 +214,13 @@ public class TargetSelection {
|
||||
}
|
||||
}
|
||||
|
||||
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();
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user