WoW API: GetCraftNumReagents

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetCraftNumReagents to API GetCraftNumReagents without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetCraftNumReagents

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

numRequiredReagents = GetCraftNumReagents(index)

Parameters

Arguments

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

Returns

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