if UnitExists(unit) and (not frame.spec or frame.spec == currentSpec) then
local name, icon, count, duration, expires;
for _, aura in pairs(frame.auras) do
- name, _, icon, count, _, duration, expires = UnitAura(unit, aura, nil, frame.auraFilter);
+ name, _, icon, count, _, duration, expires = UnitAura(unit, aura, nil, frame.auraFilter);
if name then
if count > 0 then
frame.stack:SetText(count);
currentSpec = GetSpecialization();
for _, frame in pairs(frames) do
if frame.auras then updateAuraFrame(frame) end
- if frame.totems then updateTotemFrame(frame) end
+ if frame.totems then
+ for _, slot in pairs(frame.totems) do updateTotemFrame(frame, slot) end
+ end
end
elseif event == "PLAYER_LOGIN" then
initialize();