Mercurial > wow > wowdb-profiler
changeset 184:5117c75a47cb
Stop worrying about whether or not the player is in an LFR dungeon; if an LFR boss is matched, simply record it. If SHOW_LOOT_TOAST doesn't fire, nothing will be recorded as LOOKING_FOR_RAID.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Mon, 12 Nov 2012 14:40:35 -0600 |
parents | 1078a6d1c4c9 |
children | 3a8bed7265b9 |
files | Main.lua |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/Main.lua Sun Nov 11 16:43:15 2012 -0600 +++ b/Main.lua Mon Nov 12 14:40:35 2012 -0600 @@ -1183,14 +1183,8 @@ end if private.RAID_FINDER_BOSS_IDS[unit_idnum] then - local _, instance_type, instance_difficulty = _G.GetInstanceInfo() - - if IsRaidFinderInstance(instance_type, instance_difficulty) then - Debug(("%s: Matching boss %s; in raid finder instance."):format(sub_event, dest_name)) - private.raid_finder_boss_id = unit_idnum - else - Debug(("%s: Matching boss %s; NOT in raid finder instance."):format(sub_event, dest_name)) - end + Debug(("%s: Matching boss %s."):format(sub_event, dest_name)) + private.raid_finder_boss_id = unit_idnum else Debug(("%s: Killed NPC %s (ID: %d) is not in boss list."):format(sub_event, dest_name, unit_idnum)) end