View Single Post
08-04-12, 12:55 PM   #10
Sinaris
A Wyrmkin Dreamwalker
 
Sinaris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 55
i found the error i had.
haste had changed the ColorGardient function into the oUF core files.

the old way i used some month was this:

Lua Code:
  1. local r, g, b = oUFTukui.ColorGradient( min / max, unpack( C["unitframes"]["gradient"] ) )

the first value of the function was value X / value Y
the new function said this:

Lua Code:
  1. local r, g, b = oUFTukui.ColorGradient( min, max, unpack( C["unitframes"]["gradient"] ) )

now i have to put in both variables into the function instead of one single variable.