Fandom

WoWWiki

API GetCraftNumReagents

104,637pages on
this wiki
Add New Page
Talk0 Share

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.

WoW API < GetCraftNumReagents

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

numRequiredReagents = GetCraftNumReagents(index)

Parameters Edit

Arguments Edit

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

Returns Edit

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

Also on Fandom

Random Wiki