Skip to content

Commit

Permalink
Fixed incorrect auraData unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Jul 25, 2024
1 parent 638f26f commit 9e4d428
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Aptechka.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3205,16 +3205,19 @@ end
---------------------------
local function UnpackAuraData(auraData)
return
-- name, icon, count, debuffType, duration, expirationTime, caster, _,_, spellID, canApplyAura, isBossAura
auraData.name,
auraData.icon,
auraData.charges,
auraData.applications,
auraData.dispelName,
auraData.duration,
auraData.expirationTime,
auraData.sourceUnit,
nil,
nil,
auraData.spellId
auraData.spellId,
nil,
auraData.isBossAura
end

local GetAuraDataUniversal -- If available it's using slots API, otherwise just normal UnitAura
Expand Down

0 comments on commit 9e4d428

Please sign in to comment.