- Adding DGM to RTR block info (except for DGM Maze Run)

- DGM Lands will no longer appear in the Common slot
This commit is contained in:
Sol
2013-05-03 22:27:41 +00:00
parent e28f19b83d
commit 9c8bda3671
3 changed files with 8 additions and 5 deletions

View File

@@ -168,6 +168,9 @@ public class BoosterGenerator {
operator = StringUtils.strip(operator.substring(4), "() ");
String[] cardNames = TextUtil.splitWithParenthesis(operator, ',', '"', '"');
toAdd = IPaperCard.Predicates.names(Lists.newArrayList(cardNames));
} else if ( operator.startsWith("type(") ) {
operator = StringUtils.strip(operator.substring(4), "()\" ");
toAdd = Predicates.compose(CardRulesPredicates.coreType(true, operator), CardPrinted.FN_GET_RULES);
}
if(toAdd == null)