- Added a compare tab under Player Details Window:

This new tab showns up when there is too characters with the same class and spec.
Its useful to compare skills used, uptimes and targets.
- Few improvements on Default and ElvUI skins.
- Added a button for auto align two windows within right chat window when ElvUI skin is active.

- Fixed problem with Damage -> Enemies display.
- Fixed report Player Detail Window report buttons.
- Fixed some report lines where the numbers wasn't properly formatted.
- Fixed a rare bug where the owner of some pets wasn't detected.
- Fixed issue in dungeons where capture data get paused after a boss kill.
- Fixed issue with Encounter Details showing its icon for dungeons bosses.
- Fixed a rare bug where the capture of damage stops after erasing a trash segment.
This commit is contained in:
tercio
2014-06-06 18:03:42 -03:00
parent 710a1e6031
commit e62910b9da
20 changed files with 1317 additions and 537 deletions
+18 -16
View File
@@ -135,6 +135,22 @@
end
return false
end
-- enemies (sort function)
local sortEnemies = function (t1, t2)
local a = _bit_band (t1.flag_original, 0x00000060)
local b = _bit_band (t2.flag_original, 0x00000060)
if (a ~= 0 and b ~= 0) then
return t1.total > t2.total
elseif (a ~= 0 and b == 0) then
return true
elseif (a == 0 and b ~= 0) then
return false
end
return false
end
--[[exported]] function _detalhes:ContainerSortEnemies (container, amount, keyName2)
@@ -231,21 +247,7 @@
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--> special cases
-- enemies (sort function)
local sortEnemies = function (t1, t2)
local a = _bit_band (t1.flag_original, 0x00000060)
local b = _bit_band (t2.flag_original, 0x00000060)
if (a ~= 0 and b ~= 0) then
return t1.total > t2.total
elseif (a ~= 0 and b == 0) then
return true
elseif (a == 0 and b ~= 0) then
return false
end
return false
end
-- dps (calculate dps for actors)
function atributo_damage:ContainerRefreshDps (container, combat_time)
@@ -1860,7 +1862,7 @@ function atributo_damage:MontaDetalhes (spellid, barra)
elseif (info.sub_atributo == 4) then
return self:MontaDetalhesFriendlyFire (spellid, barra)
elseif (info.sub_atributo == 6) then
if (_bit_band (self.serial, 0x00000400) ~= 0) then --é um jogador
if (_bit_band (self.flag_original, 0x00000400) ~= 0) then --é um jogador
return self:MontaDetalhesDamageDone (spellid, barra)
end
return self:MontaDetalhesEnemy (spellid, barra)