mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
spjspj - Modify Rich Man draft to be random
This commit is contained in:
parent
218fd088b8
commit
5ee4b5193e
2 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ public class RichManDraftEliminationTournamentType extends TournamentType {
|
|||
this.limited = true;
|
||||
this.cubeBooster = false;
|
||||
this.elimination = true;
|
||||
this.isRandom = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue