- fixed issue when reporting a custom heal attribute.
- fixed problem with dps with isn't showing after a new combat start. - fixed icon problem on actor details panel. - fixed a rare issue when switching between healing and damage throws a lua error. - fixed custom list which wasn't showing the correct custom selected. - added single click report for damage prevented. - added a alert when data share is running. - added single click report for cooldowns. - cooldowns tooltip now show 15 cooldowns up from 3. - added API: _detalhes:GetEncounterEqualize (mapid, bossindex) - added API CoolTip options: "MinWidth".
This commit is contained in:
+11
-1
@@ -350,6 +350,15 @@
|
||||
|
||||
--> schedule sync
|
||||
_detalhes:EqualizeActorsSchedule (_detalhes.host_of)
|
||||
if (_detalhes:GetEncounterEqualize (_detalhes.tabela_vigente.is_boss.mapid, _detalhes.tabela_vigente.is_boss.index)) then
|
||||
local lower_instance = _detalhes:GetLowerInstanceNumber()
|
||||
if (lower_instance) then
|
||||
lower_instance = _detalhes:GetInstance (lower_instance)
|
||||
if (lower_instance) then
|
||||
lower_instance:InstanceAlert (Loc ["STRING_EQUILIZING"], {[[Interface\COMMON\StreamCircle]], 22, 22, true}, 5)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--> schedule clean up
|
||||
_detalhes:ScheduleTimer ("IniciarColetaDeLixo", 15, true)
|
||||
@@ -661,7 +670,7 @@
|
||||
return _detalhes.combat_id
|
||||
end
|
||||
|
||||
--> tooltip fork
|
||||
--> tooltip fork search key: ~tooltip
|
||||
local avatarPoint = {"bottomleft", "topleft", -3, -4}
|
||||
local backgroundPoint = {{"bottomleft", "topleft", 0, -3}, {"bottomright", "topright", 0, -3}}
|
||||
local textPoint = {"left", "right", -11, -5}
|
||||
@@ -672,6 +681,7 @@
|
||||
GameCooltip:SetType ("tooltip")
|
||||
GameCooltip:SetOption ("LeftBorderSize", -5)
|
||||
GameCooltip:SetOption ("RightBorderSize", 5)
|
||||
GameCooltip:SetOption ("MinWidth", 180)
|
||||
GameCooltip:SetOption ("StatusBarTexture", [[Interface\WorldStateFrame\WORLDSTATEFINALSCORE-HIGHLIGHT]]) --[[Interface\Addons\Details\images\bar_flat]]
|
||||
GameCooltip:SetOwner (frame)
|
||||
|
||||
|
||||
+14
-3
@@ -423,7 +423,8 @@
|
||||
if (_detalhes.segments_amount_to_save and _detalhes.segments_amount_to_save < _detalhes.segments_amount) then
|
||||
for i = _detalhes.segments_amount, _detalhes.segments_amount_to_save+1, -1 do
|
||||
if (_detalhes.tabela_historico.tabelas [i]) then
|
||||
_detalhes.tabela_historico.tabelas [i] = nil
|
||||
--_detalhes.tabela_historico.tabelas [i] = nil
|
||||
table.remove (_detalhes.tabela_historico.tabelas, i)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -437,8 +438,8 @@
|
||||
tabelas_de_combate [#tabelas_de_combate+1] = _tabela
|
||||
end
|
||||
|
||||
tabelas_de_combate [#tabelas_de_combate+1] = tabela_atual
|
||||
--tabelas_de_combate [#tabelas_de_combate+1] = tabela_overall
|
||||
--tabelas_de_combate [#tabelas_de_combate+1] = tabela_atual --não salva mais a atual
|
||||
--tabelas_de_combate [#tabelas_de_combate+1] = tabela_overall --não salva mais a overall
|
||||
|
||||
--> make sure details database exists
|
||||
_detalhes_database = _detalhes_database or {}
|
||||
@@ -481,15 +482,25 @@
|
||||
|
||||
if (_iter.data.grupo or _iter.data.boss or _iter.data.boss_fight_component or IsBossEncounter) then
|
||||
can_erase = false
|
||||
--if (class_type == 1) then
|
||||
-- print ("SAVE ", _iter.data.nome, tabela_index)
|
||||
--end
|
||||
else
|
||||
local owner = _iter.data.owner
|
||||
if (owner) then
|
||||
local owner_actor = _combate (class_type, owner.nome)
|
||||
if (owner_actor) then
|
||||
if (owner.grupo or owner.boss or owner.boss_fight_component) then
|
||||
--if (class_type == 1) then
|
||||
-- print ("SAVE", _iter.data.nome, "| owner:",_iter.data.owner.nome, tabela_index)
|
||||
--end
|
||||
can_erase = false
|
||||
end
|
||||
end
|
||||
else
|
||||
--if (class_type == 1) then
|
||||
-- print ("DELETANDO", _iter.data.nome, tabela_index)
|
||||
--end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user