mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
RevealAi: fix missing trigger
This commit is contained in:
@@ -24,6 +24,10 @@ public abstract class RevealAiBase extends SpellAbilityAi {
|
||||
opps = Lists.newArrayList(Iterables.filter(opps, PlayerPredicates.isTargetableBy(sa)));
|
||||
|
||||
if (opps.isEmpty()) {
|
||||
if (mandatory && sa.canTarget(ai)) {
|
||||
sa.getTargets().add(ai);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user