Tribal instant gets its own section

This commit is contained in:
Rob Schnautz
2018-10-21 22:54:29 +00:00
parent df52202f65
commit b1d62d32ca

View File

@@ -107,7 +107,7 @@ public enum GroupDef {
} }
}), }),
CARD_TYPE("Type", CARD_TYPE("Type",
new String[] { "Planeswalker", "Creature", "Sorcery", "Instant", "Artifact", "Enchantment", "Land" }, new String[] { "Planeswalker", "Creature", "Sorcery", "Instant", "Artifact", "Enchantment", "Land", "Tribal instant" },
new Function<Integer, ColumnDef>() { new Function<Integer, ColumnDef>() {
@Override @Override
public ColumnDef apply(final Integer groupIndex) { public ColumnDef apply(final Integer groupIndex) {
@@ -131,6 +131,9 @@ public enum GroupDef {
if (type.isSorcery()) { if (type.isSorcery()) {
return 2; return 2;
} }
if (type.isTribal() && type.isInstant()) {
return 7;
}
if (type.isInstant()) { if (type.isInstant()) {
return 3; return 3;
} }