mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Merge branch 'historicLDA' into 'master'
Historic Archetype Random Deck Generation See merge request core-developers/forge!4488
This commit is contained in:
@@ -27,6 +27,7 @@ public final class CardArchetypeLDAGenerator {
|
||||
List<String> formatStrings = new ArrayList<>();
|
||||
formatStrings.add(FModel.getFormats().getStandard().getName());
|
||||
formatStrings.add(FModel.getFormats().getPioneer().getName());
|
||||
formatStrings.add(FModel.getFormats().getHistoric().getName());
|
||||
formatStrings.add(FModel.getFormats().getModern().getName());
|
||||
formatStrings.add("Legacy");
|
||||
formatStrings.add("Vintage");
|
||||
|
||||
@@ -22,6 +22,7 @@ public enum DeckType {
|
||||
COLOR_DECK("lblRandomColorDecks"),
|
||||
STANDARD_CARDGEN_DECK("lblRandomStandardArchetypeDecks"),
|
||||
PIONEER_CARDGEN_DECK("lblRandomPioneerArchetypeDecks"),
|
||||
HISTORIC_CARDGEN_DECK("lblRandomHistoricArchetypeDecks"),
|
||||
MODERN_CARDGEN_DECK("lblRandomModernArchetypeDecks"),
|
||||
LEGACY_CARDGEN_DECK("lblRandomLegacyArchetypeDecks"),
|
||||
VINTAGE_CARDGEN_DECK("lblRandomVintageArchetypeDecks"),
|
||||
@@ -50,6 +51,7 @@ public enum DeckType {
|
||||
DeckType.COLOR_DECK,
|
||||
DeckType.STANDARD_CARDGEN_DECK,
|
||||
DeckType.PIONEER_CARDGEN_DECK,
|
||||
DeckType.HISTORIC_CARDGEN_DECK,
|
||||
DeckType.MODERN_CARDGEN_DECK,
|
||||
DeckType.LEGACY_CARDGEN_DECK,
|
||||
DeckType.VINTAGE_CARDGEN_DECK,
|
||||
|
||||
@@ -106,6 +106,8 @@ public class RandomDeckGenerator extends DeckProxy implements Comparable<RandomD
|
||||
return DeckgenUtil.buildLDACArchetypeDeck(FModel.getFormats().getStandard(),isAi);
|
||||
case PIONEER_CARDGEN_DECK:
|
||||
return DeckgenUtil.buildLDACArchetypeDeck(FModel.getFormats().getPioneer(),isAi);
|
||||
case HISTORIC_CARDGEN_DECK:
|
||||
return DeckgenUtil.buildLDACArchetypeDeck(FModel.getFormats().getHistoric(),isAi);
|
||||
case MODERN_CARDGEN_DECK:
|
||||
return DeckgenUtil.buildLDACArchetypeDeck(FModel.getFormats().getModern(),isAi);
|
||||
case LEGACY_CARDGEN_DECK:
|
||||
|
||||
@@ -42,6 +42,9 @@ public class GauntletUtil {
|
||||
case PIONEER_CARDGEN_DECK:
|
||||
deck = DeckgenUtil.buildLDACArchetypeDeck(FModel.getFormats().getPioneer(),true);
|
||||
break;
|
||||
case HISTORIC_CARDGEN_DECK:
|
||||
deck = DeckgenUtil.buildLDACArchetypeDeck(FModel.getFormats().getHistoric(),true);
|
||||
break;
|
||||
case MODERN_CARDGEN_DECK:
|
||||
deck = DeckgenUtil.buildLDACArchetypeDeck(FModel.getFormats().getModern(),true);
|
||||
break;
|
||||
|
||||
@@ -39,6 +39,9 @@ public class TournamentUtil {
|
||||
case PIONEER_CARDGEN_DECK:
|
||||
deck = DeckgenUtil.buildCardGenDeck(FModel.getFormats().getPioneer(),true);
|
||||
break;
|
||||
case HISTORIC_CARDGEN_DECK:
|
||||
deck = DeckgenUtil.buildCardGenDeck(FModel.getFormats().getHistoric(),true);
|
||||
break;
|
||||
case MODERN_CARDGEN_DECK:
|
||||
deck = DeckgenUtil.buildCardGenDeck(FModel.getFormats().getModern(),true);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user