Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetCraftReagentItemLink

From WoW Classic Wiki

This command returns a required reagent (as an itemLink) for a specific craftable item from the currently visible tradeskill window.

reagentLink = GetCraftReagentItemLink(index, n)

Parameters

Arguments

(index, n)
index
Numeric - index of the requested craft receipt, where 1 is the top-most listed receipt.
n
Numeric - index of the Nth reagent for the receipt, where 1 is the first reagent.

Returns

reagentLink
String - itemLink for the requested reagent.

Details

  • If you specify an invalid index, nil is returned.
  • If there is no visible tradeskill window, nil is returned.