Quantcast

Fixed Affi's addons

Darthpred [07-29-16 - 09:08]
Fixed Affi's addons
Filename
CHANGELOG.txt
ElvUI_SLE/core/install.lua
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 95ce990..6a4474f 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,6 +1,7 @@
 v3.09
 Fixes:
 - Fixed instance indicator not updating when difficulty is changed inside the instance
+- Fixed Affinitii's addons profile not actually applying (got exactly zero reports on that one, shows how much people actually wanted the thing)

 v3.08 07/28/2016
 Fixes:
diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua
index 815de9e..8b2cb21 100644
--- a/ElvUI_SLE/core/install.lua
+++ b/ElvUI_SLE/core/install.lua
@@ -288,7 +288,7 @@ function PI:DarthSetup()
 		E.db["unitframe"]["units"]["player"]["raidicon"]["size"] = 24
 		E.db["unitframe"]["units"]["player"]["debuffs"]["yOffset"] = 15
 		E.db["unitframe"]["units"]["player"]["portrait"]["enable"] = true
-		E.db["unitframe"]["units"]["player"]["portrait"]["camDistanceScale"] = 6
+		E.db["unitframe"]["units"]["player"]["portrait"]["camDistanceScale"] = 3
 		E.db["unitframe"]["units"]["player"]["portrait"]["overlay"] = true
 		E.db["unitframe"]["units"]["player"]["castbar"]["height"] = 22
 		E.db["unitframe"]["units"]["player"]["castbar"]["width"] = 220
@@ -318,7 +318,7 @@ function PI:DarthSetup()
 		E.db["unitframe"]["units"]["player"]["pvp"]["text_format"] = "[pvptimer]"

 		E.db["unitframe"]["units"]["target"]["portrait"]["enable"] = true
-		E.db["unitframe"]["units"]["target"]["portrait"]["camDistanceScale"] = 6
+		E.db["unitframe"]["units"]["target"]["portrait"]["camDistanceScale"] = 3
 		E.db["unitframe"]["units"]["target"]["portrait"]["overlay"] = true
 		E.db["unitframe"]["units"]["target"]["castbar"]["width"] = 200
 		E.db["unitframe"]["units"]["target"]["customTexts"] = {}
@@ -340,6 +340,7 @@ function PI:DarthSetup()
 		E.db["unitframe"]["units"]["target"]["power"]["xOffset"] = 0
 		E.db["unitframe"]["units"]["target"]["power"]["text_format"] = "[powercolor][curpp]"
 		E.db["unitframe"]["units"]["target"]["power"]["yOffset"] = -10
+		E.db["unitframe"]["units"]["target"]["power"]["hideonnpc"] = false
 		E.db["unitframe"]["units"]["target"]["health"]["yOffset"] = -2
 		E.db["unitframe"]["units"]["target"]["health"]["position"] = "TOPRIGHT"
 		E.db["unitframe"]["units"]["target"]["height"] = 40
@@ -1423,6 +1424,8 @@ E.PopupDialogs['SLE_INSTALL_SETTINGS_ADDONS'] = {
 	OnAccept = function()
 		if PI.SLE_Auth == "DARTH" then
 			PI:DarthAddons()
+		elseif PI.SLE_Auth == "AFFINITY" then
+			AffinityAddons()
 		end
 	end,
 	OnCancel = E.noop;