spjspj - Modify Rich Man draft to be random

This commit is contained in:
spjspj 2016-05-15 18:50:59 +10:00
parent 218fd088b8
commit 5ee4b5193e
2 changed files with 2 additions and 1 deletions

View file

@ -44,6 +44,7 @@ public class RichManDraftEliminationTournamentType extends TournamentType {
this.limited = true;
this.cubeBooster = false;
this.elimination = true;
this.isRandom = true;
}
}

View file

@ -67,7 +67,7 @@ public class RichManBoosterDraft extends DraftImpl {
UUID nextId = table.getNext();
DraftPlayer next = players.get(nextId);
while (true) {
List<Card> nextBooster = sets.get(0).createBooster();
List<Card> nextBooster = sets.get(cardNum % sets.size()).createBooster();
next.setBooster(nextBooster);
if (nextId == startId) {
break;