- Fixed an issue with overall data where max/min amount for spell was being calculated wrong.
- Fixed a problem while reporting enemy damage taken. - Fixed an issue with damage taken by spell where some spells wasn't shown. - Fixed window positioning when changing from Solo mode to Group mode. - Fixed a accuracy problem with shaman's spirit link toten where its life exchange was considered healing done. - Few improvements on tooltips. - Boss segments now need to have at least 30 seconds to be added on the overall data. - When the segment limit is reach, segments with less combat time will be erased instead of the olders. - Added item level tracker. - Added an option for change the amount of lines on death log. - Added custom display for CC done.
This commit is contained in:
@@ -3623,7 +3623,19 @@ end
|
||||
if (not habilidade_shadow [key]) then
|
||||
habilidade_shadow [key] = 0
|
||||
end
|
||||
habilidade_shadow [key] = habilidade_shadow [key] + value
|
||||
|
||||
if (key == "n_min" or key == "c_min") then
|
||||
if (habilidade_shadow [key] > value) then
|
||||
habilidade_shadow [key] = value
|
||||
end
|
||||
elseif (key == "n_max" or key == "c_max") then
|
||||
if (habilidade_shadow [key] < value) then
|
||||
habilidade_shadow [key] = value
|
||||
end
|
||||
else
|
||||
habilidade_shadow [key] = habilidade_shadow [key] + value
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -3688,7 +3700,19 @@ atributo_damage.__add = function (tabela1, tabela2)
|
||||
if (not habilidade_tabela1 [key]) then
|
||||
habilidade_tabela1 [key] = 0
|
||||
end
|
||||
habilidade_tabela1 [key] = habilidade_tabela1 [key] + value
|
||||
|
||||
if (key == "n_min" or key == "c_min") then
|
||||
if (habilidade_tabela1 [key] > value) then
|
||||
habilidade_tabela1 [key] = value
|
||||
end
|
||||
elseif (key == "n_max" or key == "c_max") then
|
||||
if (habilidade_tabela1 [key] < value) then
|
||||
habilidade_tabela1 [key] = value
|
||||
end
|
||||
else
|
||||
habilidade_tabela1 [key] = habilidade_tabela1 [key] + value
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -3751,7 +3775,17 @@ atributo_damage.__sub = function (tabela1, tabela2)
|
||||
if (not habilidade_tabela1 [key]) then
|
||||
habilidade_tabela1 [key] = 0
|
||||
end
|
||||
habilidade_tabela1 [key] = habilidade_tabela1 [key] - value
|
||||
if (key == "n_min" or key == "c_min") then
|
||||
if (habilidade_tabela1 [key] > value) then
|
||||
habilidade_tabela1 [key] = value
|
||||
end
|
||||
elseif (key == "n_max" or key == "c_max") then
|
||||
if (habilidade_tabela1 [key] < value) then
|
||||
habilidade_tabela1 [key] = value
|
||||
end
|
||||
else
|
||||
habilidade_tabela1 [key] = habilidade_tabela1 [key] - value
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user