API SpellGetVisibilityInfo

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

Arguments

 * spellId : - The ID of the spell to check
 * visType : - either "RAID_INCOMBAT" if in combat, "RAID_OUTOFCOMBAT" otherwise

Returns

 * 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

Details

 * This is used by Blizzard's compact frame until 8.2.5, for whether it should be shown in the raid UI.