fix libs not loading, use libgrouptalents, but still not working

This commit is contained in:
NoM0Re
2025-02-01 20:17:50 +01:00
parent fb09181ee7
commit 95a13c6896
57 changed files with 485 additions and 50 deletions
+34
View File
@@ -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,