Download
(2 Kb)
Download
Updated: 08-26-12 11:24 PM
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-26-12 11:24 PM
Created:07-02-12 12:42 AM
Downloads:1,114
Favorites:3
MD5:
oUF Warlock Specs Bars
Version: 1.00
by: tukz [More]
Little oUF plugin for Warlock and their specific class bar according to their spec on MoP Beta. This is not yet include in oUF so I've made a couple of weeks ago a plugin for it. Haste will probably include this feature in oUF at a later date so this plugin is just for helping oUF layout editor temporary on 5.0.4 with their oUF layouts.

Layout Example:

Code:
-- Warlock Spec Bars
if select(2, UnitClass("player")) == "WARLOCK" then
	local wb = CreateFrame("Frame", "TukuiWarlockSpecBars", self)
	wb:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 1)
	wb:SetWidth(250)
	wb:SetHeight(8)
	wb:SetBackdrop({
	  bgFile = texture, 
	  edgeFile = C.media.blank, 
	  tile = false, tileSize = 0, edgeSize = 1, 
	  insets = { left = -1, right = -1, top = -1, bottom = -1}
	})
	wb:SetBackdropColor(unpack(C.media.backdropcolor))
	wb:SetBackdropBorderColor(unpack(C.media.backdropcolor))
	
	for i = 1, 4 do
		wb[i] = CreateFrame("StatusBar", "TukuiWarlockSpecBars"..i, wb)
		wb[i]:SetHeight(8)
		wb[i]:SetStatusBarTexture(C.media.normTex)
		
		if i == 1 then
			wb[i]:SetWidth((250 / 4) - 2)
			wb[i]:SetPoint("LEFT", wb, "LEFT", 0, 0)
		else
			wb[i]:SetWidth((250 / 4) - 1)
			wb[i]:SetPoint("LEFT", wb[i-1], "RIGHT", 1, 0)
		end
	end
	
	self.WarlockSpecBars = wb				
end
-- 27/08/2012
-----> 1 or 2 bugs fixes
-----> Bar colors is now matching spec
-----> Last update before 5.0.4 hit live server. Warlock class bar won't be in oUF the day 5.0.4 will hit live server so this can be used as an alternative. This version was tested by various oUF layout editor and no issues reported with this version.

-- 16/07/2012
-----> cleanup & better codes

-- 13/07/2012
-----> plugin rewrite
Optional Files (0)


Post A Reply Comment Options
Old 09-09-12, 10:07 PM  
siweia
A Murloc Raider

Forum posts: 8
File comments: 14
Uploads: 0
Hello, thanks for your work.
But I just wonder that would you mind to add a percentage of currently "SPELL_POWER_DEMONIC_FURY"?
Just like the eclipsebar
siweia is offline Report comment to moderator  
Reply With Quote
Old 09-02-12, 01:26 PM  
Sockz0r
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 546
Uploads: 5
Originally Posted by siweia
Originally Posted by tukz
Originally Posted by Sockz0r
doesnt seem to appear when you log into the world or reload the UI. it does reappear when you change spec though, any ideas? or am i doing something wrong :P
This was fixed in my latest update made couple of hours ago, just download the updated zip.
still not work here.

but I added this
Code:
self:RegisterEvent("PLAYER_ENTERING_WORLD", Visibility)
and now it can appear when firstly entering world
excellent! <3
Sockz0r is offline Report comment to moderator  
Reply With Quote
Old 09-02-12, 11:52 AM  
siweia
A Murloc Raider

Forum posts: 8
File comments: 14
Uploads: 0
Originally Posted by tukz
Originally Posted by Sockz0r
doesnt seem to appear when you log into the world or reload the UI. it does reappear when you change spec though, any ideas? or am i doing something wrong :P
This was fixed in my latest update made couple of hours ago, just download the updated zip.
still not work here.

but I added this
Code:
self:RegisterEvent("PLAYER_ENTERING_WORLD", Visibility)
and now it can appear when firstly entering world
siweia is offline Report comment to moderator  
Reply With Quote
Old 09-02-12, 04:12 AM  
badgery
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
How do you install this plug-in and make it work please?
badgery is offline Report comment to moderator  
Reply With Quote
Old 08-27-12, 02:27 PM  
Sockz0r
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 546
Uploads: 5
have done, no luck

version 1.03 according to the TOC file
Sockz0r is offline Report comment to moderator  
Reply With Quote
Old 08-27-12, 08:31 AM  
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 50
Uploads: 6
Originally Posted by Sockz0r
doesnt seem to appear when you log into the world or reload the UI. it does reappear when you change spec though, any ideas? or am i doing something wrong :P
This was fixed in my latest update made couple of hours ago, just download the updated zip.
tukz is offline Report comment to moderator  
Reply With Quote
Old 08-27-12, 03:57 AM  
Sockz0r
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 546
Uploads: 5
doesnt seem to appear when you log into the world or reload the UI. it does reappear when you change spec though, any ideas? or am i doing something wrong :P
Sockz0r is offline Report comment to moderator  
Reply With Quote
Old 07-14-12, 01:29 AM  
Sockz0r
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 546
Uploads: 5
awesome thanks! now i can finish off the unit frames

once i download the entire client again cause blizzard suck :<
Sockz0r is offline Report comment to moderator  
Reply With Quote
Old 07-02-12, 06:47 AM  
Haleth
Super Moderator
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1054
File comments: 1021
Uploads: 27
Just what I needed.
__________________
[SIGPIC][/SIGPIC]
Haleth is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: