mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
Merge pull request #8344 from verifiedtm/deck-editor-sections
Add other deck sections for other formats
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user