Mercurial > wow > wowdb-profiler
comparison Main.lua @ 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 | aa48190cb5eb | 
   comparison
  equal
  deleted
  inserted
  replaced
| 136:fa7f91077c54 | 137:5f43b650e341 | 
|---|---|
| 197 end | 197 end | 
| 198 | 198 | 
| 199 if not instance_type or instance_type == "" then | 199 if not instance_type or instance_type == "" then | 
| 200 instance_type = "NONE" | 200 instance_type = "NONE" | 
| 201 end | 201 end | 
| 202 | |
| 203 -- Raid difficulty of 2 is 25-man | |
| 204 if instance_type == "raid" and instance_difficulty == 2 and _G.IsPartyLFG() and _G.IsInLFGDungeon() then | |
| 205 difficulty_name = "LOOKING_FOR_RAID" | |
| 206 end | |
| 202 return ("%s:%s:%s"):format(instance_type:upper(), difficulty_name:upper():gsub(" ", "_"), _G.tostring(is_dynamic)) | 207 return ("%s:%s:%s"):format(instance_type:upper(), difficulty_name:upper():gsub(" ", "_"), _G.tostring(is_dynamic)) | 
| 203 end | 208 end | 
| 204 | 209 | 
| 205 | 210 | 
| 206 local function DBEntry(data_type, unit_id) | 211 local function DBEntry(data_type, unit_id) | 
