m
Move page script moved page API GetSpellName to WoW:API GetSpellName without leaving a redirect
No edit summary |
m (Move page script moved page API GetSpellName to WoW:API GetSpellName without leaving a redirect) |
||
| (6 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
Retrieves the spell name and spell rank for a spell in the player's spellbook. | {{wowapi}} | ||
Retrieves the spell name and spell rank for a spell in the player's spellbook. If you're trying to read the spell book at login, register for the [[Events P (Party, Petition, Pet, PlayerBank, Player)#PLAYER_LOGIN|PLAYER_LOGIN]] event. | |||
''spellName'', ''spellRank'' = GetSpellName( ''spellId'', ''bookType'' ); | ''spellName'', ''spellRank'' = GetSpellName( ''spellId'', ''bookType'' ); | ||
| Line 36: | Line 37: | ||
---- | ---- | ||
== Cataclysm Change == | |||
This function has been renamed to {{api|GetSpellBookItemName}}(). | |||
{{ | Also in 4.0.1, certain spells will not appear in the player's spell book, such as Track Beasts. As such, it will not be searchable from this function. | ||