Bugfixes: Removed retail API calls, ran linting script and static analysis.

This commit is contained in:
Bluewhale1337
2026-07-25 00:42:46 +02:00
parent 390067cdbd
commit c51cfa3f73
15 changed files with 65 additions and 28 deletions
@@ -23,7 +23,8 @@ local function GetDebuffType(unit, filter, filterTable)
if not unit or not UnitCanAssist("player", unit) then return nil end
local i = 1
while true do
local name, _, texture, _, debufftype = UnitAura(unit, i, "HARMFUL")
local texture, count, debufftype = UnitAura(unit, i, "HARMFUL")
local name = texture
if not texture then break end
if(filterTable) then