Bug fixes, Framework update, General changes to accommodate new systems.

This commit is contained in:
Tercio Jose
2024-02-26 14:12:11 -03:00
parent 483d9c6976
commit 32adc61608
34 changed files with 1801 additions and 524 deletions
+6 -4
View File
@@ -133,12 +133,14 @@ local classTypeUtility = Details.atributos.misc
end
--overall data startTime
if (overallCombatObject.data_inicio == 0) then
overallCombatObject.data_inicio = thisCombatObject.data_inicio or 0
if (overallCombatObject:GetDate() == 0) then
overallCombatObject:SetDate(thisCombatObject:GetDate() or 0)
end
--overall data finished time
overallCombatObject.data_fim = thisCombatObject.data_fim or overallCombatObject.data_fim
local thisCombatDateStart, thisCombaDateEnd = thisCombatObject:GetDate()
local overallDateStart, overallDateEnd = overallCombatObject:GetDate()
overallCombatObject:SetDate(nil, thisCombaDateEnd or overallDateEnd)
--overall data enemy name
if (not Details.tabela_overall.overall_enemy_name) then
@@ -151,7 +153,7 @@ local classTypeUtility = Details.atributos.misc
--overall data segments added
local dateStart, dateEnd = thisCombatObject:GetDate()
table.insert(overallCombatObject.segments_added, {name = thisCombatObject:GetCombatName(true), elapsed = thisCombatObject:GetCombatTime(), clock = dateStart})
table.insert(overallCombatObject.segments_added, {name = thisCombatObject:GetCombatName(false, true), elapsed = thisCombatObject:GetCombatTime(), clock = dateStart})
end
--ghost container (container for custom displays, this is not a real container)