View Single Post
08-27-16, 06:33 PM   #2
baberg
A Murloc Raider
Join Date: Aug 2014
Posts: 5
The code you want is a little bit further down from there. Look for this block:

Code:
    -- Info Text
    if minVal <= 95 then
        self.hidden = false
        self.text:SetFormattedText("|cff%s %d÷|r", TextColorNormal, minVal)
    else
        self.hidden = true
        self.text:SetText("")
    end
The easiest way to change this is to change the "95" to "100". This code checks the minimum durability (in percentage) of all worn items, and if you have an item that's less than 95% durability then it will show (self.hidden = false). Change 95 to 100 and it should show all the time.

EDIT: I have not tested this. Something could break because it may be expecting 2 digits and not 3 but I think it should be fine.

Last edited by baberg : 08-27-16 at 06:35 PM.
  Reply With Quote