SpellGetVisibilityInfo
Jump to navigation
Jump to search
Checks if the spell should be visible, depending on spellId and raid combat status
hasCustom, alwaysShowMine, showForMySpec = SpellGetVisibilityInfo(spellId, visType)
Arguments
- spellId
- number - The ID of the spell to check
- visType
- string - either "RAID_INCOMBAT" if in combat, "RAID_OUTOFCOMBAT" otherwise
Returns
- hasCustom
- boolean - whether the spell visibility should be customized, if false it means always display
- alwaysShowMine
- boolean - whether to show the spell if cast by the player/player's pet/vehicle (e.g. the Paladin Forbearance debuff)
- showForMySpec
- boolean - whether to show the spell for the current specialization of the player
Details
- This is used by Blizzard's compact frame until 8.2.5, for whether it should be shown in the raid UI.[1]
Exernal links
- GitHub FrameXML, Gethe
- Globe "wut?" Tool, Townlong-Yak
References
- ^ 2020-04-28, Deprecated_8_2_5.lua, version 8.2.5.31960, near line 159, archived at Townlong-Yak