API GetTrainerServiceAbilityReq

Gets the name of a requirement for training a skill and whether the player meets the requirement. ability, hasReq = GetTrainerServiceAbilityReq(trainerIndex, reqIndex)

Arguments

 * trainerIndex : number - Index of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See and .)
 * reqIndex : number - Index of the requirement to retrieve information about.

Returns

 * ability: string - The name of the required ability. Not readily available on function call, see SpellMixin:ContinueOnSpellLoad.
 * hasReq : boolean - Flag for if the player meets the requirement.