v0.13.8

GetTrainerServiceAbilityReq

functionimplementedavailable in: camelot

Returns the name of a requirement for training a skill and if the player meets the requirement.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
trainerIndexnumberIndex of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)
reqIndexnumberIndex of the requirement to retrieve information about.

Returns

#nametypedescription
1abilitystringThe name of the required ability. Not readily available on function call, see SpellMixin:ContinueOnSpellLoad.
2hasReqbooleanFlag for if the player meets the requirement.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.