add NP_EnableEnhancedTooltips

This commit is contained in:
avitasia
2026-04-01 12:55:37 -07:00
parent 4ae9548389
commit 5ef8d6087d
3 changed files with 32 additions and 2 deletions
+5 -2
View File
@@ -92,7 +92,7 @@ function PrintBuffs(unit)
if not texture then
break
end
print(tostring(i) .. " " .. tostring(spellId))
print(tostring(i) .. " " .. texture .. " " .. tostring(spellId))
end
end
@@ -101,7 +101,10 @@ function PrintAuras(unit)
local applications = GetUnitField(unit, "auraApplications")
if not auras then return end
for i, auraId in ipairs(auras) do
local stacks = (applications[i] or 0) + 1
local stacks = -1
if applications then
local stacks = (applications[i] or 0) + 1
end
if auraId > 0 then
print(tostring(i) .. " " .. tostring(auraId) .. " x" .. tostring(stacks))
end