From a5fd1840c7f1400a1e691f932599df632cfe84ea Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 6 May 2016 15:32:07 +0200 Subject: [PATCH] -Updated the libs, added in the ones I deleded (maybe later they'll be deleted). -Added DRData lib. -Fixed CallbackHandler now being loaded when the addon wants to run. -Added Power Word: Shield. -Todos updated. --- Vect.lua | 2 + data/options.lua | 30 +- data/spells.lua | 14 + embeds.xml | 9 +- lib/AceBucket-3.0/AceBucket-3.0.lua | 293 ++++++++++ lib/AceBucket-3.0/AceBucket-3.0.xml | 4 + lib/AceComm-3.0/AceComm-3.0.lua | 309 ++++++++++ lib/AceComm-3.0/AceComm-3.0.xml | 5 + lib/AceComm-3.0/ChatThrottleLib.lua | 503 ++++++++++++++++ lib/AceHook-3.0/AceHook-3.0.lua | 514 ++++++++++++++++ lib/AceHook-3.0/AceHook-3.0.xml | 4 + lib/AceLocale-3.0/AceLocale-3.0.lua | 136 +++++ lib/AceLocale-3.0/AceLocale-3.0.xml | 4 + lib/AceSerializer-3.0/AceSerializer-3.0.lua | 281 +++++++++ lib/AceSerializer-3.0/AceSerializer-3.0.xml | 4 + lib/AceTab-3.0/AceConfigTab-3.0.lua | 105 ++++ lib/AceTab-3.0/AceTab-3.0.lua | 443 ++++++++++++++ lib/AceTab-3.0/AceTab-3.0.xml | 5 + lib/AceTimer-3.0/AceTimer-3.0.lua | 473 +++++++++++++++ lib/AceTimer-3.0/AceTimer-3.0.xml | 4 + lib/DRData-1.0/DRData-1.0.lua | 614 ++++++++++++++++++++ lib/DRData-1.0/DRData-1.0.toc | 15 + lib/DRData-1.0/DRData-1.0.xml | 4 + 23 files changed, 3759 insertions(+), 16 deletions(-) create mode 100644 lib/AceBucket-3.0/AceBucket-3.0.lua create mode 100644 lib/AceBucket-3.0/AceBucket-3.0.xml create mode 100644 lib/AceComm-3.0/AceComm-3.0.lua create mode 100644 lib/AceComm-3.0/AceComm-3.0.xml create mode 100644 lib/AceComm-3.0/ChatThrottleLib.lua create mode 100644 lib/AceHook-3.0/AceHook-3.0.lua create mode 100644 lib/AceHook-3.0/AceHook-3.0.xml create mode 100644 lib/AceLocale-3.0/AceLocale-3.0.lua create mode 100644 lib/AceLocale-3.0/AceLocale-3.0.xml create mode 100644 lib/AceSerializer-3.0/AceSerializer-3.0.lua create mode 100644 lib/AceSerializer-3.0/AceSerializer-3.0.xml create mode 100644 lib/AceTab-3.0/AceConfigTab-3.0.lua create mode 100644 lib/AceTab-3.0/AceTab-3.0.lua create mode 100644 lib/AceTab-3.0/AceTab-3.0.xml create mode 100644 lib/AceTimer-3.0/AceTimer-3.0.lua create mode 100644 lib/AceTimer-3.0/AceTimer-3.0.xml create mode 100644 lib/DRData-1.0/DRData-1.0.lua create mode 100644 lib/DRData-1.0/DRData-1.0.toc create mode 100644 lib/DRData-1.0/DRData-1.0.xml diff --git a/Vect.lua b/Vect.lua index f7f7faf..a1e744f 100644 --- a/Vect.lua +++ b/Vect.lua @@ -3,6 +3,8 @@ --Enable/disable on frames --Player Entering World -> cleanup the db --CD Sort Order +--Chat Command +--DR timers --"Globals" local aceDB = LibStub("AceDB-3.0") diff --git a/data/options.lua b/data/options.lua index 7ce545e..72b28d6 100644 --- a/data/options.lua +++ b/data/options.lua @@ -22,40 +22,40 @@ function Vect:GetVectOptions() end }, targetandfocus = { - type = "group", name = "T. and F. CDs", desc = "Cooldown frame's settings.", childGroups = "tab", order = 3, + type = "group", name = "T. and F. CDs", desc = "Cooldown frame's settings.", childGroups = "tab", order = 2, args = Vect:getTargetandFocusOptions(); }, droptions = { - type = "group", name = "T. and F. DRs", desc = "DR frame's settings.", childGroups = "tab",order = 4, + type = "group", name = "T. and F. DRs", desc = "DR frame's settings.", childGroups = "tab",order = 3, args = Vect:getDROptions(); }, selfdr = { - type = "group", name = "Self DRs", desc = "Self DR frame's settings.", childGroups = "tab",order = 5, + type = "group", name = "Self DRs", desc = "Self DR frame's settings.", childGroups = "tab",order = 4, args = Vect:getSelfDROptions() }, debugoptions = { - type = "group", name = "Debug", desc = "Debug settings.", childGroups = "tab",order = 6, + type = "group", name = "Debug", desc = "Debug settings.", childGroups = "tab",order = 5, args = Vect:getDebugOptions(); } } } return options; end - +--order 10-20 function Vect:getTargetandFocusOptions() local args = { targetHeader = { type = "header", name = "Target's settings", order = 10 }, targettoggle = { - type = "toggle", name = "Target", desc = "Enable/Disable showing the target's cooldowns", order = 3, + type = "toggle", name = "Target", desc = "Enable/Disable showing the target's cooldowns", order = 11, get = function() return Vect:isPartEnabled("target") end, set = function(_, v) Vect:SetPartEnabledOrDisabled("target", v); end }, targetrange = { - type = "range", name = "Target's size", order = 11, min = 10, max = 150, step = 1, + type = "range", name = "Target's size", order = 12, min = 10, max = 150, step = 1, get = function() return Vect:getFrameSize("target") end, set = function(_, v) Vect:setFrameSize("target", v); @@ -64,7 +64,7 @@ function Vect:getTargetandFocusOptions() }, targetGrowSelect = { type = "select", style = "dropdown", name = "targetGrow", - desc = "Change which way the target's cooldowns will grow", order = 12, + desc = "Change which way the target's cooldowns will grow", order = 13, values = { ["1"] = "Up", ["2"] = "Right", @@ -78,7 +78,7 @@ function Vect:getTargetandFocusOptions() }, targetSortSelect = { type = "select", style = "dropdown", name = "targetSortOrder", - desc = "Change the target's cooldowns's sort order", order = 13, + desc = "Change the target's cooldowns's sort order", order = 14, values = { ["1"] = "Ascending", ["2"] = "Descending", @@ -91,18 +91,18 @@ function Vect:getTargetandFocusOptions() Vect:setSortOrder("target", v); end }, - focusHeader = { - type = "header", name = "Focus's settings", order = 14 + focusHeader = { + type = "header", name = "Focus's settings", order = 15 }, focustoggle = { - type = "toggle", name = "Focus", desc = "Enable/Disable showing the focus's cooldowns", order = 8, + type = "toggle", name = "Focus", desc = "Enable/Disable showing the focus's cooldowns", order = 16, get = function() return Vect:isPartEnabled("focus") end, set = function(_, v) Vect:SetPartEnabledOrDisabled("focus", v); end }, focusRange = { - type = "range", name = "Focus's size", order = 15, min = 10, max = 150, step = 1, + type = "range", name = "Focus's size", order = 17, min = 10, max = 150, step = 1, get = function() return Vect:getFrameSize("focus") end, set = function(_, v) Vect:setFrameSize("focus", v); @@ -110,7 +110,7 @@ function Vect:getTargetandFocusOptions() }, focusGrowSelect = { type = "select", style = "dropdown", name = "focusGrow", - desc = "Change which way the focus's cooldowns will grow", order = 16, + desc = "Change which way the focus's cooldowns will grow", order = 18, values = { ["1"] = "Up", ["2"] = "Right", @@ -124,7 +124,7 @@ function Vect:getTargetandFocusOptions() }, focusSortSelect = { type = "select", style = "dropdown", name = "focusSortOrder", - desc = "Change the focus's cooldowns's sort order", order = 17, + desc = "Change the focus's cooldowns's sort order", order = 19, values = { ["1"] = "Ascending", ["2"] = "Descending", diff --git a/data/spells.lua b/data/spells.lua index 34d3c9a..b1567cf 100644 --- a/data/spells.lua +++ b/data/spells.lua @@ -170,6 +170,20 @@ Vect.spells = { [14751] = {144, nil}, --Inner Focus [33206] = {144, nil}, --Pain Supression [10060] = {96, nil}, --Power infusion + [17] = {15, nil}, --Power Word: Shield r1 + [592] = {15, nil}, --Power Word: Shield r2 + [600] = {15, nil}, --Power Word: Shield r3 + [3747] = {15, nil}, --Power Word: Shield r4 + [6065] = {15, nil}, --Power Word: Shield r5 + [6066] = {15, nil}, --Power Word: Shield r6 + [10898] = {15, nil}, --Power Word: Shield r7 + [10899] = {15, nil}, --Power Word: Shield r8 + [10900] = {15, nil}, --Power Word: Shield r9 + [10901] = {15, nil}, --Power Word: Shield r10 + [25217] = {15, nil}, --Power Word: Shield r11 + [25218] = {15, nil}, --Power Word: Shield r12 + [48065] = {15, nil}, --Power Word: Shield r13 + [48066] = {15, nil}, --Power Word: Shield r14 --Holy [19203] = {120, nil}, --Desperate Prayer r1 [19238] = {120, nil}, --Desperate Prayer r2 diff --git a/embeds.xml b/embeds.xml index 1840d46..80c290f 100644 --- a/embeds.xml +++ b/embeds.xml @@ -4,14 +4,21 @@ ..\FrameXML\UI.xsd">