Returns information about an ability required for purchasing a trainer service


See also Trainer functions.

Signature:

ability, hasReq = GetTrainerServiceAbilityReq(index, abilityIndex)

Arguments:

Returns:

  • ability - Name of the required ability (string)
  • hasReq - 1 if the player has the required ability; otherwise nil (1nil)