- Applyed the experimental alphabetical sort method on Damage and Heal classes.

- Spell icon is shown when the character is a environment spell type.
- Changed the non-player enemy icon (monsters).
- Fixed bug on flex performance profile.
This commit is contained in:
tercio
2014-07-10 13:52:55 -03:00
parent 3391a22ebc
commit 67c844e8f8
10 changed files with 55 additions and 21 deletions
+24 -6
View File
@@ -227,16 +227,18 @@
function atributo_damage:NovaTabela (serial, nome, link)
local alphabetical = _detalhes:GetAlphabeticalOrderNumber (nome)
--> constructor
local _new_damageActor = {
tipo = class_type,
total = 0,
total_without_pet = 0,
total = alphabetical,
total_without_pet = alphabetical,
custom = 0,
damage_taken = 0,
damage_taken = alphabetical,
damage_from = {},
dps_started = false,
@@ -1371,9 +1373,23 @@ end
esta_barra.background:SetVertexColor (actor_class_color_r, actor_class_color_g, actor_class_color_b)
end
if (self.classe == "UNKNOW") then
esta_barra.icone_classe:SetTexture ("Interface\\LFGFRAME\\LFGROLE_BW")
esta_barra.icone_classe:SetTexCoord (.25, .5, 0, 1)
--icon
if (self.spellicon) then
esta_barra.icone_classe:SetTexture (self.spellicon)
esta_barra.icone_classe:SetTexCoord (0.078125, 0.921875, 0.078125, 0.921875)
esta_barra.icone_classe:SetVertexColor (1, 1, 1)
elseif (self.classe == "UNKNOW") then
--esta_barra.icone_classe:SetTexture ("Interface\\LFGFRAME\\LFGROLE")
--esta_barra.icone_classe:SetTexCoord (.25, .5, 0, 1)
--esta_barra.icone_classe:SetTexture ([[Interface\TARGETINGFRAME\PetBadge-Undead]])
--esta_barra.icone_classe:SetTexCoord (0.09375, 0.90625, 0.09375, 0.90625)
esta_barra.icone_classe:SetTexture ([[Interface\AddOns\Details\images\classes_plus]])
esta_barra.icone_classe:SetTexCoord (0.50390625, 0.62890625, 0, 0.125)
esta_barra.icone_classe:SetVertexColor (1, 1, 1)
elseif (self.classe == "UNGROUPPLAYER") then
@@ -1407,6 +1423,8 @@ end
esta_barra.icone_classe:SetVertexColor (1, 1, 1)
end
--texture and text
if (self.enemy) then
if (self.arena_enemy) then
esta_barra.texto_esquerdo:SetText (esta_barra.colocacao .. ".|TInterface\\LFGFRAME\\UI-LFG-ICON-ROLES:" .. instancia.row_info.height .. ":" .. instancia.row_info.height .. ":0:0:256:256:" .. _detalhes.role_texcoord [self.role or "NONE"] .. "|t" .. self.displayName)
+8 -6
View File
@@ -68,20 +68,22 @@ local keyName
function atributo_heal:NovaTabela (serial, nome, link)
local alphabetical = _detalhes:GetAlphabeticalOrderNumber (nome)
--> constructor
local _new_healActor = {
tipo = class_type, --> atributo 2 = cura
total = 0,
totalover = 0,
totalabsorb = 0,
total = alphabetical,
totalover = alphabetical,
totalabsorb = alphabetical,
custom = 0,
total_without_pet = 0,
totalover_without_pet = 0,
total_without_pet = alphabetical,
totalover_without_pet = alphabetical,
healing_taken = 0, --> total de cura que este jogador recebeu
healing_taken = alphabetical, --> total de cura que este jogador recebeu
healing_from = {}, --> armazena os nomes que deram cura neste jogador
iniciar_hps = false, --> dps_started