mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +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)));
|
opps = Lists.newArrayList(Iterables.filter(opps, PlayerPredicates.isTargetableBy(sa)));
|
||||||
|
|
||||||
if (opps.isEmpty()) {
|
if (opps.isEmpty()) {
|
||||||
|
if (mandatory && sa.canTarget(ai)) {
|
||||||
|
sa.getTargets().add(ai);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user