mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Formatting QuestEventDuelManager.
This commit is contained in:
@@ -116,7 +116,6 @@ public class QuestEventDuelManager {
|
|||||||
QuestEventDuel duel = new QuestEventDuel();
|
QuestEventDuel duel = new QuestEventDuel();
|
||||||
|
|
||||||
List<QuestEventDifficulty> difficultyOrder = getOrderForDifficulty(difficulty);
|
List<QuestEventDifficulty> difficultyOrder = getOrderForDifficulty(difficulty);
|
||||||
|
|
||||||
List<QuestEventDuel> possibleDuels = new ArrayList<>();
|
List<QuestEventDuel> possibleDuels = new ArrayList<>();
|
||||||
for (QuestEventDifficulty diff : difficultyOrder) {
|
for (QuestEventDifficulty diff : difficultyOrder) {
|
||||||
possibleDuels = new ArrayList<>(sortedDuels.get(diff));
|
possibleDuels = new ArrayList<>(sortedDuels.get(diff));
|
||||||
@@ -209,7 +208,8 @@ public class QuestEventDuelManager {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** */
|
/**
|
||||||
|
* */
|
||||||
public void randomizeOpponents() {
|
public void randomizeOpponents() {
|
||||||
final long seed = new Random().nextLong();
|
final long seed = new Random().nextLong();
|
||||||
final Random r = new Random(seed);
|
final Random r = new Random(seed);
|
||||||
|
|||||||
Reference in New Issue
Block a user