From 51ea3d1cf0f411f0a41367bf218e28f9c16d86e0 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 16 Aug 2018 19:44:34 +0300 Subject: [PATCH] Change the minimum value of itemlevel and droplevel to 1 --- source/rangecondition.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } }; -- 2.45.2