Download
(182Kb)
Download
Updated: 02-05-15 07:20 PM
Compatibility:
Warlords of Draenor (6.0.3)
Updated:02-05-15 07:20 PM
Created:01-07-13 08:00 PM
Downloads:4,251
Favorites:0
MD5:

oUF Fail new power values

Version: oUF_Fail_Test Party pets 1.6.4d
by: Sauerkraut, MiRai

- For testing purposes only - Should not be downloaded -
Just for you Sp_i_ke

Post A Reply Comment Options
Unread 01-24-13, 07:35 AM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Originally Posted by Sauerkraut
Any progress? I haven't made any headway, but I also haven't had much time to try.
No, nothing. I haven't had much time to play with the layout or even much of the game over the past few days. I was thinking of throwing the before and after chunks of code into the oUF thread to see what other people thought.
Report comment to moderator  
Reply With Quote
Unread 01-25-13, 08:04 AM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
I've tried both Dawn's and Phanx's suggestions in that thread and both of them are throwing errors at me. I don't know what I'm supposed to replace yourstatusbar with because...

Code:
	local text = lib.gen_fontstring(f.Health, cfg.font, 18, "OUTLINE")
	local r, g, b = playerPowerBar:GetStatusBarColor()
	text:SetPoint("RIGHT", s.arrow, "LEFT", 6, -8)
	text:SetTextColor(r, g, b)
	s:SetScript("OnValueChanged", function(self, value)
	text:SetFormattedText("%d", value, 0)
	text:SetJustifyH("RIGHT")
	end)
...just tells me that playerPowerBar is a nil value. That was just a complete guess as to what goes there based off of playerHealthBar from looking at WoWPedia.

And, to be honest, I'm not sure if Phanx's suggestion is pseudocode or not. I would post my errors in that thread to help move it along, but seeing as I can't even reproduce the yellow power text you were seeing yesterday, I'd rather not clutter up the thread with my false errors.
Report comment to moderator  
Reply With Quote
Unread 01-25-13, 04:56 PM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
I got it working. I'm uploading the working version now. Gonna be funky with mana though.
Report comment to moderator  
Reply With Quote
Unread 01-25-13, 05:23 PM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Originally Posted by Sauerkraut
I got it working. I'm uploading the working version now. Gonna be funky with mana though.
Awesome! I won't be able to try it out until later tonight.
Report comment to moderator  
Reply With Quote
Unread 02-05-13, 06:56 AM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Sorry, I realized that I didn't give any feedback on this, but I haven't really played for about a week because I've been pretty busy with work projects (and another game). I do like the Rage/Energy, but the Mana is a little awkward. I might have to bring back the old behavior for Mana and keep the new behavior for Rage/Energy.
Report comment to moderator  
Reply With Quote
Unread 02-07-13, 05:46 AM  
Sauerkraut
A Wyrmkin Dreamwalker
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 267
Uploads: 8
Originally Posted by MiRai
Sorry, I realized that I didn't give any feedback on this, but I haven't really played for about a week because I've been pretty busy with work projects (and another game). I do like the Rage/Energy, but the Mana is a little awkward. I might have to bring back the old behavior for Mana and keep the new behavior for Rage/Energy.
I agree. I haven't been doing much playing lately either. Probably just an if loop with some kind of check for power type would work.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: