Fix AI error

This commit is contained in:
tool4EvEr
2022-04-26 11:05:00 +02:00
parent cf22f5c55c
commit 3faf43c65a

View File

@@ -349,6 +349,9 @@ public class CountersMoveAi extends SpellAbilityAi {
}
}
return false;
} else if (sa.getMaxTargets() == 2) {
// TODO
return false;
} else {
// SA uses target for Defined
@@ -361,11 +364,9 @@ public class CountersMoveAi extends SpellAbilityAi {
}
final Card src = srcCards.get(0);
if (cType != null) {
if (src.getCounters(cType) <= 0) {
if (cType != null && src.getCounters(cType) <= 0) {
return false;
}
}
Card lki = CardUtil.getLKICopy(src);
if (cType == null) {