Quantcast

Fixed login issue for deathknights

p3lim-52096 [12-11-08 - 00:13]
Fixed login issue for deathknights

git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@47 8c7459ed-49dc-4bc8-85d7-b6381a8f5413
Filename
oUF_P3lim/oUF_P3lim.lua
diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua
index db29df1..9cd775b 100644
--- a/oUF_P3lim/oUF_P3lim.lua
+++ b/oUF_P3lim/oUF_P3lim.lua
@@ -11,8 +11,11 @@ local colors = setmetatable({
 	}, {__index = oUF.colors.power}),
 	runes = setmetatable({
 		[1] = {1, 0, 0.4},
-		[2] = {0, 1, 0.4},
-		[3] = {0, 0.4, 1},
+		[2] = {1, 0, 0.4},
+		[3] = {0, 1, 0.4},
+		[4] = {0, 1, 0.4},
+		[5] = {0, 0.4, 1},
+		[6] = {0, 0.4, 1},
 	}, {__index = oUF.colors.runes}),
 }, {__index = oUF.colors})

@@ -295,7 +298,7 @@ local function CreateStyle(self, unit)
 				end
 				self.RuneBar[i]:SetPoint('TOP', self, 'BOTTOM', 0, -1)
 				self.RuneBar[i]:SetStatusBarTexture(texture)
-				self.RuneBar[i]:SetStatusBarColor(unpack(self.colors.runes[GetRuneType(i)]))
+				self.RuneBar[i]:SetStatusBarColor(unpack(self.colors.runes[i]))
 				self.RuneBar[i]:SetHeight(4)
 				self.RuneBar[i]:SetWidth(230/6 - 0.85)
 				self.RuneBar[i]:SetBackdrop(backdrop)