Returns spellID of the mastery spell for a given specialization index.
See also Talent functions.
specIndex- The specialization index to get the spells for. (Usually between 1 and 4) (
isInspect- If true, return the inspected unit's spells instead of the player's. (
isPet- If true, return the player's current pet's spells instead of the player's. (
spellID- spellID of the mastery spell for the given specialization index regardless of whether the spell is known by the player. (