- Improved last fixed for BoosterDraftAI.

This commit is contained in:
Sloth
2014-10-21 12:53:39 +00:00
parent fa513fecd2
commit a6e593d42b

View File

@@ -99,10 +99,11 @@ public class BoosterDraftAI {
for(Pair<PaperCard, Double> p : rankedCards) {
double rating = p.getValue();
if(rating <= bestRanking + .01) {
if (rating <= bestRanking) {
if (rating < bestRanking) {
// found a better card start a new list
possiblePick.clear();
}
bestRanking = rating;
}
possiblePick.add(p.getKey());
}
}