Shenton77495@legacy41592226 (talk | contribs) (→Notes) |
mNo edit summary |
||
Line 1: | Line 1: | ||
+ | == Summary == |
||
− | {{wowapi}} __NOTOC__ |
||
+ | Hyjal concept map from Blizzcon. |
||
− | Buys the specified item. |
||
+ | [[Category:BlizzCon 2009]] |
||
− | BuyMerchantItem(index {, quantity}); |
||
+ | [[ru:Файл:Blizzcon 2009 - гора Хиджал.jpg]] |
||
− | ==Parameters== |
||
− | ===Arguments=== |
||
− | :;index : Number - The index of the item in the merchant's inventory |
||
− | :;quantity : Number (Optional) - Quantity to buy. |
||
− | |||
− | ==Notes== |
||
− | If the item is sold in stacks, the quantity specifies how many stacks will be bought. |
||
− | |||
− | In 4.1 (I do not know when the change occur) the quantity argument behavior is different. |
||
− | |||
− | * If you do not specify quantity and the item is sold in stacks it will buy a stack. |
||
− | * If you specify quantity it will buy the specified amount, sold in stacks or not. |
||
− | |||
− | The only limitation is the maximum stack allowed to buy from the merchant at one time, you can check this with the [[API GetMerchantItemMaxStack|GetMerchantItemMaxStack]] function. |
Revision as of 10:06, 19 May 2011
Summary
Hyjal concept map from Blizzcon.
ru:Файл:Blizzcon 2009 - гора Хиджал.jpg