v0.13.8

GetTrainerServiceCost

functionimplementedavailable in: camelot

Returns the cost of the specified trainer service.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
indexnumberThe index number of a specific trainer service.

Returns

#nametypedescription
1serviceCostnumberThe cost of a specific service in copper.
2talentCostnumberThe cost of the service in talent points.
3professionCostnumberThe cost of the service in available professions.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.