- 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:
@@ -169,11 +169,13 @@
|
||||
|
||||
--> verifica se é um pet, se for confere se tem o nome do dono, se não tiver, precisa por
|
||||
local dono_do_pet
|
||||
if (flag and _bit_band (flag, OBJECT_TYPE_PETS) ~= 0) then --> é um pet
|
||||
|
||||
--if (flag and _bit_band (flag, OBJECT_TYPE_PETS) ~= 0) then --> é um pet
|
||||
if (_detalhes.tabela_pets.pets [serial]) then --> é um pet
|
||||
--> aqui ele precisaria achar as tag < > pra saber se o nome passado já não veio com o dono imbutido, se não tiver as tags, terá que ser posto aqui
|
||||
if (not nome:find ("<") or not nome:find (">")) then --> find é lento, não teria outra forma de fazer isso?
|
||||
local nome_dele, dono_nome, dono_serial, dono_flag = _detalhes.tabela_pets:PegaDono (serial, nome, flag)
|
||||
if (nome_dele) then
|
||||
if (nome_dele and dono_nome) then
|
||||
nome = nome_dele
|
||||
dono_do_pet = self:PegarCombatente (dono_serial, dono_nome, dono_flag, true, nome)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user