diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua
index cc9da37..ba97da1 100644
--- a/ElvUI_SLE/defaults/profile.lua
+++ b/ElvUI_SLE/defaults/profile.lua
@@ -241,8 +241,7 @@ P['sle'] = {
['soo'] = false,
['leishen'] = false,
['hm'] = false,
- ['hmNormal'] = false,
- ['hmHeroic'] = false,
+ ['brf'] = false,
},
--Loot (Restructured)
diff --git a/ElvUI_SLE/modules/sledatatexts/lfr.lua b/ElvUI_SLE/modules/sledatatexts/lfr.lua
index b7d96ef..1c6f94c 100755
--- a/ElvUI_SLE/modules/sledatatexts/lfr.lua
+++ b/ElvUI_SLE/modules/sledatatexts/lfr.lua
@@ -254,12 +254,14 @@ local function TwelveShift(id1, id2, id3, id4)
end
for i =10,12 do --4th part
bossName, _, isKilled, isIneligible = GetLFGDungeonEncounterInfo(id4, i);
- if (isKilled) then
- DT.tooltip:AddDoubleLine(" "..bossName, BOSS_DEAD, RED_FONT_COLOR.r, RED_FONT_COLOR.g, RED_FONT_COLOR.b, RED_FONT_COLOR.r, RED_FONT_COLOR.g, RED_FONT_COLOR.b);
- elseif (isIneligible) then
- DT.tooltip:AddDoubleLine(" "..bossName, BOSS_ALIVE_INELIGIBLE, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b);
- else
- DT.tooltip:AddDoubleLine(" "..bossName, BOSS_ALIVE, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b);
+ if bossName then
+ if (isKilled) then
+ DT.tooltip:AddDoubleLine(" "..bossName, BOSS_DEAD, RED_FONT_COLOR.r, RED_FONT_COLOR.g, RED_FONT_COLOR.b, RED_FONT_COLOR.r, RED_FONT_COLOR.g, RED_FONT_COLOR.b);
+ elseif (isIneligible) then
+ DT.tooltip:AddDoubleLine(" "..bossName, BOSS_ALIVE_INELIGIBLE, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b);
+ else
+ DT.tooltip:AddDoubleLine(" "..bossName, BOSS_ALIVE, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b, GREEN_FONT_COLOR.r, GREEN_FONT_COLOR.g, GREEN_FONT_COLOR.b);
+ end
end
end
end
@@ -397,6 +399,14 @@ local function HM(id1, id2, id3)
end
end
+local function BRF(id1, id2, id3, id4)
+ if IsShiftKeyDown() then
+ TwelveShift(id1, id2, id3, id4);
+ else
+ TwelveKill(id1, id2, id3, id4);
+ end
+end
+
function DT:LFRShow()
local lvl = UnitLevel("player")
local ilvl = GetAverageItemLevel()
@@ -470,6 +480,15 @@ function DT:LFRShow()
end
end
+ if E.db.sle.lfrshow.brf then
+ DT.tooltip:AddLine(" "..GetMapNameByID(988))
+ if lvl == 100 and ilvl >= 640 then
+ BRF(846, 847, 848, 848);
+ else
+ DT.tooltip:AddLine(" "..L["This LFR isn't available for your level/gear."])
+ end
+ end
+
--[[if E.db.sle.lfrshow.hmNormal then
DT.tooltip:AddLine(" "..GetMapNameByID(994).." ("..PLAYER_DIFFICULTY1..")")
if lvl == 100 then
diff --git a/ElvUI_SLE/options/datatexts_c.lua b/ElvUI_SLE/options/datatexts_c.lua
index b0bfd5e..7e9109b 100644
--- a/ElvUI_SLE/options/datatexts_c.lua
+++ b/ElvUI_SLE/options/datatexts_c.lua
@@ -268,6 +268,11 @@ local function configTable()
type = "toggle",
name = GetMapNameByID(994),
},
+ brf = {
+ order = 7,
+ type = "toggle",
+ name = GetMapNameByID(988),
+ },
--[[hmNormal = {
order = 8,
type = "toggle",