git
/
wowui.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7585f81
)
8e9694c - Add Castle Nathria logging
author
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Thu, 4 Mar 2021 10:59:14 +0000
committer
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Thu, 4 Mar 2021 10:59:14 +0000
OmaLog/Logging.lua
patch
|
blob
|
history
diff --git
a/OmaLog/Logging.lua
b/OmaLog/Logging.lua
index
3bf3ed6
..
f7554a3
100644
(file)
--- a/
OmaLog/Logging.lua
+++ b/
OmaLog/Logging.lua
@@
-10,6
+10,7
@@
frame:Hide();
local raidIDs = {
[2164] = "The Eternal Palace",
[2217] = "Ny'alotha",
local raidIDs = {
[2164] = "The Eternal Palace",
[2217] = "Ny'alotha",
+ [2296] = "Castle Nathria",
};
local dungeonIDs = {
[1594] = "The Undermine",
};
local dungeonIDs = {
[1594] = "The Undermine",
@@
-63,11
+64,12
@@
local function updateZone()
end
frame:SetScript("OnEvent", function(self, event)
end
frame:SetScript("OnEvent", function(self, event)
- if event == "ZONE_CHANGED_NEW_AREA" then
+ if event == "ZONE_CHANGED_NEW_AREA"
or event == "PLAYER_LOGIN"
then
CTimerAfter(3, updateZone);
elseif event == "CHALLENGE_MODE_START" then
CTimerAfter(1, updateZone);
end
end);
frame:RegisterEvent("ZONE_CHANGED_NEW_AREA");
CTimerAfter(3, updateZone);
elseif event == "CHALLENGE_MODE_START" then
CTimerAfter(1, updateZone);
end
end);
frame:RegisterEvent("ZONE_CHANGED_NEW_AREA");
+frame:RegisterEvent("PLAYER_LOGIN");
--frame:RegisterEvent("CHALLENGE_MODE_START"); -- for logging M+
--frame:RegisterEvent("CHALLENGE_MODE_START"); -- for logging M+