Quantcast

Some loot changes i think?

Repooc [10-09-14 - 04:51]
Some loot changes i think?

Signed-off-by: Repooc <repooc82@gmail.com>
Filename
ElvUI_SLE/defaults/profile.lua
ElvUI_SLE/modules/loot.lua
ElvUI_SLE/options/core_c.lua
diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua
index baaf0d5..29057d7 100644
--- a/ElvUI_SLE/defaults/profile.lua
+++ b/ElvUI_SLE/defaults/profile.lua
@@ -1,4 +1,4 @@
-local E, L, V, P, G = unpack(ElvUI);
+local E, L, V, P, G = unpack(ElvUI);

 P['sle'] = {
 	--Auras
@@ -259,7 +259,7 @@ P['sle'] = {
 			['auto'] = true,
 			['channel'] = "RAID",
 			['enable'] = false,
-			['override'] = 5,
+			['override'] = '5',
 			['quality'] = "EPIC",
 		},
 		['history'] = {
diff --git a/ElvUI_SLE/modules/loot.lua b/ElvUI_SLE/modules/loot.lua
index 5c76cd2..1105dcc 100644
--- a/ElvUI_SLE/modules/loot.lua
+++ b/ElvUI_SLE/modules/loot.lua
@@ -36,13 +36,13 @@ local function ModifierCheck()
 	local ctrlDown = IsControlKeyDown();
 	local altDown = IsAltKeyDown();

-	if heldModifier == 3 and shiftDown then
+	if heldModifier == '3' and shiftDown then
 		return true
-	elseif heldModifier == 4 and ctrlDown then
+	elseif heldModifier == '4' and ctrlDown then
 		return true
-	elseif heldModifier == 5 and altDown then
+	elseif heldModifier == '5' and altDown then
 		return true
-	elseif heldModifier == 2 then
+	elseif heldModifier == '2' then
 		return true
 	end

diff --git a/ElvUI_SLE/options/core_c.lua b/ElvUI_SLE/options/core_c.lua
index 228308d..1583f8b 100644
--- a/ElvUI_SLE/options/core_c.lua
+++ b/ElvUI_SLE/options/core_c.lua
@@ -1,4 +1,4 @@
-local E, L, V, P, G = unpack(ElvUI);
+local E, L, V, P, G = unpack(ElvUI);
 local SLE = E:GetModule('SLE')
 local LT = E:GetModule('SLE_Loot')