Multientry (#7)

* from retail

* from retail

* from retail

* from retail

* from retail

* from retail

* remove new threat functions as they are not well implemented for now
This commit is contained in:
NoM0Re
2024-11-27 12:09:02 +01:00
committed by GitHub
parent eb8221cf89
commit 13f734038d
67 changed files with 3493 additions and 969 deletions
+4 -6
View File
@@ -412,9 +412,8 @@ local function GetGenericTriggerOptions(data, triggernum)
name = "",
order = 7.1,
width = WeakAuras.normalWidth,
values = function()
return subtypes
end,
values = subtypes,
sorting = OptionsPrivate.Private.SortOrderForValues(subtypes),
get = function(info)
return trigger.event
end,
@@ -423,7 +422,6 @@ local function GetGenericTriggerOptions(data, triggernum)
WeakAuras.Add(data)
WeakAuras.ClearAndUpdateOptions(data.id)
end,
control = "WeakAurasSortedDropdown",
}
end
@@ -439,7 +437,7 @@ local function GetGenericTriggerOptions(data, triggernum)
width = WeakAuras.normalWidth,
order = 8,
values = OptionsPrivate.Private.subevent_prefix_types,
control = "WeakAurasSortedDropdown",
sorting = OptionsPrivate.Private.SortOrderForValues(OptionsPrivate.Private.subevent_prefix_types),
hidden = function() return not (trigger.type == combatLogCategory and trigger.event == "Combat Log"); end,
get = function(info)
return trigger.subeventPrefix
@@ -455,7 +453,7 @@ local function GetGenericTriggerOptions(data, triggernum)
name = L["Message Suffix"],
order = 9,
values = OptionsPrivate.Private.subevent_suffix_types,
control = "WeakAurasSortedDropdown",
sorting = OptionsPrivate.Private.SortOrderForValues(OptionsPrivate.Private.subevent_suffix_types),
hidden = function() return not (trigger.type == combatLogCategory and trigger.event == "Combat Log" and OptionsPrivate.Private.subevent_actual_prefix_types[trigger.subeventPrefix]); end,
get = function(info)
return trigger.subeventSuffix