Talk:API GetSpellInfo

From Warcraft Wiki
Jump to navigation Jump to search

GetSpellInfo(spellLink) appears to be broken in 3.0.9 (not sure if it worked previously). The following two snippets produce different output:

(a) GetSpellInfo("Aspect of the Hawk")
(b) GetSpellInfo(GetSpellLink("Aspect of the Hawk",""))

(a) works, (b) returns nil.

--WoWWiki-Flick (talk) 23:21, 17 March 2009 (UTC)

I'm unable to get a spell link to work as valid input for GetSpellInfo either. I've tried spells I have in my spellbook, spells I don't have, full spell links, spellstrings -- nada.

Not a huge deal though, since if you can get a spell link you can pull the ID out of it and feed that to GetSpellInfo.

--weab (talk) 10:40, 16 April 2009 (UTC)