- framework update.

This commit is contained in:
Tercioo
2015-12-13 22:25:36 -02:00
parent e8a3f3d74c
commit c26e00cded
4 changed files with 31 additions and 11 deletions
+8
View File
@@ -25,12 +25,20 @@ do
function _detalhes:GetInstanceIdFromEncounterId (encounterid)
for id, instanceTable in pairs (_detalhes.EncounterInformation) do
--combatlog encounter id
local ids = instanceTable.encounter_ids2
if (ids) then
if (ids [encounterid]) then
return id
end
end
--encounter journal id
local ids_ej = instanceTable.encounter_ids
if (ids) then
if (ids_ej [encounterid]) then
return id
end
end
end
end