fixes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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()
|
||||
|
||||
+5
-10
@@ -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()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user