Mercurial > wow > wowdb-profiler
comparison Main.lua @ 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 | e4d0f924af08 |
comparison
equal
deleted
inserted
replaced
183:1078a6d1c4c9 | 184:5117c75a47cb |
---|---|
1181 private.harvesting = nil | 1181 private.harvesting = nil |
1182 return | 1182 return |
1183 end | 1183 end |
1184 | 1184 |
1185 if private.RAID_FINDER_BOSS_IDS[unit_idnum] then | 1185 if private.RAID_FINDER_BOSS_IDS[unit_idnum] then |
1186 local _, instance_type, instance_difficulty = _G.GetInstanceInfo() | 1186 Debug(("%s: Matching boss %s."):format(sub_event, dest_name)) |
1187 | 1187 private.raid_finder_boss_id = unit_idnum |
1188 if IsRaidFinderInstance(instance_type, instance_difficulty) then | |
1189 Debug(("%s: Matching boss %s; in raid finder instance."):format(sub_event, dest_name)) | |
1190 private.raid_finder_boss_id = unit_idnum | |
1191 else | |
1192 Debug(("%s: Matching boss %s; NOT in raid finder instance."):format(sub_event, dest_name)) | |
1193 end | |
1194 else | 1188 else |
1195 Debug(("%s: Killed NPC %s (ID: %d) is not in boss list."):format(sub_event, dest_name, unit_idnum)) | 1189 Debug(("%s: Killed NPC %s (ID: %d) is not in boss list."):format(sub_event, dest_name, unit_idnum)) |
1196 end | 1190 end |
1197 | 1191 |
1198 if dest_guid ~= _G.UnitGUID("target") then | 1192 if dest_guid ~= _G.UnitGUID("target") then |