WoW API: GetTrainerServiceLevelReq
← WoW API < GetTrainerServiceLevelReq
Gets the required level to learn a skill from the trainer.
local reqLevel = GetTrainerServiceLevelReq(id)
ArgumentsEdit
- id
- Number - Index of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)
ReturnsEdit
- reqLevel
- Number - The required level (for pet or player) to learn the skill.