- 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:
Tercio
2013-09-25 19:45:32 -03:00
parent ef6b8b804d
commit 6211e58966
24 changed files with 989 additions and 446 deletions
+21
View File
@@ -58,6 +58,27 @@ function historico:adicionar (tabela)
break
end
end
if (self.tabelas[3]) then
if (self.tabelas[3].is_trash and self.tabelas[2].is_trash) then
--> tabela 2 deve ser deletada e somada a tabela 1
if (_detalhes.debug) then
detalhes:Msg ("(debug) concatenating two trash segments.")
end
self.tabelas[2] = self.tabelas[2] + self.tabelas[3]
self.tabelas[2].is_trash = true
--> remover
_table_remove (self.tabelas, 3)
_detalhes:SendEvent ("DETAILS_DATA_SEGMENTREMOVED", nil, nil)
end
--> debug
--self.tabelas[2] = self.tabelas[2] + self.tabelas[3]
--_table_remove (self.tabelas, 3)
end
end
--> chama a função que irá atualizar as instâncias com segmentos no histórico