guidToId[guid] = "player";
guidToSpecid[guid] = specid;
if specid == 105 then -- Druid
- local _, _, _, talent = GetTalentInfo(6, 2, 1);
+ local _, _, _, talent = GetTalentInfo(6, 1, 1);
updateDruid(guid, nil, talent);
else
updateUnitCD(guid);
guidToSpecid[guid] = 257; -- assume Holy for now to get something visible
end
updateUnitCD(guid);
- OmaInspect.Request(guid, id, updatePriest);
+ --OmaInspect.Request(guid, id, updatePriest);
elseif specs[class] == 105 then
-- Druid, have to inspect to get talents
-- updateUnitCD (without having fixes yet)
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");