]> git.tdb.fi Git - poefilter.git/commitdiff
Change the minimum value of itemlevel and droplevel to 1
authorMikko Rasa <tdb@tdb.fi>
Thu, 16 Aug 2018 16:44:34 +0000 (19:44 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 16 Aug 2018 16:44:34 +0000 (19:44 +0300)
source/rangecondition.h

index beba0dddbced73c49fa28273e25d43720bbacd9d..d4d11fa852605bb4f93b13be0e97c14ea5dc8c5c 100644 (file)
@@ -52,7 +52,7 @@ typedef RangeCondition<QualityTraits> 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<ItemLevelTraits> 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"; }
 };