Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.