API GetPlayerAuraBySpellID

Returns an active buff/debuff by spell ID on the player character. name, icon, count, debuffType, duration, expirationTime, source, isStealable, nameplateShowPersonal, spellId, canApplyAura, isBossDebuff, castByPlayer, nameplateShowAll, timeMod, ... = GetPlayerAuraBySpellID(spellID)

Arguments

 * spellID : number

Details

 * Returns  if there is no active aura with that spell ID.
 * If two spells of the same ID are active, then the first applied one will be returned until it expires and then the second applied one.

Examples
Returns if the player has the Power Word: Fortitude buff /dump GetPlayerAuraBySpellID(21562)