diff --git a/classes/classe_damage.lua b/classes/classe_damage.lua index 02c2f9946..2e44f9c26 100644 --- a/classes/classe_damage.lua +++ b/classes/classe_damage.lua @@ -2770,22 +2770,22 @@ end elseif (classe == "UNGROUPPLAYER") then if (self.enemy) then if (_detalhes.faction_against == "Horde") then - --texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Orc_Male") - texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Horde.blp") + texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Troll_Male") + --texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Horde.blp") texture:SetTexCoord (0.05, 0.95, 0.05, 0.95) else - --texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Human_Male") - texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Alliance.blp") + texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Nightelf_Female") + --texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Alliance.blp") texture:SetTexCoord (0.05, 0.95, 0.05, 0.95) end else if (_detalhes.faction_against == "Horde") then - --texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Human_Male") - texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Alliance.blp") + texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Nightelf_Female") + --texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Alliance.blp") texture:SetTexCoord (0.05, 0.95, 0.05, 0.95) else - --texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Orc_Male") - texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Horde.blp") + texture:SetTexture ("Interface\\ICONS\\Achievement_Character_Troll_Male") + --texture:SetTexture ("Interface\\ICONS\\PVPCurrency-Honor-Horde.blp") texture:SetTexCoord (0.05, 0.95, 0.05, 0.95) end end @@ -4613,7 +4613,7 @@ function atributo_damage:MontaDetalhesDamageDone (spellid, barra, instancia) if (debuff_uptime) then hits_string = hits_string .. " |cFFDDDD44(" .. _math_floor (debuff_uptime / info.instancia.showing:GetCombatTime() * 100) .. "% uptime)|r" end - + local spell_cast = misc_actor.spell_cast and misc_actor.spell_cast [spellid] if (not spell_cast and misc_actor.spell_cast) then @@ -4938,7 +4938,7 @@ function atributo_damage:MontaTooltipAlvos (esta_barra, index, instancia) end end end - end + end _table_sort (habilidades, _detalhes.Sort2) diff --git a/classes/classe_instancia.lua b/classes/classe_instancia.lua index 50993e7fe..a91f2e111 100644 --- a/classes/classe_instancia.lua +++ b/classes/classe_instancia.lua @@ -713,7 +713,7 @@ end end function _detalhes:CriarInstancia (_, id) - + if (id and _type (id) == "boolean") then if (#_detalhes.tabela_instancias >= _detalhes.instances_amount) then diff --git a/gumps/janela_welcome.lua b/gumps/janela_welcome.lua index ff7c626bc..b2c77257d 100644 --- a/gumps/janela_welcome.lua +++ b/gumps/janela_welcome.lua @@ -29,6 +29,14 @@ function _detalhes:OpenWelcomeWindow() window:SetScript ("OnMouseUp", function() window:StopMovingOrSizing() end) window:SetScript ("OnHide", function() _detalhes.tabela_historico:resetar() + + if (DetailsFramework.IsClassicWow()) then + local new_instance = Details:GetWindow (1) + new_instance.row_info.use_spec_icons = false + new_instance.row_info.icon_file = [[Interface\AddOns\Details\images\classes_small]] + new_instance:SetBarSpecIconSettings (false) + end + end) local rodape_bg = window:CreateTexture (nil, "artwork") diff --git a/startup.lua b/startup.lua index 55614c34f..b378ca497 100644 --- a/startup.lua +++ b/startup.lua @@ -1879,9 +1879,9 @@ function _G._detalhes:Start() --show warning message about classic beta if (not DetailsFramework.IsClassicWow()) then - print ("|CFFFFFF00[Tercioo]: this version of Details! is being ported to Classic WoW, bugs may appear here on BfA, report at Discord (/details discord).") + print ("|CFFFFFF00[Details!]: this version of Details! is being ported to Classic WoW, bugs may appear here on BfA, report at Discord (/details discord).") else - print ("|CFFFFFF00[Tercioo]: thanks for testing Details! Damage Meter for Classic WoW, report bugs at Discord (/details discord).") + print ("|CFFFFFF00[Details!]: thanks for testing Details! Damage Meter for Classic WoW, report bugs at Discord (/details discord).") end end