Code cleanups, Bug Fixes, Show plugins in the breakdown window, added damage taken and friendly fire tp breakdown

This commit is contained in:
Tercio Jose
2023-06-11 20:46:27 -03:00
parent cc09a733bf
commit aaab652817
30 changed files with 3370 additions and 2742 deletions
+3
View File
@@ -276,6 +276,7 @@ function SlashCmdList.DETAILS (msg, editbox)
local combatObject = tremove(Details.tabela_historico.tabelas, segmentToErase)
if (combatObject) then
Details:DestroyCombat(combatObject)
Details:SendEvent("DETAILS_DATA_SEGMENTREMOVED")
Details:Msg("segment removed.")
collectgarbage()
else
@@ -1362,6 +1363,8 @@ function SlashCmdList.DETAILS (msg, editbox)
local pastCombat = segmentHistory [i]
if (pastCombat and pastCombat ~= newCombat) then
Details:DestroyCombat(pastCombat)
--send the event segment removed
Details:SendEvent("DETAILS_DATA_SEGMENTREMOVED")
segmentHistory [i] = nil
end
end