- Click to open menus now close the menu if already opened.
- Added warrior execute and raging blow to spell consolidation. - Fixed some errors with the search spell on Details! Forge.
This commit is contained in:
@@ -130,6 +130,15 @@
|
||||
[201364] = 218617, --warrior rampage
|
||||
[201363] = 218617, --warrior rampage
|
||||
|
||||
[85384] = 96103, --warrior raging blow
|
||||
[85288] = 96103, --warrior raging blow
|
||||
|
||||
[163558] = 5308, --warrior execute
|
||||
[217955] = 5308, --warrior execute
|
||||
[217956] = 5308, --warrior execute
|
||||
[217957] = 5308, --warrior execute
|
||||
[224253] = 5308, --warrior execute
|
||||
|
||||
[222031] = 199547, --deamonhunter ChaosStrike
|
||||
[200685] = 199552, --deamonhunter Blade Dance
|
||||
[210155] = 210153, --deamonhunter Death Sweep
|
||||
|
||||
+12
-4
@@ -3216,8 +3216,12 @@
|
||||
if (can_add ) then
|
||||
if (filter_name ~= "") then
|
||||
local spellName = GetSpellInfo (spellID)
|
||||
spellName = lower (spellName)
|
||||
if (not spellName:find (lower_FilterSpellName)) then
|
||||
if (spellName) then
|
||||
spellName = lower (spellName)
|
||||
if (not spellName:find (lower_FilterSpellName)) then
|
||||
can_add = false
|
||||
end
|
||||
else
|
||||
can_add = false
|
||||
end
|
||||
end
|
||||
@@ -3345,8 +3349,12 @@
|
||||
if (can_add ) then
|
||||
if (filter_name ~= "") then
|
||||
local spellName = GetSpellInfo (spellID)
|
||||
spellName = lower (spellName)
|
||||
if (not spellName:find (lower_FilterSpellName)) then
|
||||
if (spellName) then
|
||||
spellName = lower (spellName)
|
||||
if (not spellName:find (lower_FilterSpellName)) then
|
||||
can_add = false
|
||||
end
|
||||
else
|
||||
can_add = false
|
||||
end
|
||||
end
|
||||
|
||||
@@ -317,6 +317,8 @@ function _detalhes:LoadConfig()
|
||||
if (not _detalhes_database.last_version or _detalhes_database.last_version ~= _detalhes.userversion) then
|
||||
_detalhes.is_version_first_run = true
|
||||
end
|
||||
--_detalhes.is_version_first_run = true
|
||||
--_detalhes_database.last_realversion = 126
|
||||
|
||||
--> profile
|
||||
|
||||
|
||||
@@ -8890,7 +8890,13 @@ function gump:CriaCabecalho (baseframe, instancia)
|
||||
--> SELEÇÃO DO MODO ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
local modo_selecao_button_click = function()
|
||||
if (_detalhes.instances_menu_click_to_open) then
|
||||
modo_selecao_on_enter (instancia.baseframe.cabecalho.modo_selecao.widget, _, true, true)
|
||||
if (instancia.LastMenuOpened == "mode" and GameCooltipFrame1:IsShown()) then
|
||||
GameCooltip:ShowMe (false)
|
||||
instancia.LastMenuOpened = nil
|
||||
else
|
||||
modo_selecao_on_enter (instancia.baseframe.cabecalho.modo_selecao.widget, _, true, true)
|
||||
instancia.LastMenuOpened = "mode"
|
||||
end
|
||||
else
|
||||
_detalhes:OpenOptionsWindow (instancia)
|
||||
end
|
||||
@@ -8916,7 +8922,13 @@ function gump:CriaCabecalho (baseframe, instancia)
|
||||
--> SELECIONAR O SEGMENTO ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
local segmento_button_click = function (self, button, param1)
|
||||
if (_detalhes.instances_menu_click_to_open) then
|
||||
segmento_on_enter (instancia.baseframe.cabecalho.segmento.widget, _, true, true)
|
||||
if (instancia.LastMenuOpened == "segments" and GameCooltipFrame1:IsShown()) then
|
||||
GameCooltip:ShowMe (false)
|
||||
instancia.LastMenuOpened = nil
|
||||
else
|
||||
segmento_on_enter (instancia.baseframe.cabecalho.segmento.widget, _, true, true)
|
||||
instancia.LastMenuOpened = "segments"
|
||||
end
|
||||
else
|
||||
click_to_change_segment (instancia, button)
|
||||
end
|
||||
@@ -8944,7 +8956,13 @@ function gump:CriaCabecalho (baseframe, instancia)
|
||||
--> SELECIONAR O ATRIBUTO ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
local atributo_button_click = function()
|
||||
if (_detalhes.instances_menu_click_to_open) then
|
||||
atributo_on_enter (instancia.baseframe.cabecalho.atributo.widget, _, true, true)
|
||||
if (instancia.LastMenuOpened == "attributes" and GameCooltipFrame1:IsShown()) then
|
||||
GameCooltip:ShowMe (false)
|
||||
instancia.LastMenuOpened = nil
|
||||
else
|
||||
atributo_on_enter (instancia.baseframe.cabecalho.atributo.widget, _, true, true)
|
||||
instancia.LastMenuOpened = "attributes"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -8991,7 +9009,13 @@ function gump:CriaCabecalho (baseframe, instancia)
|
||||
|
||||
local reset_func = function()
|
||||
if (_detalhes.instances_menu_click_to_open) then
|
||||
reset_button_onenter (instancia.baseframe.cabecalho.reset, _, true, true)
|
||||
if (instancia.LastMenuOpened == "reset" and GameCooltipFrame1:IsShown()) then
|
||||
GameCooltip:ShowMe (false)
|
||||
instancia.LastMenuOpened = nil
|
||||
else
|
||||
reset_button_onenter (instancia.baseframe.cabecalho.reset, _, true, true)
|
||||
instancia.LastMenuOpened = "reset"
|
||||
end
|
||||
else
|
||||
if (not _detalhes.disable_reset_button) then
|
||||
_detalhes.tabela_historico:resetar()
|
||||
|
||||
+27
-2
@@ -1253,7 +1253,7 @@ function _G._detalhes:Start()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--> check is this is the first run of this version
|
||||
if (self.is_version_first_run) then
|
||||
|
||||
@@ -1301,7 +1301,7 @@ function _G._detalhes:Start()
|
||||
|
||||
local text1 = f:CreateFontString (nil, "overlay", "GameFontNormal")
|
||||
text1:SetPoint ("topleft", f, "topleft", 60, -210)
|
||||
text1:SetText ("Yeah, another popup window, but it's for a good cause: has been added new features for content creators, check it out at the options panel > Streamer Settings, thank you!")
|
||||
text1:SetText ("Yeap, another popup window, but it's for a good cause: has been added new features for content creators, check it out at the options panel > Streamer Settings, thank you!")
|
||||
text1:SetSize (400, 200)
|
||||
text1:SetJustifyV ("top")
|
||||
text1:SetJustifyH ("left")
|
||||
@@ -1312,9 +1312,34 @@ function _G._detalhes:Start()
|
||||
ipad:SetPoint ("topleft", bg, "topleft", 474, -279)
|
||||
ipad:SetTexCoord (110/512, 240/512, 163/512, 251/512)
|
||||
|
||||
local playerteam = f:CreateTexture (nil, "overlay")
|
||||
playerteam:SetTexture ([[Interface\Addons\Details\images\icons2]])
|
||||
playerteam:SetSize (250, 61)
|
||||
playerteam:SetPoint ("topleft", bg, "topleft", 50, -289)
|
||||
playerteam:SetTexCoord (259/512, 509/512, 186/512, 247/512)
|
||||
|
||||
local eventtracker = f:CreateTexture (nil, "overlay")
|
||||
eventtracker:SetTexture ([[Interface\Addons\Details\images\icons2]])
|
||||
eventtracker:SetSize (256, 50)
|
||||
eventtracker:SetPoint ("topleft", bg, "topleft", 50, -370)
|
||||
eventtracker:SetTexCoord (0.5, 1, 134/512, 184/512)
|
||||
|
||||
local closebutton = _detalhes.gump:CreateButton (f, function() f:Hide() end, 100, 24, "CLOSE")
|
||||
closebutton:SetPoint ("topleft", bg, "topleft", 400, -405)
|
||||
closebutton:InstallCustomTexture()
|
||||
|
||||
C_Timer.After (5, function()
|
||||
local StreamerPlugin = _detalhes:GetPlugin ("DETAILS_PLUGIN_STREAM_OVERLAY")
|
||||
if (StreamerPlugin) then
|
||||
local tPluginSettings = _detalhes:GetPluginSavedTable ("DETAILS_PLUGIN_STREAM_OVERLAY")
|
||||
if (tPluginSettings) then
|
||||
local bIsPluginEnabled = tPluginSettings.enabled
|
||||
if (bIsPluginEnabled and _detalhes.streamer_config) then
|
||||
_detalhes.streamer_config.use_animation_accel = true
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
end
|
||||
--]]
|
||||
|
||||
Reference in New Issue
Block a user