From 1729952a9884ce2dc1836be9fd3a0c2adb932e1c Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 6 May 2016 15:36:07 +0200 Subject: [PATCH] Added in profiles. --- data/options.lua | 11 ++++++----- data/spells.lua | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/data/options.lua b/data/options.lua index 72b28d6..cf98d0f 100644 --- a/data/options.lua +++ b/data/options.lua @@ -1,5 +1,5 @@ -local adbo = LibStub("AceDBOptions-3.0") +local aceDBOptions = LibStub("AceDBOptions-3.0") function Vect:GetVectOptions() local db = self.db.profile; @@ -22,11 +22,11 @@ function Vect:GetVectOptions() end }, targetandfocus = { - type = "group", name = "T. and F. CDs", desc = "Cooldown frame's settings.", childGroups = "tab", order = 2, + type = "group", name = "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 = 3, + type = "group", name = "DRs", desc = "DR frame's settings.", childGroups = "tab",order = 3, args = Vect:getDROptions(); }, selfdr = { @@ -34,9 +34,10 @@ function Vect:GetVectOptions() args = Vect:getSelfDROptions() }, debugoptions = { - type = "group", name = "Debug", desc = "Debug settings.", childGroups = "tab",order = 5, + type = "group", name = "Debug", desc = "Debug settings.", childGroups = "tab", order = 5, args = Vect:getDebugOptions(); - } + }, + profileoptions = aceDBOptions:GetOptionsTable(self.db) } } return options; diff --git a/data/spells.lua b/data/spells.lua index b1567cf..9d7865c 100644 --- a/data/spells.lua +++ b/data/spells.lua @@ -1,3 +1,4 @@ + Vect.spells = { --Trinkets [42292] = {120, nil}, --PvP Trinket