- testing the mercurial repo packpager.
This commit is contained in:
@@ -2825,7 +2825,10 @@ local function GetDpsHps (_thisActor, key)
|
||||
end
|
||||
end
|
||||
|
||||
-- report_table: table sent to report func / data: numeric table {{value1, value2}} / f1: format value1 / f2: format value2
|
||||
-- table sent to report func / f1: format value1 / f2: format value2
|
||||
-- report_table = a table header: {"report results for:"}
|
||||
-- data = table with {{value1 (string), value2 ( the value)} , {value1 (string), value2 ( the value)}}
|
||||
|
||||
local default_format_value1 = function (v) return v end
|
||||
local default_format_value2 = function (v) return v end
|
||||
local default_format_value3 = function (i, v1, v2)
|
||||
@@ -3179,6 +3182,26 @@ function _detalhes:envia_relatorio (linhas, custom)
|
||||
end
|
||||
end
|
||||
|
||||
local isMythicDungeon = _detalhes.tabela_vigente:IsMythicDungeon()
|
||||
if (isMythicDungeon) then
|
||||
local mythicDungeonInfo = _detalhes.tabela_vigente:GetMythicDungeonInfo()
|
||||
if (mythicDungeonInfo) then
|
||||
local isMythicOverallSegment, segmentID, mythicLevel, EJID, mapID, zoneName, encounterID, encounterName, startedAt, endedAt, runID = _detalhes:UnpackMythicDungeonInfo (mythicDungeonInfo)
|
||||
|
||||
if (isMythicOverallSegment) then
|
||||
luta = zoneName .. " +" .. mythicLevel .. " (" .. Loc ["STRING_SEGMENTS_LIST_OVERALL"] .. ")"
|
||||
else
|
||||
if (segmentID == "trashoverall") then
|
||||
luta = encounterName .. " (" .. Loc ["STRING_SEGMENTS_LIST_TRASH"] .. ")"
|
||||
else
|
||||
luta = encounterName .. " (" .. Loc ["STRING_SEGMENTS_LIST_BOSS"] .. ")"
|
||||
end
|
||||
end
|
||||
else
|
||||
luta = Loc ["STRING_SEGMENTS_LIST_TRASH"]
|
||||
end
|
||||
end
|
||||
|
||||
if (not luta) then
|
||||
if (_detalhes.tabela_vigente.enemy) then
|
||||
luta = _detalhes.tabela_vigente.enemy
|
||||
@@ -3207,6 +3230,27 @@ function _detalhes:envia_relatorio (linhas, custom)
|
||||
end
|
||||
end
|
||||
|
||||
local thisSegment = _detalhes.tabela_historico.tabelas[1]
|
||||
local isMythicDungeon = thisSegment:IsMythicDungeon()
|
||||
if (isMythicDungeon) then
|
||||
local mythicDungeonInfo = thisSegment:GetMythicDungeonInfo()
|
||||
if (mythicDungeonInfo) then
|
||||
local isMythicOverallSegment, segmentID, mythicLevel, EJID, mapID, zoneName, encounterID, encounterName, startedAt, endedAt, runID = _detalhes:UnpackMythicDungeonInfo (mythicDungeonInfo)
|
||||
|
||||
if (isMythicOverallSegment) then
|
||||
luta = zoneName .. " +" .. mythicLevel .. " (" .. Loc ["STRING_SEGMENTS_LIST_OVERALL"] .. ")"
|
||||
else
|
||||
if (segmentID == "trashoverall") then
|
||||
luta = encounterName .. " (" .. Loc ["STRING_SEGMENTS_LIST_TRASH"] .. ")"
|
||||
else
|
||||
luta = encounterName .. " (" .. Loc ["STRING_SEGMENTS_LIST_BOSS"] .. ")"
|
||||
end
|
||||
end
|
||||
else
|
||||
luta = Loc ["STRING_SEGMENTS_LIST_TRASH"]
|
||||
end
|
||||
end
|
||||
|
||||
if (not luta) then
|
||||
if (_detalhes.tabela_historico.tabelas[1].enemy) then
|
||||
luta = _detalhes.tabela_historico.tabelas[1].enemy .. " (" .. Loc ["STRING_REPORT_LASTFIGHT"] .. ")"
|
||||
@@ -3234,6 +3278,27 @@ function _detalhes:envia_relatorio (linhas, custom)
|
||||
end
|
||||
end
|
||||
|
||||
local thisSegment = _detalhes.tabela_historico.tabelas [segmento]
|
||||
local isMythicDungeon = thisSegment:IsMythicDungeon()
|
||||
if (isMythicDungeon) then
|
||||
local mythicDungeonInfo = thisSegment:GetMythicDungeonInfo()
|
||||
if (mythicDungeonInfo) then
|
||||
local isMythicOverallSegment, segmentID, mythicLevel, EJID, mapID, zoneName, encounterID, encounterName, startedAt, endedAt, runID = _detalhes:UnpackMythicDungeonInfo (mythicDungeonInfo)
|
||||
|
||||
if (isMythicOverallSegment) then
|
||||
luta = zoneName .. " +" .. mythicLevel .. " (" .. Loc ["STRING_SEGMENTS_LIST_OVERALL"] .. ")"
|
||||
else
|
||||
if (segmentID == "trashoverall") then
|
||||
luta = encounterName .. " (" .. Loc ["STRING_SEGMENTS_LIST_TRASH"] .. ")"
|
||||
else
|
||||
luta = encounterName .. " (" .. Loc ["STRING_SEGMENTS_LIST_BOSS"] .. ")"
|
||||
end
|
||||
end
|
||||
else
|
||||
luta = Loc ["STRING_SEGMENTS_LIST_TRASH"]
|
||||
end
|
||||
end
|
||||
|
||||
if (not luta) then
|
||||
if (_detalhes.tabela_historico.tabelas[segmento].enemy) then
|
||||
luta = _detalhes.tabela_historico.tabelas[segmento].enemy .. " (" .. segmento .. " " .. Loc ["STRING_REPORT_PREVIOUSFIGHTS"] .. ")"
|
||||
|
||||
Reference in New Issue
Block a user