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.
index- The index of the quest in the quest log. The currently selected quest if omitted. (
spellID- spellID of the spell criteria. (
iconTexture- The path to the icon texture of the spell. (
isLearned- Whether or not the spell has been learned. (