From ebeb65f12e047e2f8938dfc3c6e8ce09338c518c Mon Sep 17 00:00:00 2001 From: Logan Payton Date: Wed, 16 May 2018 16:51:51 -0400 Subject: [PATCH] Revert this for now - might be better to just update usages --- !Compatibility/api/wowAPI.lua | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/!Compatibility/api/wowAPI.lua b/!Compatibility/api/wowAPI.lua index 8929cc2..bdf0ad4 100644 --- a/!Compatibility/api/wowAPI.lua +++ b/!Compatibility/api/wowAPI.lua @@ -145,15 +145,11 @@ function UnitAura(unit, i, filter) end if not filter or match(filter, "(HELPFUL)") then - -- local name, rank, aura, count, duration, maxDuration = UnitBuff(unit, i, filter) - -- return name, rank, aura, count, nil, duration or 0, maxDuration or 0 - local icon, count, debuffType = UnitBuff(unit, i, filter) - return icon, count, icon, count, debuffType, 0, 0 + local name, rank, aura, count, duration, maxDuration = UnitBuff(unit, i, filter) + return name, rank, aura, count, nil, duration or 0, maxDuration or 0 else - -- local name, rank, aura, count, dType, duration, maxDuration = UnitDebuff(unit, i, filter) - -- return name, rank, aura, count, dType, duration or 0, maxDuration or 0 - local icon, count, debuffType = UnitDebuff(unit, i, filter) - return icon, count, icon, count, debuffType, 0, 0 + local name, rank, aura, count, dType, duration, maxDuration = UnitDebuff(unit, i, filter) + return name, rank, aura, count, dType, duration or 0, maxDuration or 0 end end