- Fixed many DPS inacuracy when playing outside a party or raid group.

- Full cleanup done on comm message handlers.
- Created a window for update alert.
This commit is contained in:
tercio
2014-07-05 13:26:53 -03:00
parent 68557fa55f
commit 72c00a528a
9 changed files with 424 additions and 375 deletions
+10 -1
View File
@@ -269,7 +269,16 @@
end
function combate:seta_tempo_decorrido()
self.end_time = _tempo
if (self.playing_solo) then
local damage_actor = self (1, _detalhes.playername)
if (damage_actor) then
self.end_time = damage_actor.last_event or _tempo
else
self.end_time = _tempo
end
else
self.end_time = _tempo
end
end
function _detalhes.refresh:r_combate (tabela_combate, shadow)
+3 -3
View File
@@ -223,7 +223,7 @@
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--> internals
--> class constructor
function atributo_damage:NovaTabela (serial, nome, link)
@@ -276,8 +276,6 @@
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--> special cases
-- dps (calculate dps for actors)
function atributo_damage:ContainerRefreshDps (container, combat_time)
@@ -1503,6 +1501,8 @@ function atributo_damage:ToolTip_DamageDone (instancia, numero, barra, keydown)
meu_tempo = instancia.showing:GetCombatTime()
end
--print ("time:", meu_tempo)
--add and sort
for _spellid, _skill in _pairs (ActorSkillsContainer) do
ActorSkillsSortTable [#ActorSkillsSortTable+1] = {_spellid, _skill.total, _skill.total/meu_tempo}