from retail

This commit is contained in:
NoM0Re
2025-01-23 19:40:40 +01:00
parent e1e0744ecf
commit 4ed4d4159b
15 changed files with 118 additions and 27 deletions
+2 -2
View File
@@ -2279,7 +2279,7 @@ local function createScanFunc(trigger)
local names = {}
for index, spellName in ipairs(trigger.ignoreAuraNames) do
local spellId = WeakAuras.SafeToNumber(spellName)
local name = GetSpellInfo(spellId or 0) or spellName
local name = spellId and GetSpellInfo(spellId or 0) or spellName
tinsert(names, name)
end
@@ -2386,7 +2386,7 @@ function BuffTrigger.Add(data)
names = {}
for index, spellName in ipairs(trigger.auranames) do
local spellId = WeakAuras.SafeToNumber(spellName)
names[index] = GetSpellInfo(spellId or 0) or spellName
names[index] = spellId and GetSpellInfo(spellId or 0) or spellName
end
end