C_UnitAuras .GetCooldownAuraBySpellID
Jump to navigation
Jump to search
Obtains the spell ID of a passive cooldown effect associated with a spell.
passiveCooldownSpellID = C_UnitAuras.GetCooldownAuraBySpellID(spellID)
Arguments
- spellID
- number - The spell ID to query.
Returns
- passiveCooldownSpellID
- number? - The spell ID of an associated passive aura effect, if any.
Details
- This API is used in conjunction with C_UnitAuras.GetPlayerAuraBySpellID to display passive effect cooldowns on action buttons.
Patch changes
Patch 10.0.0 (2022-10-25): Added.