Lore archive · Warcraft Wiki, 2023 dump
API GetTrainerServiceAbilityReq
Last wiki revision 2023-01-28
Returns the name of a requirement for training a skill and if the player meets the requirement. ability, hasReq = GetTrainerServiceAbilityReq(trainerIndex, reqIndex)
- trainerIndex: - Index of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See and .)
- reqIndex: - Index of the requirement to retrieve information about.
- ability: - The name of the required ability. Not readily available on function call, see SpellMixin:ContinueOnSpellLoad.
- hasReq: - Flag for if the player meets the requirement.
Source
https://warcraft.wiki.gg/wiki/API_GetTrainerServiceAbilityReq · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.