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; return false;
} else { } else {
// SA uses target for Defined // SA uses target for Defined
@@ -361,10 +364,8 @@ public class CountersMoveAi extends SpellAbilityAi {
} }
final Card src = srcCards.get(0); final Card src = srcCards.get(0);
if (cType != null) { if (cType != null && src.getCounters(cType) <= 0) {
if (src.getCounters(cType) <= 0) { return false;
return false;
}
} }
Card lki = CardUtil.getLKICopy(src); Card lki = CardUtil.getLKICopy(src);