Lore archive · Warcraft Wiki, 2023 dump
API GetTrainerServiceCost
Last wiki revision 2022-07-21
Returns the cost of the specified trainer service. moneyCost, talentCost, professionCost = GetTrainerServiceCost(index)
- Arguments
- index:The index number of a specific trainer service.
- Returns
- serviceCost:The cost of a specific service in copper.
- talentCost:The cost of the service in talent points.
- professionCost:The cost of the service in available professions.
- Example
Prints the cost of the service with index 3, in the chatwindow. ChatFrame1:AddMessage(GetTrainerServiceCost(3));
Source
https://warcraft.wiki.gg/wiki/API_GetTrainerServiceCost · 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.