mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +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) {
|
switch (this.gameType) {
|
||||||
case Constructed:
|
case Constructed:
|
||||||
allSections.add(DeckSection.Avatar);
|
allSections.add(DeckSection.Avatar);
|
||||||
allSections.add(DeckSection.Schemes);
|
|
||||||
allSections.add(DeckSection.Planes);
|
|
||||||
allSections.add(DeckSection.Conspiracy);
|
allSections.add(DeckSection.Conspiracy);
|
||||||
allSections.add(DeckSection.Dungeon);
|
|
||||||
|
|
||||||
normalPool = FModel.getAllCardsNoAlt();
|
normalPool = FModel.getAllCardsNoAlt();
|
||||||
avatarPool = FModel.getAvatarPool();
|
avatarPool = FModel.getAvatarPool();
|
||||||
planePool = FModel.getPlanechaseCards();
|
|
||||||
schemePool = FModel.getArchenemyCards();
|
|
||||||
conspiracyPool = FModel.getConspiracyPool();
|
conspiracyPool = FModel.getConspiracyPool();
|
||||||
dungeonPool = FModel.getDungeonPool();
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case Commander:
|
case Commander:
|
||||||
@@ -130,6 +124,14 @@ public final class CEditorConstructed extends CDeckEditor<Deck> {
|
|||||||
default:
|
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);
|
allSections.add(DeckSection.Attractions);
|
||||||
attractionPool = FModel.getAttractionPool();
|
attractionPool = FModel.getAttractionPool();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user