v0.13.7

C_TooltipInfo.GetUnitDebuff

functionguessedavailable in: camelot

Returns the tooltip data for a harmful aura on the unit, by index. · description by wowlua

signaturewowlua
function C_TooltipInfo.GetUnitDebuff(    unitToken: UnitTokenRestrictedForAddOns,    index: number,    filter: AuraFilters?): TooltipData?

Parameters

nametypedescription
unitTokenUnitTokenRestrictedForAddOns
indexnumberIndex of the debuff among the unit's harmful auras.
filterAuraFilters?Aura filter that narrows which auras are counted.

Returns

data · TooltipData?

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

  • Requires unit aura access.

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TooltipInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.