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:

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)