Mercurial > wow > ouroloot
diff core.lua @ 35:f75329fe5758
Tag LFR raids as such in difficulty string, instead of as 25.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Thu, 08 Dec 2011 08:24:59 +0000 |
parents | f1d0a5d7b006 |
children | f62d582c5c52 |
line wrap: on
line diff
--- a/core.lua Wed Dec 07 08:27:58 2011 +0000 +++ b/core.lua Thu Dec 08 08:24:59 2011 +0000 @@ -266,7 +266,9 @@ name = addon.instance_abbrev[name] or name if typeof == "none" then return name end -- diffstr is "5 Player", "10 Player (Heroic)", etc. ugh. - if diffcode == 1 then + if (GetLFGMode()) and (GetLFGModeType() == 'raid') then + t = 'LFR' + elseif diffcode == 1 then t = ((GetNumRaidMembers()>0) and "10" or "5") elseif diffcode == 2 then t = ((GetNumRaidMembers()>0) and "25" or "5h")