From d5beff8f1db4839879ddb160c97ea2ddd1bb78b6 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 17 May 2016 22:22:09 +0200 Subject: [PATCH] rarity post filter fix --- scan_util.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scan_util.lua b/scan_util.lua index ba19a1f..40b67af 100644 --- a/scan_util.lua +++ b/scan_util.lua @@ -81,11 +81,11 @@ m.filters = { end local code = ({ - ['poor'] = 1, - ['common'] = 2, - ['uncommon'] = 3, - ['rare'] = 4, - ['epic'] = 5, + ['poor'] = 0, + ['common'] = 1, + ['uncommon'] = 2, + ['rare'] = 3, + ['epic'] = 4, })[rarity or ''] if not code then return false, {}, 'Erroneous rarity modifier'