- Fixed a logic error in the draft logic.

This commit is contained in:
Sloth
2014-10-21 12:18:25 +00:00
parent 7569e8697a
commit fa513fecd2

View File

@@ -99,7 +99,7 @@ public class BoosterDraftAI {
for(Pair<PaperCard, Double> p : rankedCards) {
double rating = p.getValue();
if( rating <= bestRanking + .01 ) {
if (rating == bestRanking) {
if (rating <= bestRanking) {
possiblePick.clear();
}
bestRanking = rating;