PitBull Unit Frames 4.0
PitBull Unit Frames 4.0
Woof. Arf. Yip.
Getting Started:
You can help translate PitBull for your language with the localization tool.
Classic
PitBull works with WoW Classic! Classic Era/Vanilla is supported in
v4.3.x-vanilla
releases. Cataclysm Classic is supported in v4.2.x
releases
(the same releases retail use).
Classic Era caveats:
- Aura duration is not available from the API, so PitBull uses LibClassicDurations to show them. The duration can be inaccurate if it's affected by rank or talents.
- Cast info is only available for your spells from the API. PitBull uses LibClassicCasterino to show cast bars for other units, but this can be inaccurate since there is a lot of guess-work involved.
Download
CurseForge: https://www.curseforge.com/wow/addons/pitbull-unit-frames-4-0
Wago: https://addons.wago.io/addons/pitbull4
WoWInterface: https://www.wowinterface.com/downloads/info20021
Round(Percent(cur,max))
It seems that in the german client the good old "m" got changed to "Min." with the latest patch... yay -.-
4 hours of work gone
@sqls: Latest alpha has a fix for this. An incorrect function call was used to get the configured value so it was always using the configuration of the currently selected layout in the config window instead of the layout for the frame it was drawing. Thanks for the report.
@Riokou: Can you share your module with me and I'll come up with a better way. Probably something similar to what we did with the Aggro module being able to override other things. Probably the best thing to do is to open a ticket and attach them.
And I do have some kind of bug. The HP bar overlaps the Mana Bar, like it stretches down below where they should meet.
I don't know if its addons conflicting - I doubt it tho as i don't use many. Or if its been reported already.
http://www.wowace.com/addons/pitbull4/create-ticket/
Login is the same as your curse login.
That said I suspect it probably isn't a bug. It's very likely a round issue related to the way WoW is scaling your UI. Unless your UI Scale is set to a pixel perfect scale then you'll end up with rounding issues. WoW uses floating point numbers for width and positioning values and arithmetic on floating point values introduces rounding errors. You can avoid this by setting your UI Scale to a pixel perfect scale and then making sure all your frames and layouts are configured at 100% scale. This forum topic may be of some help to you:
http://forums.wow-europe.com/thread.html?topicId=12025284267&sid=1
I decided to make a couple of modules for myself, both fader modules. One makes my player frame fade out if I'm resting but not casting or targeting anything, and the second forces the frame to use 100% alpha if I mouse over it. The mouseover module was tricky because of the fact that the lowest returned alpha from all fader modules is applied to the frame, and I wanted to have an alpha of 1 override all others. The way I ended up doing this was by setting PitBull's "opacity_min" to 1 when the frame is moused over. For this to work, however, I had to edit the GetFinalFrameOpacity() function in FaderModule to
instead of
I tried to avoid needing to edit the PitBull source code, but I couldn't find a way around it.
I was just wondering if there was any way some kind of override functionality could be implemented, whether in a module or in a future version of PitBull itself.