From 02c52d5d0665f3fe83294033d01d16a9c315d182 Mon Sep 17 00:00:00 2001 From: "marcin.sciesinski" Date: Mon, 23 Sep 2019 18:13:34 -0700 Subject: [PATCH] Reduced number of people needed for a tournament --- .../main/java/com/gempukku/lotro/hall/HallServer.java | 6 +++--- .../tournament/SingleEliminationOnDemandPrizes.java | 10 +++------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/hall/HallServer.java b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/hall/HallServer.java index f825a8d3c..6300365df 100644 --- a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/hall/HallServer.java +++ b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/hall/HallServer.java @@ -161,13 +161,13 @@ public class HallServer extends AbstractServer { }); _tournamentQueues.put("fotr_queue", new ImmediateRecurringQueue(1000, "fotr_block", - CollectionType.ALL_CARDS, "fotrQueue-", "Fellowship SitesBlock", 8, + CollectionType.ALL_CARDS, "fotrQueue-", "Fellowship SitesBlock", 4, true, tournamentService, _tournamentPrizeSchemeRegistry.getTournamentPrizes(cardSets, "onDemand"), _pairingMechanismRegistry.getPairingMechanism("singleElimination"))); _tournamentQueues.put("movie_queue", new ImmediateRecurringQueue(1000, "movie", - CollectionType.ALL_CARDS, "movieQueue-", "Movie SitesBlock", 8, + CollectionType.ALL_CARDS, "movieQueue-", "Movie SitesBlock", 4, true, tournamentService, _tournamentPrizeSchemeRegistry.getTournamentPrizes(cardSets, "onDemand"), _pairingMechanismRegistry.getPairingMechanism("singleElimination"))); _tournamentQueues.put("expanded_queue", new ImmediateRecurringQueue(1000, "expanded", - CollectionType.ALL_CARDS, "expandedQueue-", "Expanded", 8, + CollectionType.ALL_CARDS, "expandedQueue-", "Expanded", 4, true, tournamentService, _tournamentPrizeSchemeRegistry.getTournamentPrizes(cardSets, "onDemand"), _pairingMechanismRegistry.getPairingMechanism("singleElimination"))); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); diff --git a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SingleEliminationOnDemandPrizes.java b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SingleEliminationOnDemandPrizes.java index 8f70c6c27..851355489 100644 --- a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SingleEliminationOnDemandPrizes.java +++ b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SingleEliminationOnDemandPrizes.java @@ -25,15 +25,11 @@ public class SingleEliminationOnDemandPrizes implements TournamentPrizes{ @Override public CardCollection getPrizeForTournament(PlayerStanding playerStanding, int playersCount) { DefaultCardCollection tournamentPrize = new DefaultCardCollection(); - if (playerStanding.getPoints() == 6) { - tournamentPrize.addItem("(S)Booster Choice", 3); - tournamentPrize.addItem(getRandom(_promos), 1); - } else if (playerStanding.getPoints() == 5) { + if (playerStanding.getPoints() == 4) { tournamentPrize.addItem("(S)Booster Choice", 2); tournamentPrize.addItem(getRandom(_promos), 1); } else if (playerStanding.getPoints() == 3) { - tournamentPrize.addItem("(S)Booster Choice", 1); - tournamentPrize.addItem(getRandom(_promos), 1); + tournamentPrize.addItem("(S)Booster Choice", 2); } else { tournamentPrize.addItem("(S)Booster Choice", 1); } @@ -59,6 +55,6 @@ public class SingleEliminationOnDemandPrizes implements TournamentPrizes{ @Override public String getPrizeDescription() { - return "
(3+promo)-(2+promo)-(1+promo)-1
"; + return "
(2+promo)-2-1
"; } }