C_UnitAuras. GetAuraBaseDuration
functionguessedavailable in: camelot
Returns the base duration of the given spell (or aura). Takes an optional spellID to use as the new duration if that cannot be derived from the aura, if that value isn't supplied the aura's spellID will be used
function C_UnitAuras.GetAuraBaseDuration( auraInstanceUnit: string, auraInstanceID: number, spellID: SpellIdentifier?): number?Parameters
| name | type |
|---|---|
auraInstanceUnit | string |
auraInstanceID | number |
spellID | SpellIdentifier? |
Returns
newDuration · number?
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.
- Requires valid unit aura instance.
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (UnitAuras system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.