mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix AI error
This commit is contained in:
@@ -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,10 +364,8 @@ public class CountersMoveAi extends SpellAbilityAi {
|
||||
}
|
||||
|
||||
final Card src = srcCards.get(0);
|
||||
if (cType != null) {
|
||||
if (src.getCounters(cType) <= 0) {
|
||||
return false;
|
||||
}
|
||||
if (cType != null && src.getCounters(cType) <= 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Card lki = CardUtil.getLKICopy(src);
|
||||
|
||||
Reference in New Issue
Block a user