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
Remember all good things come to those who wait, im still tweaking to perfection after a month :p
http://pastebin.com/m4f488225
http://pastebin.com/me7cf129
http://pastebin.com/mc2b15ec
http://pastebin.com/m76a9507
Authors, if I knew you irl I'd include you in my will. :D
Which spell? There isn't a way I know of to check for the presence of a spell by spellid, instead name+rank+icon is checked (which can be determined from the spellid using GetSpellInfo.)
Seems this ID needs to be added to addon.
Going through the Aura Filter Editor for the Aura module, I filled in exactly what I wanted. I selected Highlights, Unit, Is Enemy. But, unfortunately you only check for whether to highlight based on what auras the target has on them. So if there is no UNIT_AURA event firing, there is no highlight. Furthermore, because this Highlight is set, it will trigger the function to set a highlight once I actually put a debuff on the target. But the highlight will be based upon the debuff I put on the target. If I put a magic debuff on the target it colors it blue, a poison it colors it green, etc. Please fix it =(
Help! I want to create a custom lua text that checks for a certain buff on my enemy, but via a SpellID, not the name of the spell, because I wanna check for a certain spell but there's a lot of buffs sharing its name in the game. Thanks in advance.
local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)
if rest then
return "%s%% | R: %s%%",Percent(cur,max),Percent(rest,max)
else
return
end
My only issue is if I am not rested I can't seem to find a way to not display this part of it | R: %s%%