- The AI will try not to tutor up a second copy of a tutor just used.

This commit is contained in:
jendave
2011-08-06 22:22:27 +00:00
parent 9d5a9aa23e
commit 4ee250b66a

View File

@@ -620,10 +620,15 @@ public class AbilityFactory_ChangeZone {
c = CardFactoryUtil.AI_getCheapestPermanent(fetchList, af.getHostCard(), false);
}
else{
//Don't fetch another tutor with the same name
if (origin.equals("Library") && !fetchList.getNotName(card.getName()).isEmpty())
fetchList = fetchList.getNotName(card.getName());
fetchList.shuffle();
c = fetchList.get(0);
}
fetched.add(c);
fetchList.remove(c);
}