Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPlayerAuraBySpellID

Last wiki revision 2023-06-14

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

  • spellID:
  • Returns if there is no active aura with that spell ID.
  • The advantage over is this function does not require iterating over a list of auras for a specific 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.

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

Source

https://warcraft.wiki.gg/wiki/API_GetPlayerAuraBySpellID · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.