Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API SpellGetVisibilityInfo

Last wiki revision 2022-07-21

Checks if the spell should be visible, depending on spellId and raid combat status hasCustom, alwaysShowMine, showForMySpec = SpellGetVisibilityInfo(spellId, visType)

  • spellId: - The ID of the spell to check
  • visType: - either "RAID_INCOMBAT" if in combat, "RAID_OUTOFCOMBAT" otherwise
  • hasCustom: - whether the spell visibility should be customized, if false it means always display
  • alwaysShowMine: - whether to show the spell if cast by the player/player's pet/vehicle (e.g. the Paladin Forbearance debuff)
  • showForMySpec: - whether to show the spell for the current specialization of the player
  • This is used by Blizzard's compact frame until 8.2.5, for whether it should be shown in the raid UI.

Source

https://warcraft.wiki.gg/wiki/API_SpellGetVisibilityInfo · 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.