diff --git a/Core.lua b/Core.lua index 51c89f2..20839d5 100644 --- a/Core.lua +++ b/Core.lua @@ -810,7 +810,7 @@ end function AddOn:IsItemUpgrade(ilvl, equipLoc) local function overOrWithinMin(eqilvl, eq, delta) - return eq <= eqilvl or eqilvl >= eq - delta + return eqilvl >= eq + delta end if ilvl ~= nil and equipLoc ~= nil and equipLoc ~= '' then diff --git a/Frame.lua b/Frame.lua index c467303..c61a01f 100644 --- a/Frame.lua +++ b/Frame.lua @@ -756,8 +756,8 @@ function AddOn.createSettingsPage() variableTbl = AddOn.db.config, tooltip = L["OPTIONS_SLIDER_DELTA_TOOLTIP"], default = 0, - minValue = 0, - maxValue = 500, + minValue = -500, + maxValue = 100, step = 1 } }