Mercurial > wow > wowdb-profiler
changeset 375:4a4ed54e4201 6.0.2-6
Fixed comment issue with quests (take two) and fixed broken debug statement (take two).
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Sat, 22 Nov 2014 14:23:56 -0500 |
parents | 73fd6e568211 |
children | 16c6db42fb7e |
files | Comments.lua Main.lua |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Comments.lua Sat Nov 22 11:13:32 2014 -0500 +++ b/Comments.lua Sat Nov 22 14:23:56 2014 -0500 @@ -202,7 +202,7 @@ WDP:Print("You must select a quest from the World Map's Quest frame.") return end - local title, _, tag, _, is_header, _, _, _, idnum = _G.GetQuestLogTitle(index) + local title, _, _, is_header, _, _, _, idnum = _G.GetQuestLogTitle(index) if is_header then WDP:Print("You must select a quest from the World Map's Quest frame.") @@ -363,7 +363,7 @@ local quest_index = _G.GetQuestLogSelection() if quest_index and _G.QuestMapFrame:IsVisible() and not _G.QuestScrollFrame:IsVisible() then - local title, _, suggested_group, is_header, _, _, _, idnum = _G.GetQuestLogTitle(quest_index) + local title, _, _, is_header = _G.GetQuestLogTitle(quest_index) if not is_header then line = display:AddLine(("Quest: %s"):format(title))
--- a/Main.lua Sat Nov 22 11:13:32 2014 -0500 +++ b/Main.lua Sat Nov 22 14:23:56 2014 -0500 @@ -1288,7 +1288,7 @@ end -function WDP:SHOW_LOOT_TOAST(event_name, loot_type, item_link, quantity, spec_ID, is_personal, loot_source) +function WDP:SHOW_LOOT_TOAST(event_name, loot_type, item_link, quantity, spec_ID, sex_ID, is_personal, loot_source) if not loot_type or (loot_type ~= "item" and loot_type ~= "money" and loot_type ~= "currency") then Debug("%s: loot_type is %s. Item link is %s, and quantity is %d.", event_name, loot_type, item_link, quantity) return @@ -1297,7 +1297,7 @@ local npc_id = private.raid_boss_id -- Need information on the most recent args, so using this complete debug statement for now - Debug("%s: loot_type: %s, item_link: %s, quantity: %s, spec_ID: %s, is_personal: %s, loot_source: %s", event_name, loot_type, item_link, quantity, spec_ID, is_personal, loot_source) + Debug("%s: loot_type: %s, item_link: %s, quantity: %s, spec_ID: %s, sex_ID: %s, is_personal: %s, loot_source: %s", event_name, loot_type, item_link, quantity, spec_ID, sex_ID, is_personal, loot_source) -- Handle Garrison cache specially if lootSource and last_garrison_cache_object_id and (lootSource == private.GARRISON_CACHE_LOOT_SOURCE_ID) then