From 3b54ba3d74c55a8193585b08d8622006b608570b Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Tue, 23 Jul 2024 21:10:51 +0200 Subject: [PATCH] Update for TWW --- {Kui_Stanzilla/.vscode => .vscode}/settings.json | 0 Kui_Stanzilla/Kui_Stanzilla.toc | 2 +- Kui_Stanzilla/kui.bolstering.lua | 8 ++++++++ 3 files changed, 9 insertions(+), 1 deletion(-) rename {Kui_Stanzilla/.vscode => .vscode}/settings.json (100%) diff --git a/Kui_Stanzilla/.vscode/settings.json b/.vscode/settings.json similarity index 100% rename from Kui_Stanzilla/.vscode/settings.json rename to .vscode/settings.json diff --git a/Kui_Stanzilla/Kui_Stanzilla.toc b/Kui_Stanzilla/Kui_Stanzilla.toc index cd6f9f6..7f57991 100644 --- a/Kui_Stanzilla/Kui_Stanzilla.toc +++ b/Kui_Stanzilla/Kui_Stanzilla.toc @@ -1,4 +1,4 @@ -## Interface: 100100 +## Interface: 40400, 110000, 110002 ## Title: Kui_Stanzilla ## OptionalDeps: Kui_Nameplates_Core ## IconTexture: 132177 diff --git a/Kui_Stanzilla/kui.bolstering.lua b/Kui_Stanzilla/kui.bolstering.lua index 3b27e7d..bd5a76a 100644 --- a/Kui_Stanzilla/kui.bolstering.lua +++ b/Kui_Stanzilla/kui.bolstering.lua @@ -6,6 +6,14 @@ if not mod then return end +local UnitAura = function(unitToken, index, filter) + if C_UnitAuras and C_UnitAuras.GetAuraDataByIndex then + return AuraUtil.UnpackAuraData(C_UnitAuras.GetAuraDataByIndex(unitToken, index, filter)) + elseif _G.UnitAura then + return _G.UnitAura(unitToken, index, filter) end + return nil +end + function mod.Bolster(f) if f.id == 99 then local c = 0