== 6.0.1
Fixed backgrounds showing for class icons
Fixed animations for players without class icons (low level paly, non-spriest)
Removed animations for eclipse bar (this is a temporary fix to make the addon work for druids, but more work is still needed)
Experimental: added support for auras on player frame

It wasn't to get a different font on the auras, it was to get the timer text to show up. Blizzard's shows up, but the text is too big because I like smaller auras. OmniCC shows up, but I'd prefer not to use OmniCC if I can get ElvUI's to show. Without the custom modification ElvUI's was not showing at all.

Thanks again!

Originally Posted by gwyd

Originally Posted by Lefeng

Is there some code I can add to custom_modifications.lua to show the cooldown text provided by ElvUI?

Update: An ElvUI dev instructed me to paste

Code:

E:RegisterCooldown(cooldown)

into the part of oUF_Hank that creates the cooldown/timer text for auras. I have no clue where that could be.

I'm not 100% sure what you are looking for, but you can use ElvUI to draw the countdown text on auras. Just add this to your custom_modifications.lua:

Lua Code:

oUF_Hank_hooks.ElvUICd ={

PostCreateIcon =function(icons, icon)

local E, L, V, P, G =unpack(ElvUI);

E:RegisterCooldown(icon.cd)

end,

}

That being said, it seems like a lot of effort just for a different font.

I think there's a small problem with the class icons. At least for the priest, the background of the shadow orbs shows up regardless of spec. I suspect the same is true for the soul shard of the warlocks wrt spell availability (I don't really know much about that, I just read classicons.lua). I fixed it by inserting the following code in hank_v3.lua after the definition of self.ClassIcons.PostUpdate. Please not that this is not thoroughly tested, especially in case of warlocks.

Lua Code:

if playerClass =="PRIEST"then

local talentUpdate =function(self,event, unit)

if GetSpecialization() ~= SPEC_PRIEST_SHADOW then--Shadow Spec

for i =1,5do

bg[i]:Hide()

end

else

for i =1,5do

bg[i]:Show()

end

end

end

self:RegisterEvent('PLAYER_TALENT_UPDATE', talentUpdate, true)

elseif playerClass =="WARLOCK"then

local spellUpdate =function(self,event, unit)

if GetSpecialization() ~= WARLOCK_SOULBURN then--Shadow Spec

for i =1,5do

bg[i]:Hide()

end

else

for i =1,5do

bg[i]:Show()

end

end

end

self:RegisterEvent('SPELLS_CHANGED', spellUpdate, true)

end

Sorry that this is 7 months late. Thanks for posting a solution. I'm working on a more global (all classes) solution that I should get out in the next version.