mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Tribal instant gets its own section
This commit is contained in:
@@ -107,7 +107,7 @@ public enum GroupDef {
|
||||
}
|
||||
}),
|
||||
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>() {
|
||||
@Override
|
||||
public ColumnDef apply(final Integer groupIndex) {
|
||||
@@ -131,6 +131,9 @@ public enum GroupDef {
|
||||
if (type.isSorcery()) {
|
||||
return 2;
|
||||
}
|
||||
if (type.isTribal() && type.isInstant()) {
|
||||
return 7;
|
||||
}
|
||||
if (type.isInstant()) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user