View Single Post
08-01-16, 05:54 PM   #13
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 268
Originally Posted by badness View Post
Combo points for rogue doesn't update/show, only when I switch target it would show then it wouldn't update unless I switch to another target. Anything I can do to fix this?
Use the ClassIcons implementation. I bet you are using the old CPoints ?

Regarding DruidPower, have any of you use it recently on your Frames?
I have mine working fine except for the fact that it doesn't show for Druids. Which is a bit ironic.

Another thing, by default the element should disappear if full mana, correct? At least I think it is how it used to work. Not seeing this too.

EDIT - Been looking at druidmana.lua and it seems there is no inbuilt functionality to hide when full mana. And about it not displaying for Druid it only works for pre-Legion. I don't play much druid nowadays or nothing at all, but is is not necessary anymore for Druid players? I guess they don't use much mana then.

Just for reference if someone wants to do the same (hide on full mana). It is very simple, just call the PostUpdate hook.

Lua Code:
  1. -- Post Update
  2. DruidMana.PostUpdate = druidManaPostUpdate

Then call something like:

Lua Code:
  1. -- Druid Mana post update callback
  2. local druidManaPostUpdate = function(self, unit, cur, max)
  3.   -- Hide DruidMana if full
  4.   if(cur == max) then
  5.     self:Hide()
  6.   else
  7.     self:Show()
  8.   end
  9. end
__________________
My oUF Layout: oUF Lumen

Last edited by neverg : 08-02-16 at 10:48 AM.
  Reply With Quote