changeset 31:f874d5f53f94 v1.7.2.2

Added changes for recent nerf to number of dungeons required for hidden appearence. Was 100, now 30 - spotlight has been updated accordingly
author Vynn <mischivin@gmail.com>
date Thu, 13 Apr 2017 11:23:11 -0400
parents 05f293c8e1f2
children ed163067855b
files Spotlight.lua
diffstat 1 files changed, 23 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/Spotlight.lua	Thu Apr 13 11:22:08 2017 -0400
+++ b/Spotlight.lua	Thu Apr 13 11:23:11 2017 -0400
@@ -40,25 +40,30 @@
 end
 
 local function Initialize()
-	if not Spotlight.Status then
-		Spotlight.Status = {
-			Dungeons = {
-				Completed = false,
-				Progress = 0,
-				Max = 100,
-			},
-			WorldQuests = {
-				Completed = false,
-				Progress = 0,
-				Max = 200,
-			},
-			PvP = {
-				Completed = false,
-				Progress = 0,
-				Max = 1000,
-			},
-		};
+	if not spotlight then 
+		spotlight = {};
+	end
+	Spotlight.Status = {
+		Dungeons = {
+			Completed = false,
+			Progress = 0,
+			Max = 30,
+		},
+		WorldQuests = {
+			Completed = false,
+			Progress = 0,
+			Max = 200,
+		},
+		PvP = {
+			Completed = false,
+			Progress = 0,
+			Max = 1000,
+		},
+	};
+	if Spotlight.ShowPercent == nil then
 		Spotlight.ShowPercent = true;
+	end
+	if Spotlight.ShowIcon == nil then
 		Spotlight.ShowIcon = false;
 	end