General fixes and implementations
- Fixed a bug for healing done from unit to unit (by rubenvrolijk@github). - Added Vanish to the list of defensive cooldowns for Rogues (by DylanMeador@github). - Added Ny'alotha raid information (by jjholleman@github). - Fixed Eye of Corruption and Grand Delusions. - Fixed an error while retriving data from the guild (statistics sync). - Updated the ToC files for bundled plugins. - Segments Locked featured won't work for Overall Data. - Fixed an issue on Player Details Window where sometimes Death Strike healing done would blink the Rune Weapon healing done. - Regular Details Framework updates.
This commit is contained in:
@@ -1898,6 +1898,7 @@ function atributo_heal:MontaInfoHealingDone()
|
||||
gump:JI_AtualizaContainerBarras (amt)
|
||||
|
||||
local max_ = minhas_curas[1] and minhas_curas[1][2] or 0
|
||||
local foundSpellDetail = false
|
||||
|
||||
for index, tabela in _ipairs (minhas_curas) do
|
||||
|
||||
@@ -1929,8 +1930,9 @@ function atributo_heal:MontaInfoHealingDone()
|
||||
barra.spellid = self.nome
|
||||
barra:Show()
|
||||
|
||||
if (self.detalhes and self.detalhes == barra.show) then
|
||||
if (self.detalhes and self.detalhes == barra.show and not foundSpellDetail) then
|
||||
self:MontaDetalhes (self.detalhes, barra)
|
||||
foundSpellDetail = true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -2201,42 +2201,45 @@ function _detalhes:TrocaTabela (instancia, segmento, atributo, sub_atributo, ini
|
||||
if (_detalhes.instances_segments_locked and not iniciando_instancia) then
|
||||
for _, instance in ipairs (_detalhes.tabela_instancias) do
|
||||
if (instance.meu_id ~= instancia.meu_id and instance.ativa and not instance._postponing_switch and not instance._postponing_current) then
|
||||
if (instance.modo == 2 or instance.modo == 3) then
|
||||
--> na troca de segmento, conferir se a instancia esta frozen
|
||||
if (instance.freezed) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:UnFreeze()
|
||||
else
|
||||
instance.freezed = false
|
||||
print (instance:GetSegment(), instancia:GetSegment())
|
||||
if (instance:GetSegment() >= 0 and instancia:GetSegment() ~= -1) then
|
||||
if (instance.modo == 2 or instance.modo == 3) then
|
||||
--> na troca de segmento, conferir se a instancia esta frozen
|
||||
if (instance.freezed) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:UnFreeze()
|
||||
else
|
||||
instance.freezed = false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
instance.segmento = segmento
|
||||
|
||||
instance.segmento = segmento
|
||||
|
||||
if (segmento == -1) then --> overall
|
||||
instance.showing = _detalhes.tabela_overall
|
||||
elseif (segmento == 0) then --> combate atual
|
||||
instance.showing = _detalhes.tabela_vigente; --print ("==> Changing the Segment now! - classe_instancia.lua 2148")
|
||||
else --> alguma tabela do hist�rico
|
||||
instance.showing = _detalhes.tabela_historico.tabelas [segmento]
|
||||
end
|
||||
|
||||
if (not instance.showing) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:Freeze()
|
||||
if (segmento == -1) then --> overall
|
||||
instance.showing = _detalhes.tabela_overall
|
||||
elseif (segmento == 0) then --> combate atual
|
||||
instance.showing = _detalhes.tabela_vigente; --print ("==> Changing the Segment now! - classe_instancia.lua 2148")
|
||||
else --> alguma tabela do hist�rico
|
||||
instance.showing = _detalhes.tabela_historico.tabelas [segmento]
|
||||
end
|
||||
return
|
||||
|
||||
if (not instance.showing) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:Freeze()
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
instance.v_barras = true
|
||||
instance.showing [atributo].need_refresh = true
|
||||
|
||||
if (not _detalhes.initializing and not iniciando_instancia) then
|
||||
instance:ResetaGump()
|
||||
instance:AtualizaGumpPrincipal (true)
|
||||
end
|
||||
|
||||
_detalhes:SendEvent ("DETAILS_INSTANCE_CHANGESEGMENT", nil, instance, segmento)
|
||||
end
|
||||
|
||||
instance.v_barras = true
|
||||
instance.showing [atributo].need_refresh = true
|
||||
|
||||
if (not _detalhes.initializing and not iniciando_instancia) then
|
||||
instance:ResetaGump()
|
||||
instance:AtualizaGumpPrincipal (true)
|
||||
end
|
||||
|
||||
_detalhes:SendEvent ("DETAILS_INSTANCE_CHANGESEGMENT", nil, instance, segmento)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user