Method SpellInfo:IsAbilityOfSkillType [-] [+]
Checks if the SpellInfo represents an ability of a specific skill type.
This function allows checking if a spell or ability belongs to a specific skill type. The skill type is often represented as an integral value (in this case, uint32), where each value may correspond to a different skill category such as crafting, combat, magic, etc.
Synopsis
is_ability_of_skill_type = SpellInfo:IsAbilityOfSkillType( skillType )
Arguments
uint32 skillType
- See method description.
Returns
bool is_ability_of_skill_type
- See method description.