Returns information about the skill requirement for a trainer service. Often used for trade skill recipes: e.g. Netherweave Bag requires Tailoring (315).
See also Trainer functions.
Signature:
skill, rank, hasReq = GetTrainerServiceSkillReq(index)
Arguments:
index- Index of an entry in the trainer service listing (between 1 andGetNumTrainerServices()) (number)
Returns:
skill- Name of the required skill (string)rank- Rank required in the skill (number)hasReq- 1 if the player has the required skill and rank; otherwise nil (1nil)