Download
(71 Kb)
Download
Updated: 11-19-12 03:15 AM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:11-19-12 03:15 AM
Created:unknown
Downloads:25,566
Favorites:104
MD5:
Categories:Rogue, Druid, Warrior
NugEnergy  Popular! (More than 5000 hits)
Version: 4.3.5
by: d87 [More]
Rage and energy monitor.
For energy text value is updated every 5pts, so it's easier on the eyes.
You can toggle support for focus, runic power and monk energy

(Addon is visible only during combat or in stealth)

Slash command:
/nen
/nen unlock - enable dragging

There's not much configuration in-game, but you can find some additional options
at the top of NugEnergy.lua: width, height, texture, color, font
4.3.5:
Second level of glow for rage
Forgotten monk toggle command added
4.3:
glow when near max rage
untested monk support
bugfix for druid energy text
4.2.4: Bugfix, outline option
4.2.3: Warlock bugfix + shards and embers support for the sake of completeness
4.2.2a: fixed a bug on druids
4.2.2: Showing during meta regardless of combat
4.2.1a: hotfix
4.2.1:
Addon frame is now shown when unlocked

4.2.0:
ToC Updated to 50001
Added support for demonic fury(warlock demo bar) and runic power

4.1.1:
Marks

4.1.0: (cataclysm update)
TOC bumped to 40100
Moved to UNIT_POWER
Optionally can be enabled for warriors/bears and hunters
Different color for assa rogue execute phase

4.0.1: option to disable statusbar ( onlyText = false/true )

4.0 is a revisited version, a lot more compact and easier to maintain.
marks were removed, but you can still use 3.0 from archive tab.

3.0.2:
fix for shadow dance rogues.
Archived Files (14)
File Name
Version
Size
Author
Date
4.3
71kB
d87
11-07-12 10:35 PM
4.2.4
35kB
d87
09-21-12 06:21 AM
4.2.3
35kB
d87
09-09-12 06:47 AM
4.2.2a
34kB
d87
09-03-12 12:37 AM
4.2.2
34kB
d87
08-30-12 10:41 PM
4.2.1a
34kB
d87
08-30-12 02:36 AM
4.2.1
34kB
d87
08-29-12 11:22 PM
4.2.0
34kB
d87
08-28-12 10:06 AM
4.1.1
34kB
d87
03-28-11 10:56 AM
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


Post A Reply Comment Options
Old 08-30-12, 02:20 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 454
Uploads: 33
it's an error probably, make sure "menu -> interface -> help -> Display Lua errors" is enabled. Relogin then...
If there's an error post it here, and the class you play.
Last edited by d87 : 08-30-12 at 02:21 AM.
d87 is offline Report comment to moderator  
Reply With Quote
Old 08-30-12, 01:34 AM  
countbassd
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Great addon!

I have a problem though: With patch 5.0.4, the addon simply doesn't work. I downloaded the current version, but when I am ingame and in stealth, it doesn't show up, also when i enter /nen unlock or /nen nothing happens, wow tells me "invalid command" or something like that.

Any ideas?
countbassd is offline Report comment to moderator  
Reply With Quote
Old 08-29-12, 11:14 PM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 454
Uploads: 33
Well, i could be just that it's hidden out of combat.
I'll update it to also pop up on unlock command
d87 is offline Report comment to moderator  
Reply With Quote
Old 08-29-12, 10:52 PM  
Lucy Saxon
A Kobold Labourer
 
Lucy Saxon's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
I use RothUI and I absolutely love it, but as of right now it doesn't support the new secondary resources. Because of this, I've had to find something else and in my research I've come across this lovely addon. The problem I have, however, is that while it works (beautifully I might add) for Soul Shards while I'm in Affliction spec on my Warlock, it doesn't seem to work for me with Demonic Fury (Demonology). Is there anything I could possibly do to make it work for Demonic Fury?

PS: I have obviously tried to enable it in-game via /nen demonic command, and I've looked and played with the settings. I've reloaded the UI several times, and I've restarted half as many times. I'm really at a loss at this point so any help I could get is greatly appreciated.
__________________
Last edited by Lucy Saxon : 08-29-12 at 11:01 PM.
Lucy Saxon is offline Report comment to moderator  
Reply With Quote
Old 06-23-11, 11:40 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 454
Uploads: 33
Originally posted by OminaeYu623
Is there a way to make it so that the bar is always shown, and not just while in combat or stealth?
find this and remove marked lines
Code:
    self:UPDATE_STEALTH()
    self:PLAYER_TALENT_UPDATE()
    self:RegisterEvent("UNIT_POWER")
    self:RegisterEvent("UNIT_MAXPOWER")
    self:SetScript("OnUpdate",self.UpdateEnergy)
    
    self:RegisterEvent("UPDATE_STEALTH")
    self:RegisterEvent("PLAYER_REGEN_ENABLED")
    self:RegisterEvent("PLAYER_REGEN_DISABLED")
    self.PLAYER_REGEN_ENABLED = self.UPDATE_STEALTH
    self.PLAYER_REGEN_DISABLED = self.UPDATE_STEALTH
d87 is offline Report comment to moderator  
Reply With Quote
Old 06-22-11, 03:03 PM  
OminaeYu623
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?
OminaeYu623 is offline Report comment to moderator  
Reply With Quote
Old 04-29-11, 09:34 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 454
Uploads: 33
Originally posted by Samman
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
Well it's just class colored patch wasn't wrtitten for this version, so they aren't working nice together.
Last edited by d87 : 04-29-11 at 09:34 AM.
d87 is offline Report comment to moderator  
Reply With Quote
Old 04-29-11, 09:17 AM  
Samman
A Kobold Labourer

Forum posts: 0
File comments: 7
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
Samman is offline Report comment to moderator  
Reply With Quote
Old 04-29-11, 08:51 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 454
Uploads: 33
Re: Class colored energy bar changes color

Originally posted by Samman
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?
Actually it's an indicator for assassination execute phase (that target is below 35% health)
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.
d87 is offline Report comment to moderator  
Reply With Quote
Old 04-29-11, 06:22 AM  
Samman
A Kobold Labourer

Forum posts: 0
File comments: 7
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?
Samman is offline Report comment to moderator  
Reply With Quote
Old 02-19-11, 10:00 PM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 454
Uploads: 33
You'll need to remove OnUpdate handler and just update on UNIT_POWER (It's still tick based)
d87 is offline Report comment to moderator  
Reply With Quote
Old 02-19-11, 01:49 PM  
Sofeoan
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!
Sofeoan is offline Report comment to moderator  
Reply With Quote
Old 10-16-10, 01:32 AM  
Sombrien
A Kobold Labourer
 
Sombrien's Avatar

Forum posts: 1
File comments: 7
Uploads: 0
Thank you for this addon. It's one of the very few that I require to play my rogue.
__________________
Sombrien is offline Report comment to moderator  
Reply With Quote
Old 09-17-10, 09:43 PM  
sunsmoon
A Defias Bandit
 
sunsmoon's Avatar

Forum posts: 3
File comments: 11
Uploads: 0
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 }
with
Code:
local classcolors = RAID_CLASS_COLORS[select(2, UnitClass("player"))]
local cr, cg, cb = classcolors.r, classcolors.g, classcolors.b
Replace (Line 78)
Code:
    f:SetStatusBarColor(unpack(color))
with
Code:
    f:SetStatusBarColor(cr,cg,cb)
Replace (line 82)
Code:
    bg:SetVertexColor(color[1]/2,color[3]/2,color[3]/2)
with
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
Delete (Line 50)
Code:
local p5 = math_modf(p/5)*5
Replace (Line 51)
Code:
    self.text:SetText(p5)
with
Code:
    self.text:SetText(p)

Also display if not max energy:

Find (Line 35)
Code:
    self:RegisterEvent("UNIT_DISPLAYPOWER")
Add After
Code:
    self:RegisterEvent("UNIT_ENERGY")
Find (Line 38)
Code:
    self.PLAYER_REGEN_DISABLED = self.UPDATE_STEALTH
Add After
Code:
    self.UNIT_ENERGY = self.UPDATE_STEALTH
Replace (Line 58)
Code:
    if (IsStealthed() or UnitAffectingCombat("player")) and UnitPowerType("player") == 3 then
with
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.
sunsmoon is offline Report comment to moderator  
Reply With Quote
Old 03-28-10, 08:28 AM  
karden
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
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
karden is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: