Thread
:
[Classic] Convert recipe item name to spellID
View Single Post
09-10-19, 02:53 AM
#
10
wildcard25
An Aku'mai Servant
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
.
wildcard25
View Public Profile
Send a private message to wildcard25
Find More Posts by wildcard25