X-Git-Url: http://git.tdb.fi/?p=poefilter.git;a=blobdiff_plain;f=source%2Frangecondition.h;h=d4d11fa852605bb4f93b13be0e97c14ea5dc8c5c;hp=beba0dddbced73c49fa28273e25d43720bbacd9d;hb=51ea3d1cf0f411f0a41367bf218e28f9c16d86e0;hpb=5f59e6d2add65d7d0e98e3d43d6223ca1c240a5f diff --git a/source/rangecondition.h b/source/rangecondition.h index beba0dd..d4d11fa 100644 --- a/source/rangecondition.h +++ b/source/rangecondition.h @@ -52,7 +52,7 @@ typedef RangeCondition QualityCondition; struct ItemLevelTraits { typedef unsigned Type; - static unsigned get_min() { return 0; } + static unsigned get_min() { return 1; } static unsigned get_max() { return 100; } static const char *get_keyword() { return "ItemLevel"; } }; @@ -63,7 +63,7 @@ typedef RangeCondition ItemLevelCondition; struct DropLevelTraits { typedef unsigned Type; - static unsigned get_min() { return 0; } + static unsigned get_min() { return 1; } static unsigned get_max() { return 100; } static const char *get_keyword() { return "DropLevel"; } };