Added in profiles.

This commit is contained in:
Relintai 2016-05-06 15:36:07 +02:00
parent a5fd1840c7
commit 1729952a98
2 changed files with 7 additions and 5 deletions

View File

@ -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;

View File

@ -1,3 +1,4 @@
Vect.spells = {
--Trinkets
[42292] = {120, nil}, --PvP Trinket