- fixed battleground segment creation bug.
This commit is contained in:
@@ -403,17 +403,6 @@ function atributo_misc:ReportSingleDeadLine (morte, instancia)
|
||||
end
|
||||
|
||||
_detalhes:SendReportWindow (ReportSingleDeathFunc, nil, nil, true)
|
||||
|
||||
--for index = #report_array, 1, -1 do
|
||||
-- local table = report_array [index]
|
||||
-- reportar [#reportar+1] = table [1] .. table [4] .. table [2] .. table [3]
|
||||
--end
|
||||
|
||||
--for index, table in _ipairs (report_array) do
|
||||
-- reportar [#reportar+1] = table [1] .. table [4] .. table [2] .. table [3]
|
||||
--end
|
||||
|
||||
--return _detalhes:Reportar (reportar, {_no_current = true, _no_inverse = true, _custom = true})
|
||||
end
|
||||
|
||||
function atributo_misc:ReportSingleCooldownLine (misc_actor, instancia)
|
||||
|
||||
+7
-1
@@ -652,7 +652,13 @@
|
||||
_detalhes.tabela_historico:adicionar (_detalhes.tabela_vigente) --move a tabela atual para dentro do histórico
|
||||
else
|
||||
invalid_combat = _detalhes.tabela_vigente
|
||||
_detalhes.tabela_vigente = _detalhes.tabela_historico.tabelas[1] --> pega a tabela do ultimo combate
|
||||
|
||||
--in case of a forced discard segment, just check a second time if we have a previous combat.
|
||||
if (not _detalhes.tabela_historico.tabelas[1]) then
|
||||
_detalhes.tabela_vigente = _detalhes.tabela_vigente
|
||||
else
|
||||
_detalhes.tabela_vigente = _detalhes.tabela_historico.tabelas[1] --> pega a tabela do ultimo combate
|
||||
end
|
||||
|
||||
if (_detalhes.tabela_vigente:GetStartTime() == 0) then
|
||||
--_detalhes.tabela_vigente.start_time = _detalhes._tempo
|
||||
|
||||
Reference in New Issue
Block a user