- Fixed the healing done problem with Priest's Spirit of Redemption.
- Fixed avoidance by absorb when the hit missed was a multistrike hit. - Fixed a script time out problem when erasing data while in combat. - Fixed bug with interrupt tooltip when the player have a pet.
This commit is contained in:
@@ -672,26 +672,28 @@ function _detalhes:BaseFrameSnap()
|
||||
--print ("DEBUG instancia " .. snap_to .. " lado "..lado)
|
||||
local instancia_alvo = _detalhes.tabela_instancias [snap_to]
|
||||
|
||||
if (lado == 1) then --> a esquerda
|
||||
instancia_alvo.baseframe:SetPoint ("TOPRIGHT", my_baseframe, "TOPLEFT")
|
||||
|
||||
elseif (lado == 2) then --> em baixo
|
||||
local statusbar_y_mod = 0
|
||||
if (not self.show_statusbar) then
|
||||
statusbar_y_mod = 14
|
||||
end
|
||||
instancia_alvo.baseframe:SetPoint ("TOPLEFT", my_baseframe, "BOTTOMLEFT", 0, -34 + statusbar_y_mod)
|
||||
|
||||
elseif (lado == 3) then --> a direita
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", my_baseframe, "BOTTOMRIGHT")
|
||||
|
||||
elseif (lado == 4) then --> em cima
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia_alvo.show_statusbar) then
|
||||
statusbar_y_mod = -14
|
||||
end
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", my_baseframe, "TOPLEFT", 0, 34 + statusbar_y_mod)
|
||||
if (instancia_alvo.ativa and instancia_alvo.baseframe) then
|
||||
if (lado == 1) then --> a esquerda
|
||||
instancia_alvo.baseframe:SetPoint ("TOPRIGHT", my_baseframe, "TOPLEFT")
|
||||
|
||||
elseif (lado == 2) then --> em baixo
|
||||
local statusbar_y_mod = 0
|
||||
if (not self.show_statusbar) then
|
||||
statusbar_y_mod = 14
|
||||
end
|
||||
instancia_alvo.baseframe:SetPoint ("TOPLEFT", my_baseframe, "BOTTOMLEFT", 0, -34 + statusbar_y_mod)
|
||||
|
||||
elseif (lado == 3) then --> a direita
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", my_baseframe, "BOTTOMRIGHT")
|
||||
|
||||
elseif (lado == 4) then --> em cima
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia_alvo.show_statusbar) then
|
||||
statusbar_y_mod = -14
|
||||
end
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", my_baseframe, "TOPLEFT", 0, 34 + statusbar_y_mod)
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -721,30 +723,33 @@ function _detalhes:BaseFrameSnap()
|
||||
end
|
||||
|
||||
--> fazer os setpoints
|
||||
if (lado_reverso == 1) then --> a esquerda
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "BOTTOMRIGHT")
|
||||
|
||||
elseif (lado_reverso == 2) then --> em baixo
|
||||
if (instancia_alvo.ativa and instancia_alvo.baseframe) then
|
||||
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia_alvo.show_statusbar) then
|
||||
statusbar_y_mod = -14
|
||||
if (lado_reverso == 1) then --> a esquerda
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "BOTTOMRIGHT")
|
||||
|
||||
elseif (lado_reverso == 2) then --> em baixo
|
||||
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia_alvo.show_statusbar) then
|
||||
statusbar_y_mod = -14
|
||||
end
|
||||
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "TOPLEFT", 0, 34 + statusbar_y_mod) -- + (statusbar_y_mod*-1)
|
||||
|
||||
elseif (lado_reverso == 3) then --> a direita
|
||||
instancia_alvo.baseframe:SetPoint ("TOPRIGHT", instancia.baseframe, "TOPLEFT")
|
||||
|
||||
elseif (lado_reverso == 4) then --> em cima
|
||||
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia.show_statusbar) then
|
||||
statusbar_y_mod = 14
|
||||
end
|
||||
|
||||
instancia_alvo.baseframe:SetPoint ("TOPLEFT", instancia.baseframe, "BOTTOMLEFT", 0, -34 + statusbar_y_mod)
|
||||
|
||||
end
|
||||
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "TOPLEFT", 0, 34 + statusbar_y_mod) -- + (statusbar_y_mod*-1)
|
||||
|
||||
elseif (lado_reverso == 3) then --> a direita
|
||||
instancia_alvo.baseframe:SetPoint ("TOPRIGHT", instancia.baseframe, "TOPLEFT")
|
||||
|
||||
elseif (lado_reverso == 4) then --> em cima
|
||||
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia.show_statusbar) then
|
||||
statusbar_y_mod = 14
|
||||
end
|
||||
|
||||
instancia_alvo.baseframe:SetPoint ("TOPLEFT", instancia.baseframe, "BOTTOMLEFT", 0, -34 + statusbar_y_mod)
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -758,28 +763,30 @@ function _detalhes:BaseFrameSnap()
|
||||
if (snap_to > instancia.meu_id and snap_to ~= self.meu_id) then
|
||||
local instancia_alvo = _detalhes.tabela_instancias [snap_to]
|
||||
|
||||
if (lado == 1) then --> a esquerda
|
||||
instancia_alvo.baseframe:SetPoint ("TOPRIGHT", instancia.baseframe, "TOPLEFT")
|
||||
if (instancia_alvo.ativa and instancia_alvo.baseframe) then
|
||||
if (lado == 1) then --> a esquerda
|
||||
instancia_alvo.baseframe:SetPoint ("TOPRIGHT", instancia.baseframe, "TOPLEFT")
|
||||
|
||||
elseif (lado == 2) then --> em baixo
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia.show_statusbar) then
|
||||
statusbar_y_mod = 14
|
||||
end
|
||||
instancia_alvo.baseframe:SetPoint ("TOPLEFT", instancia.baseframe, "BOTTOMLEFT", 0, -34 + statusbar_y_mod)
|
||||
|
||||
elseif (lado == 3) then --> a direita
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "BOTTOMRIGHT")
|
||||
|
||||
elseif (lado == 4) then --> em cima
|
||||
|
||||
elseif (lado == 2) then --> em baixo
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia.show_statusbar) then
|
||||
statusbar_y_mod = 14
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia_alvo.show_statusbar) then
|
||||
statusbar_y_mod = -14
|
||||
end
|
||||
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "TOPLEFT", 0, 34 + statusbar_y_mod)
|
||||
|
||||
end
|
||||
instancia_alvo.baseframe:SetPoint ("TOPLEFT", instancia.baseframe, "BOTTOMLEFT", 0, -34 + statusbar_y_mod)
|
||||
|
||||
elseif (lado == 3) then --> a direita
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "BOTTOMRIGHT")
|
||||
|
||||
elseif (lado == 4) then --> em cima
|
||||
|
||||
local statusbar_y_mod = 0
|
||||
if (not instancia_alvo.show_statusbar) then
|
||||
statusbar_y_mod = -14
|
||||
end
|
||||
|
||||
instancia_alvo.baseframe:SetPoint ("BOTTOMLEFT", instancia.baseframe, "TOPLEFT", 0, 34 + statusbar_y_mod)
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user