v0.13.8

C_UnitAuras.GetRefreshCarryOverDuration

functionguessedavailable in: camelot

Returns the client-predicted amount of time that a new spellcast of the same spell would carry over to the new application of that 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

signaturewowlua
function C_UnitAuras.GetRefreshCarryOverDuration(    auraInstanceUnit: string,    auraInstanceID: number,    spellID: SpellIdentifier?): number?

Parameters

nametype
auraInstanceUnitstring
auraInstanceIDnumber
spellIDSpellIdentifier?

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 ↗.