Wikia

WoWWiki

Changes: API GetMerchantItemMaxStack

Edit

Back to page

(Corrected fact that this function only doesn't work for items that sell in stacks.)
 
Line 16: Line 16:
 
== Note ==
 
== Note ==
   
This does not seem to work as of patch 2.3 (always returns 1). Try GetItemInfo() instead.
+
This does not seem to work properly as of patch 2.3, and always returns 1 for items that sell in stacks (such as arrows). Try GetItemInfo() instead.

Latest revision as of 05:46, February 2, 2008

WoW API < GetMerchantItemMaxStack


Gets the maximum stack size for an item from the active merchant.

maxStack = GetMerchantItemMaxStack(index)


Arguments Edit

index 
Number - The index of the item in the merchant's inventory.


Returns Edit

maxStack 
Number - The maximum stack size for the item.


Note Edit

This does not seem to work properly as of patch 2.3, and always returns 1 for items that sell in stacks (such as arrows). Try GetItemInfo() instead.

Around Wikia's network

Random Wiki