Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-10-19, 02:53 AM   #10
wildcard25
An Aku'mai Servant
 
wildcard25's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2012
Posts: 30
Code:
spellID = select(7, GetSpellInfo(spellName))
Can return nil if not cached yet.

edit: Whoops, pretty sure this doesn't work with Tradeskills. It's been a few years, but I think we had to build our own lookup table in Gnomeworks for recipeIDs.

Last edited by wildcard25 : 09-10-19 at 03:01 AM.
  Reply With Quote
 

WoWInterface » Classic - AddOns, Compliations, Macros » Classic - AddOn Help/Support » [Classic] Convert recipe item name to spellID


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