Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-16-13, 02:36 PM   #1
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 135
GetSpellInfo with name issue

Code:
print( (GetSpellInfo(116257) == "Invoker's Energy") )

-- true


print( GetSpellInfo("Invoker's Energy") )

-- nil
Seems to be an issue with apostrophes. Is there a work around for this?

Edit: searching with spellName is limited to your spellbook

Last edited by Freebaser : 10-16-13 at 03:45 PM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » GetSpellInfo with name issue


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off