Make Planeswalkers poss commander for Tiny Leaders, cleanup Brawl commander syntax

Legendary Planeswalkers only

Clean up Commander syntax for TL and Brawl
This commit is contained in:
Tim Mocny
2020-03-12 16:00:03 +00:00
committed by Hans Mackowiak
parent fe09671795
commit 3be58fee75
5 changed files with 17 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ public final class CEditorConstructed extends CDeckEditor<Deck> {
case TinyLeaders:
allSections.add(DeckSection.Commander);
commanderFilter = CardRulesPredicates.Presets.CAN_BE_COMMANDER;
commanderFilter = CardRulesPredicates.Presets.CAN_BE_TINY_LEADERS_COMMANDER;
commanderPool = ItemPool.createFrom(FModel.getMagicDb().getCommonCards().getAllCards(Predicates.compose(commanderFilter, PaperCard.FN_GET_RULES)), PaperCard.class);
normalPool = ItemPool.createFrom(FModel.getMagicDb().getCommonCards().getAllCards(), PaperCard.class);