b069259 - Add new raids to auto-logging
[wowui.git] / OmaLog / Logging.lua
index ea0e63e..2b8dbe4 100644 (file)
@@ -8,8 +8,23 @@ local frame = CreateFrame("Frame", "OmaLogger");
 frame:Hide();
 
 local raidIDs = {
+    [1861] = "Uldir",
+    [2070] = "Battle of Dazal'Alor",
+    [2096] = "Crucible of Storms",
+    [2164] = "The Eternal Palace",
+};
+local dungeonIDs = {
+    [1594] = "The Undermine",
+    [1754] = "Freehold",
+    [1762] = "King's Rest",
+    [1763] = "Atal'Dazar",
+    [1771] = "Tol Dagor",
+    [1822] = "Siege of Boralus",
+    [1841] = "Underrot",
+    [1862] = "Waycrest Manor",
+    [1864] = "Shrine of the Storm",
+    [1877] = "Temple of Sethraliss",
 };
---local minDungMapID = 1456;
 
 local function shouldLog()
     local _, zoneType, difficulty, _, _, _, _, mapID = GetInstanceInfo();
@@ -24,10 +39,10 @@ local function shouldLog()
         elseif difficulty == 14 then -- Normal
             return true;
         end
-    --elseif zoneType == "party" and mapID >= minDungMapID then
-    --    if difficulty == 8 or difficulty == 23 then
-    --        return true;
-    --    end
+    elseif zoneType == "party" and dungeonIDs[mapID] then
+        if difficulty == 8 or difficulty == 23 then
+            return true;
+        end
     end
 
     return false;