Mercurial > wow > spotlight-hidden-artifact-skin-tracking
comparison Spotlight.lua @ 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 | c5ff9082ba94 |
children | 6aa80031348e |
comparison
equal
deleted
inserted
replaced
30:05f293c8e1f2 | 31:f874d5f53f94 |
---|---|
38 function SlashCmdList.SPOTLIGHT(msg, editbox) | 38 function SlashCmdList.SPOTLIGHT(msg, editbox) |
39 SlashHandler(msg); | 39 SlashHandler(msg); |
40 end | 40 end |
41 | 41 |
42 local function Initialize() | 42 local function Initialize() |
43 if not Spotlight.Status then | 43 if not spotlight then |
44 Spotlight.Status = { | 44 spotlight = {}; |
45 Dungeons = { | 45 end |
46 Completed = false, | 46 Spotlight.Status = { |
47 Progress = 0, | 47 Dungeons = { |
48 Max = 100, | 48 Completed = false, |
49 }, | 49 Progress = 0, |
50 WorldQuests = { | 50 Max = 30, |
51 Completed = false, | 51 }, |
52 Progress = 0, | 52 WorldQuests = { |
53 Max = 200, | 53 Completed = false, |
54 }, | 54 Progress = 0, |
55 PvP = { | 55 Max = 200, |
56 Completed = false, | 56 }, |
57 Progress = 0, | 57 PvP = { |
58 Max = 1000, | 58 Completed = false, |
59 }, | 59 Progress = 0, |
60 }; | 60 Max = 1000, |
61 }, | |
62 }; | |
63 if Spotlight.ShowPercent == nil then | |
61 Spotlight.ShowPercent = true; | 64 Spotlight.ShowPercent = true; |
65 end | |
66 if Spotlight.ShowIcon == nil then | |
62 Spotlight.ShowIcon = false; | 67 Spotlight.ShowIcon = false; |
63 end | 68 end |
64 | 69 |
65 Spotlight.IDs = { | 70 Spotlight.IDs = { |
66 Dungeons = 11152, | 71 Dungeons = 11152, |