mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- A little precautionary measure for the possible future cards / custom cards utilizing AF Clash.
This commit is contained in:
@@ -99,6 +99,8 @@ public class ClashAi extends SpellAbilityAi {
|
|||||||
if (tgt != null) {
|
if (tgt != null) {
|
||||||
sa.resetTargets();
|
sa.resetTargets();
|
||||||
sa.getTargets().add(tgt);
|
sa.getTargets().add(tgt);
|
||||||
|
} else {
|
||||||
|
return false; // cut short if this part of the clause is not satisfiable (with current card pool should never get here)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user