Lore archive · Warcraft Wiki, 2023 dump
API GetMerchantItemCostInfo
Last wiki revision 2022-07-21
Returns "alternative currency" information about an item. itemCount = GetMerchantItemCostInfo(index)
- index: - The index of the item in the merchant's inventory
- itemCount: - The number of different types of items required to purchase the item.
The itemCount is the number of different types of items required, not how many of those types. For example, the Scout's Tabard which requires 3 Arathi Basin Marks of Honor and 3 Warsong Gulch Marks of Honor would return a 2 for the item count. To find out how many of each item is required, use the GetMerchantItemCostItem function.
Source
https://warcraft.wiki.gg/wiki/API_GetMerchantItemCostInfo · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.