GetQuestLogRewardMoney

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0

Returns the amount of money rewarded for a quest.

money = GetQuestLogRewardMoney([questID])

Arguments

QuestID
number? - Unique identifier for a quest.

Returns

rewardMoney
number? - The amount of copper this quest gives as a reward

Details

  • The questID argument is optional. When called without an questID, returns for the most recently viewed quest in the quest log window.
  • Returns 0 if the questID is not currently in the quest log.