
File Name |
Version |
Size |
Author |
Date |
4.1.0 |
33kB |
d87 |
03-26-11 07:40 AM |
|
4.0.1 |
101kB |
d87 |
12-09-09 10:46 PM |
|
4.0 |
100kB |
d87 |
12-08-09 01:52 AM |
|
3.0.2 |
116kB |
d87 |
07-19-09 10:30 PM |
|
3.0ю1 |
116kB |
d87 |
11-05-08 08:36 PM |
![]() |
Comment Options |
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
Is there a way to make it so that the bar is always shown, and not just while in combat or stealth?
|
|
|
|
|
||
Last edited by d87 : 04-29-11 at 09:34 AM.
|
||
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
Thank you so much, it works
![]() Anyway, if it is intended that the color changes in the execute phase, isn't it supposed to switch back to yellow when another enemy is targeted or health goes up (over 35%)? In my case when using the code for class-colored skin, the energy bar stays purple the whole time, for every enemey at any health and even out of combat when going back to stealth ![]() |
|
|
|
|
||
|
Re: Class colored energy bar changes color
Probably at lowlvl your single mutilate just brings target to that point Anyway, to disable it delete these lines: Code:
self:RegisterEvent("PLAYER_TALENT_UPDATE")
self:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED")
Last edited by d87 : 04-29-11 at 08:54 AM.
|
||
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
Class colored energy bar changes color
Hi everybody,
I really like this addon for my little rogue twink and feral main but I have noticed something: When I edit the LUA file so the bar is classcolored (see sunsmoon's post), then everytime when I use "Mutilate" (the attack you get when speccing into...well mutilate ...) then the color of the bar changes from class colored yellow into purple?!This is only in mutilate spec when using this ability. In any other spec or with my feral I don't have these problems. The color always stays yellow or orange. Can anyone help me please? |
|
|
|
|
|
|
You'll need to remove OnUpdate handler and just update on UNIT_POWER (It's still tick based)
|
|
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
Willing to buy tick again!
Is there any way to cause this addon to update in a manner like the tick of old times?
I understand that there's no need to as energy regen is completely different.... However, I would love to see if I can get the addon to get updated every 20 energy, (like it used to be every 2 seconds) just for timing purposes. Would I change 'local p5 = math_modf(p/5)*5' around? THANKS! |
|
|
|
|
|
|
Thank you for this addon. It's one of the very few that I require to play my rogue.
__________________
|
|
|
|
|
|
|
|
I hope you don't mind, but I made a couple of edits I'd love to share.
(Line numbers are before any edits)Class Colored energy bar: Replace (Line 6) Code:
local color = { 0.9,0.1,0.1 }
Code:
local classcolors = RAID_CLASS_COLORS[select(2, UnitClass("player"))]
local cr, cg, cb = classcolors.r, classcolors.g, classcolors.b
Code:
f:SetStatusBarColor(unpack(color)) Code:
f:SetStatusBarColor(cr,cg,cb) Code:
bg:SetVertexColor(color[1]/2,color[3]/2,color[3]/2) Code:
bg:SetVertexColor(cr/2,cg/2,cb/2) Smooth Update (similar to the one already posted): Delete (Line 47) Code:
local math_modf = math.modf Code:
local p5 = math_modf(p/5)*5 Code:
self.text:SetText(p5) Code:
self.text:SetText(p) Also display if not max energy: Find (Line 35) Code:
self:RegisterEvent("UNIT_DISPLAYPOWER")
Code:
self:RegisterEvent("UNIT_ENERGY")
Code:
self.PLAYER_REGEN_DISABLED = self.UPDATE_STEALTH Code:
self.UNIT_ENERGY = self.UPDATE_STEALTH Code:
if (IsStealthed() or UnitAffectingCombat("player")) and UnitPowerType("player") == 3 then
Code:
if (IsStealthed() or UnitAffectingCombat("player")) or (UnitPower("player") ~= UnitPowerMax("player")) and UnitPowerType("player") == 3 then
Last edited by sunsmoon : 09-17-10 at 09:54 PM.
|
|
|
|
|
|
|
|
show bar
How I can see this bar when my energy is not maximum? Not only when I'm in a combat or in stealth.
__________________
Valium, Prozac, and Ritalin. Breakfast of champions. (c) Mean Guns |
|
|
|
|
|
|
|
Can rhis mod somehow show warrior rage or something like that?
|
|
|
|
|
|
||
|
A Kobold Labourer
Forum posts: 1
File comments: 92
Uploads: 0
|
|
|
|
|
|
|
|
|
find "local p5 = math_modf(p/5)*5"
replace with "local p5 = p" |
|
|
|
|
|
|
|
A Defias Bandit
Forum posts: 2
File comments: 8
Uploads: 0
|
thank you for listening to my suggestion. However, i dont see an option to set it up to "smooth" update.
|
|
|
![]() |