Merge pull request #8344 from verifiedtm/deck-editor-sections

Add other deck sections for other formats
This commit is contained in:
Jetz72
2025-08-22 07:56:55 -05:00
committed by GitHub

View File

@@ -82,17 +82,11 @@ public final class CEditorConstructed extends CDeckEditor<Deck> {
switch (this.gameType) {
case Constructed:
allSections.add(DeckSection.Avatar);
allSections.add(DeckSection.Schemes);
allSections.add(DeckSection.Planes);
allSections.add(DeckSection.Conspiracy);
allSections.add(DeckSection.Dungeon);
normalPool = FModel.getAllCardsNoAlt();
avatarPool = FModel.getAvatarPool();
planePool = FModel.getPlanechaseCards();
schemePool = FModel.getArchenemyCards();
conspiracyPool = FModel.getConspiracyPool();
dungeonPool = FModel.getDungeonPool();
break;
case Commander:
@@ -130,6 +124,14 @@ public final class CEditorConstructed extends CDeckEditor<Deck> {
default:
}
allSections.add(DeckSection.Planes);
allSections.add(DeckSection.Schemes);
allSections.add(DeckSection.Dungeon);
planePool = FModel.getPlanechaseCards();
schemePool = FModel.getArchenemyCards();
dungeonPool = FModel.getDungeonPool();
allSections.add(DeckSection.Attractions);
attractionPool = FModel.getAttractionPool();