Mercurial > wow > wowdb-profiler
diff Main.lua @ 487:b661f10e04d9
Fixed an issue where world quests could record the rewards as being only honor, which is actually currently impossible.
author | MMOSimca <mmosimca@gmail.com> |
---|---|
date | Wed, 14 Sep 2016 05:49:50 -0400 |
parents | 5e5ddb69f845 |
children | 95e0a5b04d52 |
line wrap: on
line diff
--- a/Main.lua Wed Sep 07 00:41:00 2016 -0400 +++ b/Main.lua Wed Sep 14 05:49:50 2016 -0400 @@ -940,10 +940,11 @@ local function RecordWorldQuestData(world_map_id, quest_id, api_data_table) -- Ensure we have location data and rewards (barely readable so putting it on multiple lines) + -- (Honor is built in to the quest; it is not a sign rewards have been loaded) if not api_data_table.x or not api_data_table.y or not api_data_table.floor or not (_G.GetQuestLogRewardXP(quest_id) > 0 or _G.GetNumQuestLogRewardCurrencies(quest_id) > 0 or _G.GetNumQuestLogRewards(quest_id) > 0 or _G.GetQuestLogRewardMoney(quest_id) > 0 - or _G.GetQuestLogRewardArtifactXP(quest_id) > 0 or _G.GetQuestLogRewardHonor(quest_id) > 0) then + or _G.GetQuestLogRewardArtifactXP(quest_id) > 0) then return end