end
end
end,
- ["UNIT_SPELLCAST_SUCCEEDED"] = function(id, _, _, _, spellid)
+ ["UNIT_SPELLCAST_SUCCEEDED"] = function(id, _, spellid)
local guid = idToGuid[id];
if guid and frames[guid] then
local frame = frames[guid][spellid];
CTimerAfter(0.5, tick);
end
-cdframe:SetScript("OnEvent", function(self, event)
- return cdtracker();
-end);
+cdframe:SetScript("OnEvent", cdtracker);
cdframe:RegisterEvent("PLAYER_LOGIN");