→ WoW API
GetQuestLogRewardMoney returns a number representing the amount of copper rewarded by a particular quest in the quest log.
money = GetQuestLogRewardMoney([questID])
- QuestID (optional)
- Number - Unique identifier for a quest.
- Number - The amount of copper this quest gives as a reward
local rewardMoney= GetQuestLogRewardMoney();
- 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.