add_range<ItemLevelCondition>("item_level");
add("linked_colors", &Loader::linked_colors);
add_range<LinkedSocketsCondition>("linked_sockets");
+ add_range<MapTierCondition>("map_tier");
add_range<SocketsCondition>("sockets");
add("or", &Loader::or_);
add_range<QualityCondition>("quality");
typedef RangeCondition<DropLevelTraits> DropLevelCondition;
+struct MapTierTraits
+{
+ typedef unsigned Type;
+ static unsigned get_min() { return 1; }
+ static unsigned get_max() { return 17; }
+ static const char *get_keyword() { return "MapTier"; }
+};
+
+typedef RangeCondition<MapTierTraits> MapTierCondition;
+
+
struct WidthTraits
{
typedef unsigned Type;