diff --git a/boot.lua b/boot.lua index 2cd187aa..e0369f99 100644 --- a/boot.lua +++ b/boot.lua @@ -4,9 +4,9 @@ _ = nil _detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0", "LibHotCorners") - _detalhes.version = "v1.19.0 (core 22)" - _detalhes.userversion = "v1.19.0" - _detalhes.build_counter = 9 --it's 11 for release + _detalhes.version = "v1.19.1 (core 22)" + _detalhes.userversion = "v1.19.1" + _detalhes.build_counter = 9 --it's 12 for release _detalhes.realversion = 22 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- diff --git a/classes/classe_combate.lua b/classes/classe_combate.lua index b5624d7f..a1ae1557 100644 --- a/classes/classe_combate.lua +++ b/classes/classe_combate.lua @@ -52,6 +52,10 @@ return self.TimeData [name] end + function combate:IsTrash() + return self.is_trash + end + --return the name of the encounter or enemy function combate:GetCombatName (try_find) if (self.is_pvp) then diff --git a/classes/classe_custom.lua b/classes/classe_custom.lua index eccb8353..d4e30536 100644 --- a/classes/classe_custom.lua +++ b/classes/classe_custom.lua @@ -4,6 +4,8 @@ local gump = _detalhes.gump local _ + _detalhes.custom_function_cache = {} + ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --> local pointers @@ -99,11 +101,19 @@ function atributo_custom:RefreshWindow (instance, combat, force, export) --> be save reseting the values on every refresh instance_container:ResetCustomActorContainer() - --> todo: cache custom scripts - local func = loadstring (custom_object.script) + local func + if (_detalhes.custom_function_cache [instance.customName]) then + func = _detalhes.custom_function_cache [instance.customName] + else + func = loadstring (custom_object.script) + if (not func) then + _detalhes.custom_function_cache [instance.customName] = func + end + end if (not func) then - print ("error building the function.", func) + _detalhes:Msg (Loc ["STRING_CUSTOM_FUNC_INVALID"], func) + _detalhes:EndRefresh (instance, 0, combat, combat [1]) end --> call the loop function @@ -399,9 +409,9 @@ end GameCooltip:AddLine (name) GameCooltip:AddIcon (icon, 1, 1, 14, 14) - GameCooltip:AddLine ("Damage: ", spell.total) --> localize-me - GameCooltip:AddLine ("Hits: ", spell.counter) --> localize-me - GameCooltip:AddLine ("Critical Hits: ", spell.c_amt) --> localize-me + GameCooltip:AddLine (Loc ["STRING_DAMAGE"] .. ": ", spell.total) + GameCooltip:AddLine (Loc ["STRING_HITS"] .. ": ", spell.counter) + GameCooltip:AddLine (Loc ["STRING_CRITICAL_HITS"] .. ": ", spell.c_amt) end elseif (target) then @@ -577,9 +587,9 @@ end GameCooltip:AddLine (name) GameCooltip:AddIcon (icon, 1, 1, 14, 14) - GameCooltip:AddLine ("Healing: ", spell.total) --> localize-me - GameCooltip:AddLine ("Hits: ", spell.counter) --> localize-me - GameCooltip:AddLine ("Critical Hits: ", spell.c_amt) --> localize-me + GameCooltip:AddLine (Loc ["STRING_HEAL"] .. ": ", spell.total) + GameCooltip:AddLine (Loc ["STRING_HITS"] .. ": ", spell.counter) + GameCooltip:AddLine (Loc ["STRING_CRITICAL_HITS"] .. ": ", spell.c_amt) end elseif (target) then @@ -1177,6 +1187,10 @@ end _detalhes.switch:OnRemoveCustom (index) end + function _detalhes:ResetCustomFunctionsCache() + table.wipe (_detalhes.custom_function_cache) + end + function _detalhes.refresh:r_atributo_custom() --> check for non used temp displays diff --git a/core/meta.lua b/core/meta.lua index b7f556f2..e9792e84 100644 --- a/core/meta.lua +++ b/core/meta.lua @@ -189,6 +189,15 @@ local historico_tabelas = _detalhes.tabela_historico.tabelas or {} + --> remove os segmentos de trash + for i = #historico_tabelas, 1, -1 do + local combate = historico_tabelas [i] + if (combate:IsTrash()) then + table.remove (historico_tabelas, i) + end + end + + --> remove os segmentos > que o limite permitido para salvar if (_detalhes.segments_amount_to_save and _detalhes.segments_amount_to_save < _detalhes.segments_amount) then for i = _detalhes.segments_amount, _detalhes.segments_amount_to_save+1, -1 do if (_detalhes.tabela_historico.tabelas [i]) then @@ -518,7 +527,7 @@ end end - + --> panic mode if (_detalhes.segments_panic_mode and _detalhes.can_panic_mode) then if (_detalhes.tabela_vigente.is_boss) then diff --git a/gumps/janela_custom.lua b/gumps/janela_custom.lua index af45ae35..558a0bca 100644 --- a/gumps/janela_custom.lua +++ b/gumps/janela_custom.lua @@ -222,6 +222,7 @@ end _detalhes.switch:OnRemoveCustom (index) + _detalhes:ResetCustomFunctionsCache() end function DetailsCustomPanel:StartEdit (custom_object, import) @@ -320,6 +321,8 @@ elseif (string.len (name) > 32) then return false, _detalhes:Msg (Loc ["STRING_CUSTOM_LONGNAME"]) end + + _detalhes:ResetCustomFunctionsCache() local icon = self.icon_image:GetTexture() local desc = self.desc_field:GetText() diff --git a/gumps/janela_info.lua b/gumps/janela_info.lua index bcbc605f..f8db1f7f 100644 --- a/gumps/janela_info.lua +++ b/gumps/janela_info.lua @@ -1796,7 +1796,7 @@ function gump:CriaJanelaInfo() if (data [2] > player_3_target_total) then local diff = data [2] - player_3_target_total - local up = diff / player_3_target_total [2] * 100 + local up = diff / player_3_target_total * 100 up = _math_floor (up) if (up > 999) then up = ">" .. 999 @@ -2431,9 +2431,13 @@ function gump:CriaJanelaInfo() if (player2_misc) then local spell = player2_misc.debuff_uptime_spell_tables and player2_misc.debuff_uptime_spell_tables._ActorTable and player2_misc.debuff_uptime_spell_tables._ActorTable [spellid] - if (spell and spell.uptime and player1_uptime) then + if (spell and spell.uptime) then local minutos, segundos = _math_floor (spell.uptime/60), _math_floor (spell.uptime%60) - if (player1_uptime > spell.uptime) then + + if (not player1_uptime) then + frame2.tooltip.uptime_label2:SetText (minutos .. "m" .. segundos .. "s (0%)|r") + + elseif (player1_uptime > spell.uptime) then local diff = player1_uptime - spell.uptime local up = diff / spell.uptime * 100 up = _math_floor (up) @@ -2524,7 +2528,11 @@ function gump:CriaJanelaInfo() local spell = player3_misc.debuff_uptime_spell_tables and player3_misc.debuff_uptime_spell_tables._ActorTable and player3_misc.debuff_uptime_spell_tables._ActorTable [spellid] if (spell and spell.uptime) then local minutos, segundos = _math_floor (spell.uptime/60), _math_floor (spell.uptime%60) - if (player1_uptime > spell.uptime) then + + if (not player1_uptime) then + frame3.tooltip.uptime_label2:SetText (minutos .. "m" .. segundos .. "s (0%)|r") + + elseif (player1_uptime > spell.uptime) then local diff = player1_uptime - spell.uptime local up = diff / spell.uptime * 100 up = _math_floor (up) diff --git a/locales/Details-enUS.lua b/locales/Details-enUS.lua index f4964118..461ad9ed 100644 --- a/locales/Details-enUS.lua +++ b/locales/Details-enUS.lua @@ -1,7 +1,7 @@ local Loc = LibStub("AceLocale-3.0"):NewLocale ("Details", "enUS", true) if not Loc then return end -Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v1.19.0 (|cFFFFCC00Jul 17, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added support for plugins options. Encounter Details is the first on to receive its panel.\n\n|cFFFFFF00-|r Revamp on Deaths report lines, adding links for harmful spells and changing the text order |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00-|r Modified the percentage used on Comparison panel |cFF999999(thanks @Mystery2012-mmochampion forum)|r.\n\n|cFFFFFF00-|r Fixed the Dps/Hps data exported by Data Broker |cFF999999(thanks @Arieth-mmochampion forum)|r.\n\n|cFFFFFF00-|r Details! it's now able to be translated by its community for all supported languages through Curse Forge Web Site:\n\nhttp://wow.curseforge.com/addons/details/localization/.\n\n|cFFFFFF00v1.18.4 - v1.18.5 - v1.18.6 (|cFFFFCC00Jul 13, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added option to customize the bar left text.\n\n|cFFFFFF00-|r Added option for show or hide bar placement number.\n\n|cFFFFFF00-|r Spell icon is shown in the bar when the enemy character is a environment spell type.\n\n|cFFFFFF00-|r Changed the non-player enemy icon (monsters).\n\n|cFFFFFF00-|r Fixed bug on flex performance profile |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00-|r Added new version tracker which should alert you when a newer Details! version is found.\n\n|cFFFFFF00-|r Added Enemy Damage Taken by clicking with middle mouse button over a enemy bar (enemies display).\n\n|cFFFFFF00-|r Added import/export for saved skins and custom displays created.\n\n|cFFFFFF00-|r Small changes on ElvUI Frame Style skin (need reaply).\n\n|cFFFFFF00-|r Fixed the death recognition for bosses, now it should show the correct color over segments menu.\n\n|cFFFFFF00-|r Fixed Dps inacuracy when plyaing solo (no party or raid group).\n\n|cFFFFFF00-|r Fixed the duration time of buffs applied before the pull, like pre-potions.\n\n|cFFFFFF00v1.17.5 (|cFFFFCC00Jun 30, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Shortcut panel is now known as Bookmarks and a revamp has done on its panel.\n\n|cFFFFFF00-|r NickTag now doesnt check anymore if a received nickname from other guild member is invalid.\n\n|cFFFFFF00-|r Healthstone now is considered a cooldown.\n\n|cFFFFFF00-|r Few improvements on Default Skin, Minimalistic Skin and ElvUI Frame Style Skin.\n\n|cFFFFFF00-|r Revamp on Image Editor, many bugs solves and now it is usable.\n\n|cFFFFFF00-|r 'Hide' slash command now hides all opened windows; 'Show', open all closed windows and 'New' create a new window.\n\n|cFFFFFF00-|r Added Devotion Aura, Rallying Cry as cooldowns.\n\n|cFFFFFF00-|r Added options for lock, unlock, break snap, close, reopen and create new window.\n\n|cFFFFFF00-|r Added a options panel for HotCorners, access it through options button or slash hotcorner command.\n\n|cFFFFFF00-|r Added 'Logos' and 'Raid & Dungeons' sections for Wallpapers. \n\n|cFFFFFF00-|r Added a option to load a image from the computer to use as wallpaper.\n\n|cFFFFFF00-|r Fixed the percent issue with Healing Done and HPS while in combat.\n\n|cFFFFFF00-|r Fixed non-combat switch by role where changing role wasnt changing the shown attribute.\n\n|cFFFFFF00-|r Fixed 'While in Combat' hiding schema |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00-|r Fixed several bugs on Interact Auto Transparency.\n\n|cFFFFFF00-|r Fixed the report window alert when opening the report window and it already is opened |cFF999999(thanks @Rasstapp-mmochampion forum)|r.\n\n|cFFFFFF00-|r Fixed the gap between last row created and the end of the window.\n\n|cFFFFFF00-|r Fixed all tooltips bugs on Wallpaper Section on Options Panel.\n\n|cFFFFFF00a1.17.0 (|cFFFFCC00Jun 21, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Support for Custom Displays has been rewrited, to access the new panel go to Sword Menu -> Custom -> Create New Display.\n\n|cFFFFFF00-|r Added a custom display for show potion usage.\n\n|cFFFFFF00-|r Fixed a bug where the player pet wasnt being tracked after logon in the game. This bug was affecting directly classes with pets playing out of a raid group.\n\n|cFFFFFF00-|r Fixed the report bug on healing, energy and misc attributes |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00a1.16.0 - a1.16.1 - a1.16.3b (|cFFFFCC00Jun 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed row creation while resizing where sometimes it was broking the last row in the window.\n\n|cFFFFFF00-|r Fixed small involuntary resizes after resizing a window. |cFF999999(thanks @Morimvudu-Nemesis)|r\n\n|cFFFFFF00-|r Fixed frame strata after stretching the window where was setting its strata to Medium.\n\n|cFFFFFF00-|r Fixed Vanguard strata where it wasnt following the strata from its host window.\n\n|cFFFFFF00-|r Mode menu now have a sub menu for raid plugins.\n\n|cFFFFFF00-|r Red and Green colors under comparison frame has been inverted. |cFF999999(thanks @skmzarn-mmochampion forum)|r\n\n|cFFFFFF00-|r Fixed some report issues with dps and hps, also almost all reports now have guide lines. |cFF999999(thanks @sosleapy-mmochampion forum)|r\n\n|cFFFFFF00-|r Pet dispell and interrupt count also for its owner as well. |cFF999999(thanks @skmzarn-mmochampion forum)|r\n\n|cFFFFFF00-|r Few fixes on comparison panel over Player Details Window.\n\n|cFFFFFF00-|r Added option to be able to save the windows size and position within the profile. |cFF999999(thanks @Torchler-mmochampion forum)|r\n\n|cFFFFFF00-|r Added performance profile settings. |cFF999999(thanks @SlippyCheeze-mmochampion forum)|r\n\n|cFFFFFF00-|r Added auto switch based on group roles also a switch for wipe. |cFF999999(thanks @SlippyCheeze-mmochampion forum)|r\n\n|cFFFFFF00-|r Fixed a bug where sometimes all non boss segments was considered boss encounters.\n\n|cFFFFFF00v1.15.4 (|cFFFFCC00Jun 06, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added a compare tab under Player Details Window:\nThis new tab showns up when there is too characters with the same class and spec.\nIts useful to compare skills used, uptimes and targets.\n\n|cFFFFFF00-|r Few improvements on Default and ElvUI skins.\n\n|cFFFFFF00-|r Added a button for auto align two windows within right chat window when ElvUI skin is active.\n\n|cFFFFFF00-|r Fixed problem with Damage -> Enemies display.\n\n|cFFFFFF00-|r Fixed report Player Detail Window report buttons.\n\n|cFFFFFF00-|r Fixed some report lines where the numbers wasnt properly formatted.\n\n|cFFFFFF00-|r Fixed a rare bug where the owner of some pets wasnt detected.\n\n|cFFFFFF00-|r Fixed issue in dungeons where capture data get paused after a boss kill.\n\n|cFFFFFF00-|r Fixed issue with Encounter Details showing its icon for dungeons bosses.\n\n|cFFFFFF00-|r Fixed a rare bug where the capture of damage stops after erasing a trash segment.\n\n|cFFFFFF00v1.15.0 - v1.15.3 - v1.15.3b (|cFFFFCC00Jun 03, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Emergencial fix for death logs which sometimes was breaking the addon data capture.\n\n|cFFFFFF00-|r Fixed window alerts which was showing behind the bars.\n\n|cFFFFFF00-|r Fixed death log issue with friendly fire hits.\n\n|cFFFFFF00-|r Fixed a issue where Details! windows wasn't hidden when a pet battle starts.\n\n|cFFFFFF00-|r Fixed a issue with segments menu when a window is placed on the right side of the screen.\n\n|cFFFFFF00-|r Damage -> Enemies now also show neutral creatures.\n\n|cFFFFFF00-|r Added support to dungeons, bosses and trash mobs are now recognized." +Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v1.19.0 - v1.19.1 (|cFFFFCC00Jul 18, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Trash segments won't be saved anymore.\n\n|cFFFFFF00-|r Added support for plugins options. Encounter Details is the first on to receive its panel.\n\n|cFFFFFF00-|r Revamp on Deaths report lines, adding links for harmful spells and changing the text order |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00-|r Modified the percentage used on Comparison panel |cFF999999(thanks @Mystery2012-mmochampion forum)|r.\n\n|cFFFFFF00-|r Fixed the Dps/Hps data exported by Data Broker |cFF999999(thanks @Arieth-mmochampion forum)|r.\n\n|cFFFFFF00-|r Details! it's now able to be translated by its community for all supported languages through Curse Forge Web Site:\n\nhttp://wow.curseforge.com/addons/details/localization/.\n\n|cFFFFFF00v1.18.4 - v1.18.5 - v1.18.6 (|cFFFFCC00Jul 13, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added option to customize the bar left text.\n\n|cFFFFFF00-|r Added option for show or hide bar placement number.\n\n|cFFFFFF00-|r Spell icon is shown in the bar when the enemy character is a environment spell type.\n\n|cFFFFFF00-|r Changed the non-player enemy icon (monsters).\n\n|cFFFFFF00-|r Fixed bug on flex performance profile |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00-|r Added new version tracker which should alert you when a newer Details! version is found.\n\n|cFFFFFF00-|r Added Enemy Damage Taken by clicking with middle mouse button over a enemy bar (enemies display).\n\n|cFFFFFF00-|r Added import/export for saved skins and custom displays created.\n\n|cFFFFFF00-|r Small changes on ElvUI Frame Style skin (need reaply).\n\n|cFFFFFF00-|r Fixed the death recognition for bosses, now it should show the correct color over segments menu.\n\n|cFFFFFF00-|r Fixed Dps inacuracy when plyaing solo (no party or raid group).\n\n|cFFFFFF00-|r Fixed the duration time of buffs applied before the pull, like pre-potions.\n\n|cFFFFFF00v1.17.5 (|cFFFFCC00Jun 30, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Shortcut panel is now known as Bookmarks and a revamp has done on its panel.\n\n|cFFFFFF00-|r NickTag now doesnt check anymore if a received nickname from other guild member is invalid.\n\n|cFFFFFF00-|r Healthstone now is considered a cooldown.\n\n|cFFFFFF00-|r Few improvements on Default Skin, Minimalistic Skin and ElvUI Frame Style Skin.\n\n|cFFFFFF00-|r Revamp on Image Editor, many bugs solves and now it is usable.\n\n|cFFFFFF00-|r 'Hide' slash command now hides all opened windows; 'Show', open all closed windows and 'New' create a new window.\n\n|cFFFFFF00-|r Added Devotion Aura, Rallying Cry as cooldowns.\n\n|cFFFFFF00-|r Added options for lock, unlock, break snap, close, reopen and create new window.\n\n|cFFFFFF00-|r Added a options panel for HotCorners, access it through options button or slash hotcorner command.\n\n|cFFFFFF00-|r Added 'Logos' and 'Raid & Dungeons' sections for Wallpapers. \n\n|cFFFFFF00-|r Added a option to load a image from the computer to use as wallpaper.\n\n|cFFFFFF00-|r Fixed the percent issue with Healing Done and HPS while in combat.\n\n|cFFFFFF00-|r Fixed non-combat switch by role where changing role wasnt changing the shown attribute.\n\n|cFFFFFF00-|r Fixed 'While in Combat' hiding schema |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00-|r Fixed several bugs on Interact Auto Transparency.\n\n|cFFFFFF00-|r Fixed the report window alert when opening the report window and it already is opened |cFF999999(thanks @Rasstapp-mmochampion forum)|r.\n\n|cFFFFFF00-|r Fixed the gap between last row created and the end of the window.\n\n|cFFFFFF00-|r Fixed all tooltips bugs on Wallpaper Section on Options Panel.\n\n|cFFFFFF00a1.17.0 (|cFFFFCC00Jun 21, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Support for Custom Displays has been rewrited, to access the new panel go to Sword Menu -> Custom -> Create New Display.\n\n|cFFFFFF00-|r Added a custom display for show potion usage.\n\n|cFFFFFF00-|r Fixed a bug where the player pet wasnt being tracked after logon in the game. This bug was affecting directly classes with pets playing out of a raid group.\n\n|cFFFFFF00-|r Fixed the report bug on healing, energy and misc attributes |cFF999999(thanks @skmzarn-mmochampion forum)|r.\n\n|cFFFFFF00a1.16.0 - a1.16.1 - a1.16.3b (|cFFFFCC00Jun 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed row creation while resizing where sometimes it was broking the last row in the window.\n\n|cFFFFFF00-|r Fixed small involuntary resizes after resizing a window. |cFF999999(thanks @Morimvudu-Nemesis)|r\n\n|cFFFFFF00-|r Fixed frame strata after stretching the window where was setting its strata to Medium.\n\n|cFFFFFF00-|r Fixed Vanguard strata where it wasnt following the strata from its host window.\n\n|cFFFFFF00-|r Mode menu now have a sub menu for raid plugins.\n\n|cFFFFFF00-|r Red and Green colors under comparison frame has been inverted. |cFF999999(thanks @skmzarn-mmochampion forum)|r\n\n|cFFFFFF00-|r Fixed some report issues with dps and hps, also almost all reports now have guide lines. |cFF999999(thanks @sosleapy-mmochampion forum)|r\n\n|cFFFFFF00-|r Pet dispell and interrupt count also for its owner as well. |cFF999999(thanks @skmzarn-mmochampion forum)|r\n\n|cFFFFFF00-|r Few fixes on comparison panel over Player Details Window.\n\n|cFFFFFF00-|r Added option to be able to save the windows size and position within the profile. |cFF999999(thanks @Torchler-mmochampion forum)|r\n\n|cFFFFFF00-|r Added performance profile settings. |cFF999999(thanks @SlippyCheeze-mmochampion forum)|r\n\n|cFFFFFF00-|r Added auto switch based on group roles also a switch for wipe. |cFF999999(thanks @SlippyCheeze-mmochampion forum)|r\n\n|cFFFFFF00-|r Fixed a bug where sometimes all non boss segments was considered boss encounters.\n\n|cFFFFFF00v1.15.4 (|cFFFFCC00Jun 06, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added a compare tab under Player Details Window:\nThis new tab showns up when there is too characters with the same class and spec.\nIts useful to compare skills used, uptimes and targets.\n\n|cFFFFFF00-|r Few improvements on Default and ElvUI skins.\n\n|cFFFFFF00-|r Added a button for auto align two windows within right chat window when ElvUI skin is active.\n\n|cFFFFFF00-|r Fixed problem with Damage -> Enemies display.\n\n|cFFFFFF00-|r Fixed report Player Detail Window report buttons.\n\n|cFFFFFF00-|r Fixed some report lines where the numbers wasnt properly formatted.\n\n|cFFFFFF00-|r Fixed a rare bug where the owner of some pets wasnt detected.\n\n|cFFFFFF00-|r Fixed issue in dungeons where capture data get paused after a boss kill.\n\n|cFFFFFF00-|r Fixed issue with Encounter Details showing its icon for dungeons bosses.\n\n|cFFFFFF00-|r Fixed a rare bug where the capture of damage stops after erasing a trash segment.\n\n|cFFFFFF00v1.15.0 - v1.15.3 - v1.15.3b (|cFFFFCC00Jun 03, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Emergencial fix for death logs which sometimes was breaking the addon data capture.\n\n|cFFFFFF00-|r Fixed window alerts which was showing behind the bars.\n\n|cFFFFFF00-|r Fixed death log issue with friendly fire hits.\n\n|cFFFFFF00-|r Fixed a issue where Details! windows wasn't hidden when a pet battle starts.\n\n|cFFFFFF00-|r Fixed a issue with segments menu when a window is placed on the right side of the screen.\n\n|cFFFFFF00-|r Damage -> Enemies now also show neutral creatures.\n\n|cFFFFFF00-|r Added support to dungeons, bosses and trash mobs are now recognized." Loc ["STRING_DETAILS1"] = "|cffffaeaeDetails!:|r " --> color and details name -------------------------------------------------------------------------------------------------------------------------------------------- @@ -133,6 +133,8 @@ Loc ["STRING_DETAILS1"] = "|cffffaeaeDetails!:|r " --> color and details name Loc ["STRING_CUSTOM_EXPORT"] = "Export" Loc ["STRING_CUSTOM_IMPORT"] = "Import" + Loc ["STRING_CUSTOM_FUNC_INVALID"] = "Custom script is invalid an cannot refresh the window." + Loc ["STRING_CUSTOM_ENEMY_DT"] = " Damage Taken" Loc ["STRING_CUSTOM_TEMPORARILY"] = " (|cFFFFC000temporarily|r)" diff --git a/plugins/Details_EncounterDetails/frames.lua b/plugins/Details_EncounterDetails/frames.lua index 466b4a76..3a82962a 100644 --- a/plugins/Details_EncounterDetails/frames.lua +++ b/plugins/Details_EncounterDetails/frames.lua @@ -33,7 +33,7 @@ do local options_frame = CreateFrame ("frame", "EncounterDetailsOptionsWindow", UIParent, "ButtonFrameTemplate") tinsert (UISpecialFrames, "EncounterDetailsOptionsWindow") options_frame:SetSize (500, 200) - options_frame:SetFrameStrata ("HIGH") + options_frame:SetFrameStrata ("DIALOG") options_frame:SetScript ("OnMouseDown", function(self) self:StartMoving()end) options_frame:SetScript ("OnMouseUp", function(self) self:StopMovingOrSizing()end) options_frame:SetMovable (true)