Added Crow race. Added "ringbearer" filter with no spaces to match every single other filter.

This commit is contained in:
Christian 'ketura' McCarty
2021-11-07 03:12:35 -06:00
parent 1b0ec8d3cf
commit d055131705
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ public enum Race implements Filterable {
DRAGON("Dragon"), EAGLE("Eagle"), BIRD("Bird"),
//PC Races
WARG("Warg");
CROW("Crow"), WARG("Warg");
private String _humanReadable;

View File

@@ -28,6 +28,7 @@ public class FilterFactory {
appendFilter(value);
simpleFilters.put("ring bearer", (actionContext) -> Filters.ringBearer);
simpleFilters.put("ringbearer", (actionContext) -> Filters.ringBearer);
simpleFilters.put("any", (actionContext) -> Filters.any);
simpleFilters.put("self", (actionContext) -> actionContext.getSource());
simpleFilters.put("another", (actionContext) -> Filters.not(actionContext.getSource()));