from retail

This commit is contained in:
NoM0Re
2025-01-05 16:59:33 +01:00
parent 8375cfa0a7
commit 40dcae7bcf
40 changed files with 54 additions and 120 deletions
+2 -3
View File
@@ -318,7 +318,6 @@ local function GetCustomTriggerOptions(data, triggernum)
test = "function",
events = "table",
values = "table",
display = "string"
}
local function validateCustomVariables(variables)
@@ -491,10 +490,10 @@ local function GetGenericTriggerOptions(data, triggernum)
}
if (triggerType == "custom") then
WeakAuras.Mixin(options, GetCustomTriggerOptions(data, triggernum, trigger));
WeakAuras.Mixin(options, GetCustomTriggerOptions(data, triggernum));
elseif (OptionsPrivate.Private.category_event_prototype[triggerType]) then
local prototypeOptions;
local trigger, untrigger = data.triggers[triggernum].trigger, data.triggers[triggernum].untrigger;
local trigger = data.triggers[triggernum].trigger
if(OptionsPrivate.Private.event_prototypes[trigger.event]) then
prototypeOptions = OptionsPrivate.ConstructOptions(OptionsPrivate.Private.event_prototypes[trigger.event], data, 10, triggernum);
if (trigger.event == "Combat Log") then