From 37f8aa5b83feb14f5ed96c194accc837fcd40f7d Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Thu, 11 Dec 2008 00:13:13 +0000 Subject: [PATCH] Fixed login issue for deathknights git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@47 8c7459ed-49dc-4bc8-85d7-b6381a8f5413 --- oUF_P3lim/oUF_P3lim.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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) -- 1.7.9.5