Returns the spell required by a quest, if any. It is currently known to return values for the learn spell quests.

See also Quest functions.


spellID, iconTexture, isLearned = GetQuestLogCriteriaSpell([index])


  • index - The index of the quest in the quest log. The currently selected quest if omitted. (number)


  • spellID - spellID of the spell criteria. (number, spellID)
  • iconTexture - The path to the icon texture of the spell. (string)
  • isLearned - Whether or not the spell has been learned. (boolean)