- added support to combat concatenate: combat1 = combat1 + combat2.
- added trash mod knowledge which will concatenate trash segments. - added a new member on combat object: .is_trash - added _detalhes:GetInstanceTrashInfo (mapid) - added _detalhes member: .last_instance - added CreateFlashAnimation(frame) and frame.flash (UiFrameFlash params) - fixed issue were healing was not showing corrently on current segment. - fixed issue were misc wasn't showing on everything mode. - fixed talent and glyphs frame error. - fixed issue with options panel were some options reset when panel is open. - minor speedup on parser removing member last_event from shadows. - more functions clean up avoiding garbage creation.
This commit is contained in:
@@ -2195,12 +2195,15 @@ atributo_damage.__add = function (shadow, tabela2)
|
||||
|
||||
--> total de dano
|
||||
shadow.total = shadow.total + tabela2.total
|
||||
_detalhes.tabela_overall.totals[1] = _detalhes.tabela_overall.totals[1] + tabela2.total
|
||||
|
||||
if (tabela2.grupo) then
|
||||
_detalhes.tabela_overall.totals_grupo[1] = _detalhes.tabela_overall.totals_grupo[1] + tabela2.total
|
||||
if ( not (shadow.shadow and tabela2.shadow) ) then
|
||||
_detalhes.tabela_overall.totals[1] = _detalhes.tabela_overall.totals[1] + tabela2.total
|
||||
|
||||
if (tabela2.grupo) then
|
||||
_detalhes.tabela_overall.totals_grupo[1] = _detalhes.tabela_overall.totals_grupo[1] + tabela2.total
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--> total de dano sem o pet
|
||||
shadow.total_without_pet = shadow.total_without_pet + tabela2.total_without_pet
|
||||
--> total de dano que o cara levou
|
||||
@@ -2219,7 +2222,7 @@ atributo_damage.__add = function (shadow, tabela2)
|
||||
--> copia o container de friendly fire
|
||||
for index, friendlyFire in _ipairs (tabela2.friendlyfire._ActorTable) do
|
||||
-- friendlyFire é uma tabela com .total e .spell_tables -- habilidade é um container de habilidades tipo damage
|
||||
local friendlyFire_shadow = shadow.friendlyfire:PegarCombatente (_, friendlyFire.nome)
|
||||
local friendlyFire_shadow = shadow.friendlyfire:PegarCombatente (friendlyFire.serial, friendlyFire.nome, friendlyFire.flag_original, true)
|
||||
--_detalhes:DelayMsg ("+ achou -> " .. friendlyFire_shadow.nome)
|
||||
|
||||
--friendlyFire_shadow agora tem uma tabela com .total e .spell_tables
|
||||
|
||||
Reference in New Issue
Block a user