- Plugin 'Damage Rank': is now called 'Damage, the Game!' and was its levels adjusted to WoD.
- Plugin 'Tiny Threat': fixed player name where it was showing the realm name too. - Plugin 'Vanguard': fixed frame details (clicking on a bar) shown behind the Vanguard panel. - Plugin 'Vanguard': fixed a problem when clicking with right button wasn't opening the bookmark panel. - Plugin 'Vanguard': incoming heals now count shield amount on the player too. - Plugin 'Vanguard' Known Bug: incoming damage and melee vs avoidance seems to be inaccurate by now, we need more time to study and fix it. - Added Twins Ogron's Charge as custom spells, one for the charge by him self and other for the copies (mythic only). - Fixed few issues when using class text colors. - Fixed characters name outside instances, now it replaces the realm name with a * and show the complete name on tooltip. - Fixed damage mitigation on damage taken, this affects only specific classes like monk tank. - Fixed auto erase poping up when the player enters on its garrison. - Fixed segments tooltip showing trash cleanup segments inside garrisons. - Fixed command /details disable, wasn't disabling the capture of cooldowns. - Fixed a problem with fast dps/hps when the window is in a empty segment. - Fixed an issue using bookmark panel where it wasn't changing the display when the window is in a plugin mode.
This commit is contained in:
@@ -3981,6 +3981,9 @@ function window:CreateFrame2()
|
||||
frame2.damageCaptureSlider:SetPoint ("left", frame2.damageCaptureLabel, "right", 2)
|
||||
frame2.damageCaptureSlider.OnSwitch = function (self, _, value)
|
||||
_detalhes:CaptureSet (value, "damage", true)
|
||||
if (value) then
|
||||
_detalhes:CaptureSet (true, "spellcast", true)
|
||||
end
|
||||
switch_icon_color (frame2.damageCaptureImage, value)
|
||||
end
|
||||
switch_icon_color (frame2.damageCaptureImage, _detalhes.capture_real ["damage"])
|
||||
@@ -3991,6 +3994,9 @@ function window:CreateFrame2()
|
||||
frame2.healCaptureSlider:SetPoint ("left", frame2.healCaptureLabel, "right", 2)
|
||||
frame2.healCaptureSlider.OnSwitch = function (self, _, value)
|
||||
_detalhes:CaptureSet (value, "heal", true)
|
||||
if (value) then
|
||||
_detalhes:CaptureSet (true, "spellcast", true)
|
||||
end
|
||||
switch_icon_color (frame2.healCaptureImage, value)
|
||||
end
|
||||
switch_icon_color (frame2.healCaptureImage, _detalhes.capture_real ["heal"])
|
||||
@@ -4002,6 +4008,9 @@ function window:CreateFrame2()
|
||||
|
||||
frame2.energyCaptureSlider.OnSwitch = function (self, _, value)
|
||||
_detalhes:CaptureSet (value, "energy", true)
|
||||
if (value) then
|
||||
_detalhes:CaptureSet (true, "spellcast", true)
|
||||
end
|
||||
switch_icon_color (frame2.energyCaptureImage, value)
|
||||
end
|
||||
switch_icon_color (frame2.energyCaptureImage, _detalhes.capture_real ["energy"])
|
||||
@@ -4012,6 +4021,9 @@ function window:CreateFrame2()
|
||||
frame2.miscCaptureSlider:SetPoint ("left", frame2.miscCaptureLabel, "right", 2)
|
||||
frame2.miscCaptureSlider.OnSwitch = function (self, _, value)
|
||||
_detalhes:CaptureSet (value, "miscdata", true)
|
||||
if (value) then
|
||||
_detalhes:CaptureSet (true, "spellcast", true)
|
||||
end
|
||||
switch_icon_color (frame2.miscCaptureImage, value)
|
||||
end
|
||||
switch_icon_color (frame2.miscCaptureImage, _detalhes.capture_real ["miscdata"])
|
||||
@@ -4022,6 +4034,9 @@ function window:CreateFrame2()
|
||||
frame2.auraCaptureSlider:SetPoint ("left", frame2.auraCaptureLabel, "right", 2)
|
||||
frame2.auraCaptureSlider.OnSwitch = function (self, _, value)
|
||||
_detalhes:CaptureSet (value, "aura", true)
|
||||
if (value) then
|
||||
_detalhes:CaptureSet (true, "spellcast", true)
|
||||
end
|
||||
switch_icon_color (frame2.auraCaptureImage, value)
|
||||
end
|
||||
switch_icon_color (frame2.auraCaptureImage, _detalhes.capture_real ["aura"])
|
||||
|
||||
@@ -2303,7 +2303,7 @@ local function iterate_scroll_scripts (backgrounddisplay, backgroundframe, basef
|
||||
end
|
||||
elseif (delta < 0) then --> rolou pra baixo
|
||||
local B = instancia.barraS[2]
|
||||
if (B < instancia.rows_showing) then
|
||||
if (B < (instancia.rows_showing or 0)) then
|
||||
scrollbar:SetValue (scrollbar:GetValue() + instancia.row_height * _detalhes.scroll_speed)
|
||||
else
|
||||
local _, maxValue = scrollbar:GetMinMaxValues()
|
||||
@@ -2332,13 +2332,13 @@ local function iterate_scroll_scripts (backgrounddisplay, backgroundframe, basef
|
||||
baseframe.button_up:Disable()
|
||||
return
|
||||
elseif (maxValue == meu_valor) then
|
||||
local min = instancia.rows_showing -instancia.rows_fit_in_window
|
||||
local min = (instancia.rows_showing or 0) -instancia.rows_fit_in_window
|
||||
min = min+1
|
||||
if (min < 1) then
|
||||
min = 1
|
||||
end
|
||||
instancia.barraS[1] = min
|
||||
instancia.barraS[2] = instancia.rows_showing
|
||||
instancia.barraS[2] = (instancia.rows_showing or 0)
|
||||
instancia:AtualizaGumpPrincipal (instancia, true)
|
||||
self.ultimo = meu_valor
|
||||
baseframe.button_down:Disable()
|
||||
@@ -2355,16 +2355,16 @@ local function iterate_scroll_scripts (backgrounddisplay, backgroundframe, basef
|
||||
if (meu_valor > ultimo) then --> scroll down
|
||||
|
||||
local B = instancia.barraS[2]
|
||||
if (B < instancia.rows_showing) then --> se o valor maximo não for o máximo de barras a serem mostradas
|
||||
if (B < (instancia.rows_showing or 0)) then --> se o valor maximo não for o máximo de barras a serem mostradas
|
||||
local precisa_passar = ((B+1) * instancia.row_height) - (instancia.row_height*instancia.rows_fit_in_window)
|
||||
--if (meu_valor > precisa_passar) then --> o valor atual passou o valor que precisa passar pra locomover
|
||||
if (true) then --> testing by pass row check
|
||||
local diff = meu_valor - ultimo --> pega a diferença de H
|
||||
diff = diff / instancia.row_height --> calcula quantas barras ele pulou
|
||||
diff = _math_ceil (diff) --> arredonda para cima
|
||||
if (instancia.barraS[2]+diff > instancia.rows_showing and ultimo > 0) then
|
||||
instancia.barraS[1] = instancia.rows_showing - (instancia.rows_fit_in_window-1)
|
||||
instancia.barraS[2] = instancia.rows_showing
|
||||
if (instancia.barraS[2]+diff > (instancia.rows_showing or 0) and ultimo > 0) then
|
||||
instancia.barraS[1] = (instancia.rows_showing or 0) - (instancia.rows_fit_in_window-1)
|
||||
instancia.barraS[2] = (instancia.rows_showing or 0)
|
||||
else
|
||||
instancia.barraS[2] = instancia.barraS[2]+diff
|
||||
instancia.barraS[1] = instancia.barraS[1]+diff
|
||||
@@ -3555,6 +3555,11 @@ end
|
||||
--> on update function
|
||||
local fast_ps_func = function (self)
|
||||
local instance = self.instance
|
||||
|
||||
if (not instance.showing) then
|
||||
return
|
||||
end
|
||||
|
||||
local combat_time = instance.showing:GetCombatTime()
|
||||
local ps_type = _detalhes.ps_abbreviation
|
||||
|
||||
|
||||
+4
-3
@@ -218,12 +218,13 @@ function _detalhes:FastSwitch (_this)
|
||||
GameCooltip:ShowCooltip()
|
||||
|
||||
else --> botão esquerdo
|
||||
|
||||
if (_detalhes.switch.current_instancia.modo == _detalhes._detalhes_props["MODO_ALONE"]) then
|
||||
_detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, _detalhes.switch.current_instancia.LastModo)
|
||||
_detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, 2)
|
||||
|
||||
elseif (_detalhes.switch.current_instancia.modo == _detalhes._detalhes_props["MODO_RAID"]) then
|
||||
_detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, _detalhes.switch.current_instancia.LastModo)
|
||||
|
||||
_detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, 2)
|
||||
|
||||
end
|
||||
|
||||
_detalhes.switch.current_instancia:TrocaTabela (_detalhes.switch.current_instancia, true, _this.atributo, _this.sub_atributo)
|
||||
|
||||
Reference in New Issue
Block a user