add maintank/mainassist trigger options
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user