changeset 137:5f43b650e341 1.0.12

Added recording or LFR data.
author James D. Callahan III <jcallahan@curse.com>
date Wed, 26 Sep 2012 13:32:18 -0500
parents fa7f91077c54
children 87177ba1f6f7
files Main.lua
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Main.lua	Wed Sep 26 13:23:56 2012 -0500
+++ b/Main.lua	Wed Sep 26 13:32:18 2012 -0500
@@ -199,6 +199,11 @@
     if not instance_type or instance_type == "" then
         instance_type = "NONE"
     end
+
+    -- Raid difficulty of 2 is 25-man
+    if instance_type == "raid" and instance_difficulty == 2 and _G.IsPartyLFG() and _G.IsInLFGDungeon() then
+        difficulty_name = "LOOKING_FOR_RAID"
+    end
     return ("%s:%s:%s"):format(instance_type:upper(), difficulty_name:upper():gsub(" ", "_"), _G.tostring(is_dynamic))
 end