mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Tribal instant gets its own section
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user