Classic WoW changes

I don't have access to classic wow at the moment, so thise changes are what players are telling me it's bugged.
This commit is contained in:
Tercioo
2019-06-08 15:31:28 -03:00
parent b3ab193856
commit e3c854203c
4 changed files with 21 additions and 13 deletions
+10 -10
View File
@@ -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)
+1 -1
View File
@@ -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
+8
View File
@@ -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")
+2 -2
View File
@@ -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