From 7c7b01e2992c44382438cbd244ccfcc9f1d8aa52 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sun, 27 Dec 2009 03:46:59 +0100 Subject: [PATCH] Using own addon for runes --- oUF_P3lim.lua | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 6667edf..dde31e1 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -29,11 +29,6 @@ local colors = setmetatable({ [4] = {1, 1, 0}, [5] = {0, 1, 0} }, {__index = oUF.colors.reaction}), - runes = setmetatable({ - [1] = {0.8, 0, 0}, - [3] = {0, 0.4, 0.7}, - [4] = {0.8, 0.8, 0.8} - }, {__index = oUF.colors.runes}) }, {__index = oUF.colors}) local buffFilter = { @@ -336,29 +331,6 @@ local function style(self, unit) end if(unit == 'player') then - if(select(2, UnitClass('player')) == 'DEATHKNIGHT') then - self.Runes = CreateFrame('Frame', nil, self) - self.Runes:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', 0, -1) - self.Runes:SetHeight(4) - self.Runes:SetWidth(230) - self.Runes:SetBackdrop(backdrop) - self.Runes:SetBackdropColor(0, 0, 0) - self.Runes.anchor = 'TOPLEFT' - self.Runes.growth = 'RIGHT' - self.Runes.height = 4 - self.Runes.spacing = 1 - self.Runes.width = 230 / 6 - 0.85 - - for index = 1, 6 do - self.Runes[index] = CreateFrame('StatusBar', nil, self.Runes) - self.Runes[index]:SetStatusBarTexture(minimalist) - - self.Runes[index].bg = self.Runes[index]:CreateTexture(nil, 'BACKGROUND') - self.Runes[index].bg:SetAllPoints(self.Runes[index]) - self.Runes[index].bg:SetTexture(0.3, 0.3, 0.3) - end - end - self.Leader = self.Health:CreateTexture(nil, 'OVERLAY') self.Leader:SetPoint('TOPLEFT', self, 0, 8) self.Leader:SetHeight(16) -- 1.7.9.5