- 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:
@@ -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)
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user