mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed a logic error in the draft logic.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user