Returns information about the spell reward for the selected quest in the quest log. If both isTradeskillSpell and isSpellLearned are nil, the reward is a spell cast upon the player.
See also Quest functions, Spell functions.
Signature:
texture, name, isTradeskillSpell, isSpellLearned = GetQuestLogRewardSpell()
Returns:
texture- Path to the spell's icon texture (string)name- Name of the spell (string)isTradeskillSpell- 1 if the spell is a tradeskill recipe; otherwise nil (1nil)isSpellLearned- 1 if the reward teaches the player a new spell; otherwise nil (1nil)