diff --git a/boot.lua b/boot.lua index 3b70c350..8b2887b5 100644 --- a/boot.lua +++ b/boot.lua @@ -8,7 +8,7 @@ _ = nil _detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0", "LibHotCorners") - _detalhes.userversion = "v1.16.3" + _detalhes.userversion = "v1.16.3a" _detalhes.version = "Alpha 019" _detalhes.realversion = 19 diff --git a/classes/classe_instancia.lua b/classes/classe_instancia.lua index cbdba9d4..631cfed2 100644 --- a/classes/classe_instancia.lua +++ b/classes/classe_instancia.lua @@ -2144,9 +2144,11 @@ function _detalhes:AlteraModo (instancia, qual, from_mode_menu) end _detalhes.popup:Select (1, checked) - if (from_mode_menu) then instancia.baseframe.cabecalho.modo_selecao:GetScript ("OnEnter")(instancia.baseframe.cabecalho.modo_selecao) + if (instancia.desaturated_menu) then + instancia.baseframe.cabecalho.modo_selecao:GetNormalTexture():SetDesaturated (true) + end end end diff --git a/classes/container_combatentes.lua b/classes/container_combatentes.lua index b12b7463..e8e45ce3 100644 --- a/classes/container_combatentes.lua +++ b/classes/container_combatentes.lua @@ -150,10 +150,7 @@ end local arena_props = _detalhes.arena_table [nome] - if (nome == "Ditador") then - print ("Arena Cprops: ", arena_props) - end - + if (arena_props) then novo_objeto.role = arena_props.role @@ -163,8 +160,6 @@ novo_objeto.role = role end end - - print ("TEM CPROPS", novo_objeto.role) else local oponentes = GetNumArenaOpponentSpecs() local found = false diff --git a/core/control.lua b/core/control.lua index 74201595..dba8fe29 100644 --- a/core/control.lua +++ b/core/control.lua @@ -367,7 +367,7 @@ _detalhes.schedule_remove_overall = false _detalhes.tabela_historico:resetar_overall() end - + _detalhes:CatchRaidBuffUptime ("BUFF_UPTIME_OUT") _detalhes:CatchRaidDebuffUptime ("DEBUFF_UPTIME_OUT") _detalhes:CloseEnemyDebuffsUptime() diff --git a/core/parser.lua b/core/parser.lua index cadb45a5..6747e199 100644 --- a/core/parser.lua +++ b/core/parser.lua @@ -610,7 +610,7 @@ ------------------------------------------------------------------------------------------------ --> an enemy healing enemy or an player actor healing a enemy - if (_bit_band (alvo_flags, REACTION_FRIENDLY) == 0) then + if (_bit_band (alvo_flags, REACTION_FRIENDLY) == 0 and not _detalhes.is_in_arena) then if (not este_jogador.heal_enemy [spellid]) then este_jogador.heal_enemy [spellid] = cura_efetiva else @@ -2482,25 +2482,24 @@ token_list ["SWING_MISSED"] = parser.swingmissed token_list ["SPELL_MISSED"] = parser.missed - elseif (capture_type == "heal") then token_list ["SPELL_HEAL"] = parser.heal token_list ["SPELL_PERIODIC_HEAL"] = parser.heal _recording_healing = true - + elseif (capture_type == "aura") then token_list ["SPELL_AURA_APPLIED"] = parser.buff token_list ["SPELL_AURA_REMOVED"] = parser.unbuff token_list ["SPELL_AURA_REFRESH"] = parser.buff_refresh _recording_buffs_and_debuffs = true - + elseif (capture_type == "energy") then token_list ["SPELL_ENERGIZE"] = parser.energize token_list ["SPELL_PERIODIC_ENERGIZE"] = parser.energize - + elseif (capture_type == "spellcast") then token_list ["SPELL_CAST_SUCCESS"] = parser.spellcast - + elseif (capture_type == "miscdata") then -- dispell token_list ["SPELL_DISPEL"] = parser.dispell @@ -2522,10 +2521,6 @@ -- PARSER --serach key: ~parser ~event ~start ~inicio - - - - function _detalhes.parser_functions:ZONE_CHANGED_NEW_AREA (...) local zoneName, zoneType, _, _, _, _, _, zoneMapID = _GetInstanceInfo() diff --git a/gumps/janela_principal.lua b/gumps/janela_principal.lua index e2b99775..c7ca366c 100644 --- a/gumps/janela_principal.lua +++ b/gumps/janela_principal.lua @@ -3937,13 +3937,13 @@ local build_mode_list = function (self, elapsed) CoolTip:AddIcon ([[Interface\AddOns\Details\images\modo_icones]], 1, 1, 20, 20, 0, 32/256, 0, 1) --CoolTip:AddLine (Loc ["STRING_HELP_MODESELF"], nil, 2) --CoolTip:AddIcon ([[Interface\TUTORIALFRAME\TutorialFrame-QuestionMark]], 2, 1, 16, 16, 8/64, 1 - (8/64), 8/64, 1 - (8/64)) - + --build self plugins list CoolTip:AddLine (Loc ["STRING_OPTIONS_WINDOW"]) CoolTip:AddMenu (1, _detalhes.OpenOptionsWindow) CoolTip:AddIcon ([[Interface\AddOns\Details\images\modo_icones]], 1, 1, 20, 20, 32/256*4, 32/256*5, 0, 1) - + --CoolTip:AddFromTable (parameters_table [4]) if (instancia.consolidate) then @@ -3958,9 +3958,9 @@ local build_mode_list = function (self, elapsed) --CoolTip:SetWallpaper (1, [[Interface\ACHIEVEMENTFRAME\UI-Achievement-Parchment-Horizontal-Desaturated]], nil, {1, 1, 1, 0.3}) CoolTip:SetWallpaper (1, [[Interface\SPELLBOOK\Spellbook-Page-1]], {.6, 0.1, 0, 0.64453125}, {1, 1, 1, 0.1}, true) - + show_anti_overlap (instancia, self, "top") - + CoolTip:ShowCooltip() end end