API GetCraftNumReagents

104,670pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetCraftNumReagents

This command tells the caller how many reagents are required for said craft.

numRequiredReagents = GetCraftNumReagents(index)

Parameters Edit

Arguments Edit

Numeric. Number from 1 to X, where X is the total number of possible crafts.

Returns Edit

Integer. This is the number of required reagents for said craft. ie, 4 (for any craft that requires 4 reagents to perform...)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki