Returns whether the player (or pet) knows a spell
See also Spell functions.
Signature:
isKnown = IsSpellKnown(spellID [, isPet])
Arguments:
spellID- Numeric ID of a spell (number, spellID)isPet- True to check only spells known to the player's pet; false or omitted to check only spells known to the player (boolean)
Returns:
isKnown- True if the player (or pet) knows the given spell; false otherwise (boolean)