Fix incorrect tooltip when crafting some flask mods (#9164)
When crafting mods on items that used a `less x` mod, we flipped the order of the values so they would smoothly transition between tiers instead of jumping e.g. (45-49)% less Duration, (40-44)% less Duration, (35-39)% less Duration We didn't update the range slider tooltip though so it was still jumping and was not representing the value on the item Co-authored-by: LocalIdentity <localidentity2@gmail.com>
This commit is contained in:
@@ -852,6 +852,7 @@ holding Shift will put it in the second.]])
|
||||
tooltip:Clear()
|
||||
elseif tooltip:CheckForUpdate(val, modList) then
|
||||
local index, range = slider:GetDivVal(val)
|
||||
range = verifyRange(range, index, drop)
|
||||
local modId = modList[index]
|
||||
local mod = self.displayItem.affixes[modId]
|
||||
for _, line in ipairs(mod) do
|
||||
|
||||
Reference in New Issue
Block a user