add maintank/mainassist trigger options

This commit is contained in:
NoM0Re
2024-07-08 02:01:30 +02:00
parent b7dac42f5a
commit d3eee1e364
4 changed files with 128 additions and 2 deletions
+28 -1
View File
@@ -700,7 +700,34 @@ local function GetBuffTriggerOptions(data, triggernum)
and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party") and not trigger.use_includePets)
end
},
useRaidRole = {
type = "toggle",
width = WeakAuras.normalWidth,
name = L["Filter by Raid Role"],
order = 67.4,
hidden = function() return
not (trigger.type == "aura2" and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"))
end
},
raid_role = {
type = "multiselect",
width = WeakAuras.normalWidth,
name = L["Raid Role"],
values = OptionsPrivate.Private.raid_role_types,
hidden = function() return
not (trigger.type == "aura2" and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party") and trigger.useRaidRole)
end,
order = 67.5
},
raid_roleSpace = {
type = "description",
name = "",
order = 67.6,
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.useRaidRole)
end
},
useClass = {
type = "toggle",
width = WeakAuras.normalWidth,