WoW:API GetCraftNumReagents: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
This command tells the caller how many regents are required for said craft.
This command tells the caller how many regents are required for said craft.


Line 16: Line 17:
----
----
__NOTOC__
__NOTOC__
{{WoW API}}

Revision as of 17:33, 6 January 2007

WoW API < GetCraftNumReagents

This command tells the caller how many regents 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...)

Details