mirror of
https://github.com/Relintai/Relintais-Enemy-Kooldown-Tracker-WotLK.git
synced 2024-11-08 10:12:11 +01:00
Added in spec detection option.
Bumped version to 0.9
This commit is contained in:
parent
19f535a214
commit
a5d137b76f
1
Vect.lua
1
Vect.lua
@ -38,6 +38,7 @@ Vect.defaults = {
|
|||||||
spellAuraDebug = false,
|
spellAuraDebug = false,
|
||||||
allCDebug = false,
|
allCDebug = false,
|
||||||
selfCDRegister = false,
|
selfCDRegister = false,
|
||||||
|
specdetection = false,
|
||||||
target = {
|
target = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
size = 27,
|
size = 27,
|
||||||
|
2
Vect.toc
2
Vect.toc
@ -6,7 +6,7 @@
|
|||||||
## DefaultState: Enabled
|
## DefaultState: Enabled
|
||||||
## OptionalDeps: Ace3
|
## OptionalDeps: Ace3
|
||||||
## SavedVariables: VectDB
|
## SavedVariables: VectDB
|
||||||
## Version: 0.75
|
## Version: 0.9
|
||||||
|
|
||||||
embeds.xml
|
embeds.xml
|
||||||
data\global.lua
|
data\global.lua
|
||||||
|
@ -72,6 +72,18 @@ function Vect:SetDRPartEnabledOrDisabled(which, enable)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Vect:isSpecDetectionEnabled()
|
||||||
|
local db = Vect.db.profile;
|
||||||
|
return db["specdetection"];
|
||||||
|
end
|
||||||
|
|
||||||
|
function Vect:setSpecDetectionEnabledorDisabled(enable)
|
||||||
|
local db = Vect.db.profile;
|
||||||
|
db["specdetection"] = enable;
|
||||||
|
--call the remapcooldowns, and then update
|
||||||
|
--self:ReassignCds(which);
|
||||||
|
end
|
||||||
|
|
||||||
--lock
|
--lock
|
||||||
function Vect:isLocked()
|
function Vect:isLocked()
|
||||||
return Vect.db.profile["locked"];
|
return Vect.db.profile["locked"];
|
||||||
|
@ -141,6 +141,16 @@ function Vect:getTargetandFocusOptions()
|
|||||||
set = function(_, v)
|
set = function(_, v)
|
||||||
Vect:setSortOrder("focus", v);
|
Vect:setSortOrder("focus", v);
|
||||||
end
|
end
|
||||||
|
},
|
||||||
|
globalHeader = {
|
||||||
|
type = "header", name = "Global settings", order = 20
|
||||||
|
},
|
||||||
|
specdetectiontoggle = {
|
||||||
|
type = "toggle", name = "Spec Detection", desc = "Enable/Disable Spec Detection", order = 21,
|
||||||
|
get = function() return Vect:isSpecDetectionEnabled() end,
|
||||||
|
set = function(_, v)
|
||||||
|
Vect:setSpecDetectionEnabledorDisabled(v);
|
||||||
|
end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return args;
|
return args;
|
||||||
|
Loading…
Reference in New Issue
Block a user