Originally Posted by Dimpf
Yeah, I'm familiar with it. One thing that I don't think Neav has is the PvP icon, as well as the debuff spiral mentioned above. Also, the castbar animation will flash "interrupted" if it's cancelled, and whatnot. I'll post a SS detailing what I especially like about the default later.
|
Firstly, i believe PvP icons + the cooldown spiral are included with _Neav, and they're relatively easy to add in if not. The interrupted thing could prove more tricky, but you could dig up some code from something like azcastbar for it (it's probably a relatively simple OnUpdate)
Edit:
Code:
if(UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit) or not UnitIsConnected(unit)) or not (unit == 'target') then
self:SetBackdropColor(0, 0, 0, .8)
else
local r, g, b = UnitSelectionColor(unit)
self:SetBackdropColor(r, g, b, .5)
end
I believe you need to wrap { } round UnitSelectionColor(unit)?