Quantcast

Defaulting stuff to be disabled and enabling those in my layout

Darthpred [04-22-15 - 18:24]
Defaulting stuff to be disabled and enabling those in my layout
Filename
ElvUI_SLE/core/install.lua
ElvUI_SLE/defaults/profile.lua
diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua
index 7ae367a..d2c33eb 100644
--- a/ElvUI_SLE/core/install.lua
+++ b/ElvUI_SLE/core/install.lua
@@ -461,6 +461,8 @@ function AI:DarthSetup() --The function to switch from classic ElvUI settings to
 		E.db["sle"]["dt"]["friends"]["expandBNBroadcast"] = true
 		E.db["sle"]["dt"]["guild"]["totals"] = true
 		E.db["sle"]["dt"]["guild"]["combat"] = true
+		E.db["sle"]["dt"]["durability"]["threshold"] = 50
+		E.db["sle"]["dt"]["durability"]["gradient"] = true
 		E.db["sle"]["loot"]["enable"] = true
 		E.db["sle"]["loot"]["autoroll"]["autode"] = true
 		E.db["sle"]["loot"]["autoroll"]["autoconfirm"] = true
diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua
index b8818d6..cb85114 100644
--- a/ElvUI_SLE/defaults/profile.lua
+++ b/ElvUI_SLE/defaults/profile.lua
@@ -221,8 +221,8 @@ P['sle'] = {
 			['icon'] = true,
 		},
 		['durability'] = {
-			['gradient'] = true,
-			['threshold'] = 50,
+			['gradient'] = false,
+			['threshold'] = -1,
 		}
 	},