API GetCraftNumReagents

104,545pages on
this wiki
Add New Page
Add New Page Talk0
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...)

Also on Fandom

Random Wiki