Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns the name of a requirement for training a skill and if 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 GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)
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.
Advertisement