WoW:API GetSpellName: Difference between revisions

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:


----
----
--[[User:Sahazhe|Sahazhe]] 07:52, 24 Feb 2005 (EST)
== Cataclysm Change ==
----
This function has been renamed to {{api|GetSpellBookItemName}}().
{{Template:WoW API}}
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.
[[Category:API Spell Functions|CastSpell]]
Anonymous user