git
/
wowui.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a7dd68b - priest and mage click action updates
[wowui.git]
/
OmaCD
/
Cooldowns.lua
diff --git
a/OmaCD/Cooldowns.lua
b/OmaCD/Cooldowns.lua
index
9d2f25f
..
7bb0fc2
100644
(file)
--- a/
OmaCD/Cooldowns.lua
+++ b/
OmaCD/Cooldowns.lua
@@
-226,7
+226,7
@@
local function updatePlayer()
guidToId[guid] = "player";
guidToSpecid[guid] = specid;
if specid == 105 then -- Druid
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);
updateDruid(guid, nil, talent);
else
updateUnitCD(guid);
@@
-259,7
+259,7
@@
local function updateUnitid(id)
guidToSpecid[guid] = 257; -- assume Holy for now to get something visible
end
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)
elseif specs[class] == 105 then
-- Druid, have to inspect to get talents
-- updateUnitCD (without having fixes yet)
@@
-365,7
+365,7
@@
local events = {
end
end
end,
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];
local guid = idToGuid[id];
if guid and frames[guid] then
local frame = frames[guid][spellid];
@@
-417,7
+417,5
@@
local function cdtracker()
CTimerAfter(0.5, tick);
end
CTimerAfter(0.5, tick);
end
-cdframe:SetScript("OnEvent", function(self, event)
- return cdtracker();
-end);
+cdframe:SetScript("OnEvent", cdtracker);
cdframe:RegisterEvent("PLAYER_LOGIN");
cdframe:RegisterEvent("PLAYER_LOGIN");