ObjectAura

Get an objects hidden aura

ObjectAura(object, index) : UnitAura or nil
-- Alt
GetUnitAura(object, index)

Example

Iterate through all ObjectAura.

for i = 1, 40 do
local _, _, count, _, _, _, _, _, _, spellId, _, _, _, _, _ = UnitAura("player", i, "HELPFUL")
-- Do something with spellId
end