Lore archive · Warcraft Wiki, 2023 dump
API GetBankSlotCost
Last wiki revision 2022-07-21
Returns the cost of the next bank bag slot. cost = GetBankSlotCost(numSlots)
- numSlots: - Number of slots already purchased.
- cost: - Price of the next bank slot in copper.
The following example outputs amount of money you'll have to pay for the next bank slot: local numSlots,full = GetNumBankSlots; if full then print("You may not buy any more bank slots"); else local c = GetBankSlotCost(numSlots); print(("Your next bank slot costs %d g %d s %d c"):format(c/10000, c/100 % 100, c % 100)); end
Source
https://warcraft.wiki.gg/wiki/API_GetBankSlotCost · 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.