(cherry picked from commit 384e558df3ea25bab143ccc4043b91b5e7454e62)
This commit is contained in:
NoM0Re
2025-11-28 20:45:13 -07:00
committed by andrew6180
parent 1879f360fa
commit 83c8ebe861
34 changed files with 294 additions and 159 deletions
+19
View File
@@ -320,6 +320,15 @@ local function GetBuffTriggerOptions(data, triggernum)
end,
desc = L["• |cff00ff00Player|r, |cff00ff00Target|r, |cff00ff00Focus|r, and |cff00ff00Pet|r correspond directly to those individual unitIDs.\n• |cff00ff00Specific Unit|r lets you provide a specific valid unitID to watch.\n|cffff0000Note|r: The game will not fire events for all valid unitIDs, making some untrackable by this trigger.\n• |cffffff00Party|r, |cffffff00Raid|r, |cffffff00Boss|r, |cffffff00Arena|r, and |cffffff00Nameplate|r can match multiple corresponding unitIDs.\n• |cffffff00Smart Group|r adjusts to your current group type, matching just the \"player\" when solo, \"party\" units (including \"player\") in a party or \"raid\" units in a raid.\n• |cffffff00Multi-target|r attempts to use the Combat Log events, rather than unitID, to track affected units.\n|cffff0000Note|r: Without a direct relationship to actual unitIDs, results may vary.\n\n|cffffff00*|r Yellow Unit settings can match multiple units and will default to being active even while no affected units are found without a Unit Count or Match Count setting."],
},
multiWarning = {
type = "description",
width = WeakAuras.doubleWidth,
name = L["The Multi Target mode is less reliable and not recommended."],
order = 10.15,
hidden = function()
return not (trigger.type == "aura2" and trigger.unit == "multi")
end,
},
useSpecificUnit = {
type = "toggle",
width = WeakAuras.normalWidth,
@@ -397,6 +406,16 @@ local function GetBuffTriggerOptions(data, triggernum)
and not trigger.use_debuffClass)
end
},
multiNoFilterWarning = {
type = "description",
width = WeakAuras.doubleWidth,
name = L["The Multi Target mode requires a name or spell id filter"],
order = 11.9,
hidden = function()
return not (trigger.type == "aura2" and trigger.unit == "multi"
and not trigger.useName and not trigger.useExactSpellId)
end
},
useName = {
type = "toggle",
name = L["Name(s)"],