Returns the cost to purchase a trainer service
See also Trainer functions.
Signature:
moneyCost,
talentCost,
skillCost
=
GetTrainerServiceCost(index)
Arguments:
index
- Index of an entry in the trainer service listing (between 1 andGetNumTrainerServices()
) (number
)
Returns:
moneyCost
- Amount of money required to purchase the service (in copper) (number
)talentCost
- Number of talent points required to purchase the service (generally unused) (number
)skillCost
- 1 if purchasing the service counts against the player's limit of learnable professions; otherwise 0 (number
)