Alternate UnitPower
How are we getting at alternate unit power as well as unit power (insanity + mana for shadow priest)?
I hadn't been paying a ton of attention and just realized that I needed to handle this. |
Quote:
BTW, if anyone needs latest version of oUF for Legion, you may use mine, I merged many p3lim's, Sticklord's and my PRs into it. I keep it up to date, cuz I use it too :D |
Thanks. I've done the same thing merging the PRs.
|
Quote:
|
Quote:
|
Does it make sense that the following always prints the additional power bar name for the spec being swapped from (not the one being swapped to) or am I doing something wrong?
Lua Code:
|
Quote:
|
So if i use this latest version of oUF for Legion I don't have to change anything in my layout? Because I use oUF_Freeb
|
Quote:
|
Quote:
The most affected callback(s) is/are probably the one(s) for the runes element. Edit: Oh, and the eclipse element was removed straight up. |
Quote:
|
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?
|
Quote:
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. :D 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:
Then call something like: Lua Code:
|
It is not really needed for druids anymore since it does not cost mana to shape shift. Even the proc to cast healing touch does not cost mana.
|
Quote:
The element is shown the same as the blizzard one, it'll show full stop if mana is not your primary resource. https://github.com/tekkub/wow-ui-sou...ar.lua#L69-L79 Quote:
|
Forgot to test on a Moonkin Druid!
Again Druid and DK are probably the classes I know less about now. Thanks for that. |
I added overrides to the element so that layouts can add more if they wanted to, like for cat and bear forms (energy and rage) as well.
|
All times are GMT -6. The time now is 10:28 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI