From 7dcabaa7038b06dff4362b19c30767e6221b2900 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 6 Jul 2014 07:44:43 +0400 Subject: [PATCH] Cleaning and fixing fuck ups --- ElvUI_SLE/modules/loot/loot.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ElvUI_SLE/modules/loot/loot.lua b/ElvUI_SLE/modules/loot/loot.lua index e928148..2085b69 100755 --- a/ElvUI_SLE/modules/loot/loot.lua +++ b/ElvUI_SLE/modules/loot/loot.lua @@ -15,7 +15,7 @@ local GetLootSlotLink = GetLootSlotLink local GetLootSlotInfo = GetLootSlotInfo local improved = { - 110, --Test + --110, --Test, BC Heroic last boss epic drop ilvl --Thunderforged 528, 541, @@ -51,8 +51,8 @@ function LT:Announce() local nI = 0 local p, chat - --if not IsInGroup() then return end -- not in group, exit. - if (LT:Check() and E.db.sle.loot.auto) or (IsLeftControlKeyDown() --[[and (IsInGroup() or IsInRaid())]]) then + if not IsInGroup() then return end -- not in group, exit. + if (LT:Check() and E.db.sle.loot.auto) or (IsLeftControlKeyDown() and (IsInGroup() or IsInRaid())) then for i = 1, GetNumLootItems() do if GetLootSlotType(i) == 1 then for j = 1, t do @@ -178,7 +178,6 @@ function LT:Announce() end end elseif E.db.sle.loot.chat == "SAY" then - if numbersImp[i] == 1 then SendChatMessage(i..". "..lootImp[i], "SAY") elseif numbersImp[i] > 1 then -- 1.7.9.5