mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- The AI will try not to tutor up a second copy of a tutor just used.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user