API IsSpellKnown
From https://wowwiki-archive.fandom.com/w...I_IsSpellKnown
Lua Code:
Arguments 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 isKnown: boolean - whether the player (or pet) knows the given spell For the spells I know, starting from their name I can get their ID via Lua Code:
|
That site may be out of date ..
https://warcraft.wiki.gg/wiki/World_...aft_API#Spells If you know a spell it will be accessible via the spellbook. Or you can use wowhead to identify spellIDs to use the IsSpellKnown functions. |
You can always /dump GetSpellInfo() and refer to the link for which return is the SpellID.
|
All times are GMT -6. The time now is 04:04 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI