API GetQuestLogRewardSpell

From Wowpedia
Jump to: navigation, search

Returns information about the spell reward of the current selected quest.

texture, name, isTradeskillSpell, isSpellLearned, hideSpellLearnText, isBoostSpell, garrFollowerID, genericUnlock, spellID = GetQuestLogRewardSpell(rewardIndex, questID);

Arguments

rewardIndex
Number - The index of the spell reward to get the details for
questID 
Number - Unique QuestID for the quest to be queried.

Returns

texture 
string - The texture of the spell icon
name 
String - The spell name
isTradeskillSpell 
Boolean - Whether the spell is a tradeskill spell
isSpellLearned 
Boolean - Whether the spell has been learned already
hideSpellLearnText 
Unknown - Unknown
isBoostSpell 
Boolean - Unknown
garrFollowerID 
Number - If the spell grants a Garrison follower, it's ID.
genericUnlock 
Unknown - Unknown
spellID 
Number - Unknown

Description

Returns information about the spell reward of the current selected quest.