fix libs not loading, use libgrouptalents, but still not working
This commit is contained in:
@@ -711,6 +711,40 @@ local function GetBuffTriggerOptions(data, triggernum)
|
||||
and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party") and not trigger.use_includePets)
|
||||
end
|
||||
},
|
||||
useActualSpec = {
|
||||
type = "toggle",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Filter by Specialization"],
|
||||
desc = L["Requires LibSpecialization, that is e.g. a up-to date WeakAuras version"],
|
||||
order = 66.3,
|
||||
hidden = function() return
|
||||
not (trigger.type == "aura2" and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"))
|
||||
end,
|
||||
},
|
||||
actualSpec = {
|
||||
type = "multiselect",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Actual Spec"],
|
||||
desc = L["Requires syncing the specialization via LibSpecialization."],
|
||||
values = OptionsPrivate.Private.spec_types_all,
|
||||
hidden = function()
|
||||
return not (trigger.type == "aura2"
|
||||
and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party")
|
||||
and trigger.useActualSpec)
|
||||
end,
|
||||
order = 66.4
|
||||
},
|
||||
actualSpecSpace = {
|
||||
type = "description",
|
||||
name = "",
|
||||
order = 66.5,
|
||||
width = WeakAuras.normalWidth,
|
||||
hidden = function()
|
||||
return not (trigger.type == "aura2"
|
||||
and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party")
|
||||
and not trigger.useActualSpec)
|
||||
end
|
||||
},
|
||||
useRaidRole = {
|
||||
type = "toggle",
|
||||
width = WeakAuras.normalWidth,
|
||||
|
||||
Reference in New Issue
Block a user