diff --git a/modules/ItemLevel.lua b/modules/ItemLevel.lua index ea6b937a..41813c87 100644 --- a/modules/ItemLevel.lua +++ b/modules/ItemLevel.lua @@ -172,6 +172,7 @@ function mod:GetOptions() none = L['None'], original = L['Same as InventoryItemLevels'], level = L['Related to player level'], + qualityColor = L['Same as quality colour'], }, order = 20, }, @@ -364,3 +365,13 @@ do end end end + +-- Color scheme for quality colors +do + colorSchemes.qualityColor = function(level, quality) + r, g, b, hex = GetItemQualityColor(quality) + return r,g,b + + + end +end