mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48: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) {
|
for(Pair<PaperCard, Double> p : rankedCards) {
|
||||||
double rating = p.getValue();
|
double rating = p.getValue();
|
||||||
if( rating <= bestRanking + .01 ) {
|
if( rating <= bestRanking + .01 ) {
|
||||||
if (rating == bestRanking) {
|
if (rating <= bestRanking) {
|
||||||
possiblePick.clear();
|
possiblePick.clear();
|
||||||
}
|
}
|
||||||
bestRanking = rating;
|
bestRanking = rating;
|
||||||
|
|||||||
Reference in New Issue
Block a user