Originally Posted by Uitat
i thought thats what i was doing with this
self:SetValue(artifactXP/xpForNextPoint)
|
artifactXP/xpForNextPoint is a mathematical expression that evaluates to a number that is used as the current value, it doesn't tell the function in any way what the range the StatusBar is supposed to cover. To define that, you use
StatusBar:SetMinMaxValues().
Code:
self:SetMinMaxValues(0,xpForNextPoint)
self:SetValue(artifactXP)