6a32145 - Update aura state on combat start and all bars update
[wowui.git] / kehys / events.lua
index 97f56da..b194192 100644 (file)
@@ -167,6 +167,7 @@ local eventFuncs = {
         frame.stacks = {};
         frame.heal = {};
         frame.buff1 = {};
+        addon.SetAuras(frame.unit, frame.guid);
     end,
     ["UPDATE_ALL_BARS"] = function(frame)
         updateRole(frame, frame.unit);
@@ -183,7 +184,12 @@ local eventFuncs = {
         if frame.guid then
             guids[frame.guid] = frame;
         end
-        -- TODO update initial aura state
+        frame.tankcd = {};
+        frame.alert = {};
+        frame.stacks = {};
+        frame.heal = {};
+        frame.buff1 = {};
+        addon.SetAuras(frame.unit, frame.guid);
     end,
 };
 eventFuncs["READY_CHECK_CONFIRM"] = eventFuncs["READY_CHECK"];