Fix illegal targets

This commit is contained in:
tool4EvEr
2021-04-05 23:50:16 +02:00
parent e225b8a77c
commit 4a81ea0ee4

View File

@@ -128,7 +128,7 @@ public class DestroyAi extends SpellAbilityAi {
}
// Assume there where already enough targets chosen by AI Logic Above
if (!sa.canAddMoreTarget() && sa.isTargetNumberValid()) {
if (sa.hasParam("AILogic") && !sa.canAddMoreTarget() && sa.isTargetNumberValid()) {
return true;
}