WoW:API IsSpellKnown: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} isKnown = IsSpellKnown(spellID, isPetSpell) == Arguments == :;spellID : integer - the spell ID number :;isPetSpell : boolean (optional) - if true, will check if th…') |
m (Move page script moved page API IsSpellKnown to API IsSpellKnown without leaving a redirect) |
(No difference)
|
Latest revision as of 04:46, 15 August 2023
← WoW API < IsSpellKnown
isKnown = IsSpellKnown(spellID, isPetSpell)
Arguments[edit]
- spellID
- integer - the spell ID number
- isPetSpell
- boolean (optional) - if true, will check if the currently active pet knows the spell; if false or omitted, will check if the player knows the spell
Returns[edit]
- isKnown
- boolean - whether the player (or pet) knows the given spell