diff --git a/Details.toc b/Details.toc index 8c2d2ba2a..7cab9b969 100644 --- a/Details.toc +++ b/Details.toc @@ -1,5 +1,5 @@ -## Interface: 90100 -## Interface-Mainline: 90100 +## Interface: 90105 +## Interface-Mainline: 90105 ## Interface-BCC: 20502 ## Title: Details! Damage Meter ## Notes: Essential tool to impress that chick in your raid. diff --git a/Libs/DF/cooltip.lua b/Libs/DF/cooltip.lua index c55479af3..b6276e883 100644 --- a/Libs/DF/cooltip.lua +++ b/Libs/DF/cooltip.lua @@ -274,7 +274,7 @@ function DF:CreateCoolTip() --> main frame local frame1 if (not GameCooltipFrame1) then - frame1 = CreateFrame ("Frame", "GameCooltipFrame1", UIParent, "TooltipBackdropTemplate, BackdropTemplate") + frame1 = CreateFrame ("Frame", "GameCooltipFrame1", UIParent, "BackdropTemplate") tinsert (UISpecialFrames, "GameCooltipFrame1") DF:CreateFlashAnimation (frame1) @@ -302,7 +302,7 @@ function DF:CreateCoolTip() --> secondary frame local frame2 if (not GameCooltipFrame2) then - frame2 = CreateFrame ("Frame", "GameCooltipFrame2", UIParent,"TooltipBackdropTemplate, BackdropTemplate") + frame2 = CreateFrame ("Frame", "GameCooltipFrame2", UIParent,"BackdropTemplate") tinsert (UISpecialFrames, "GameCooltipFrame2") DF:CreateFlashAnimation (frame2) diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 4f8b82058..5352a60e8 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 277 +local dversion = 278 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary (major, minor) @@ -4501,3 +4501,4 @@ end ----------------------------------------------------------------------------------------------------------------------------------------------------------- + diff --git a/boot.lua b/boot.lua index 6db426882..cf0c123f2 100644 --- a/boot.lua +++ b/boot.lua @@ -6,8 +6,8 @@ local version, build, date, tocversion = GetBuildInfo() - _detalhes.build_counter = 8889 - _detalhes.alpha_build_counter = 8889 --if this is higher than the regular counter, use it instead + _detalhes.build_counter = 9108 + _detalhes.alpha_build_counter = 9108 --if this is higher than the regular counter, use it instead _detalhes.bcc_counter = 28 _detalhes.dont_open_news = true _detalhes.game_version = version @@ -33,6 +33,16 @@ do local Loc = _G.LibStub("AceLocale-3.0"):GetLocale( "Details" ) local news = { + {"v9.1.5.9108.145", "November 02th, 2021"}, + "Necrotic Wake: weapons damage does not count anymore for the player which uses it.", + "Necrotic Wake: a new 'fake player' is shown showing the damage done of all weapons during combat.", + "Necrotic Wake: these npcs now does not award damage done to players anymore: Brittlebone Mage, Brittlebone Warrior, Brittlebone Crossbowman", + "The Other Side: the npc Volatile Memory does not award anymore damage to players.", + "Plaguefall: the npcs Fungret Shroomtender and Plaguebound Fallen does not award anymore damage to players.", + "Sanguine Affix: the amount of healing done by sanguine pools now shows on all segments (was shown only in the overall).", + "Tiny Threat (plugin): fixed an issue when hidding the pull aggro bar makes the first line be invisible.", + "Statistics: fixed several small bugs with guild statistics (/details stats).", + "Scale slider (top left slider shown on panels) are now more responsible.", {"v9.1.0.8888.145", "October 7th, 2021"}, "Search has been added into the options panel", diff --git a/core/parser.lua b/core/parser.lua index 1b97d9196..5b07ed426 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -271,6 +271,7 @@ --plaguefall [168365] = true, --fungret shroomtender [168968] = true, --plaguebound fallen (at the start of the dungeon) + [168891] = true, -- --[169265] = true, --creepy crawler (summoned by decaying flesh giant) --[168747] = true, --venomfang (summon) --[168837] = true, --stealthlings (summon) diff --git a/frames/window_main.lua b/frames/window_main.lua index 21316b16f..0a2553acf 100644 --- a/frames/window_main.lua +++ b/frames/window_main.lua @@ -5763,13 +5763,9 @@ function _detalhes:SetTooltipMinWidth() end function _detalhes:FormatCooltipBackdrop() - local CoolTip = GameCooltip - CoolTip:SetBackdrop (1, menus_backdrop, menus_backdropcolor, menus_bordercolor) CoolTip:SetBackdrop (2, menus_backdrop, menus_backdropcolor_sec, menus_bordercolor) - --CoolTip:SetWallpaper (1, _detalhes.tooltip.menus_bg_texture, _detalhes.tooltip.menus_bg_coords, _detalhes.tooltip.menus_bg_color, true) - end local build_mode_list = function (self, elapsed) @@ -6794,10 +6790,6 @@ local build_segment_list = function (self, elapsed) CoolTip:SetOption ("HeighMod", 12) _detalhes:SetTooltipMinWidth() - - --CoolTip:SetWallpaper (1, _detalhes.tooltip.menus_bg_texture, _detalhes.tooltip.menus_bg_coords, _detalhes.tooltip.menus_bg_color, true) - --CoolTip:SetBackdrop (1, menus_backdrop, nil, menus_bordercolor) - --CoolTip:SetBackdrop (2, menus_backdrop, nil, menus_bordercolor) _detalhes:FormatCooltipBackdrop() @@ -8694,9 +8686,6 @@ end _detalhes:FormatCooltipBackdrop() - --GameCooltip:SetWallpaper (1, _detalhes.tooltip.menus_bg_texture, _detalhes.tooltip.menus_bg_coords, _detalhes.tooltip.menus_bg_color, true) - --GameCooltip:SetBackdrop (1, menus_backdrop, nil, menus_bordercolor) - show_anti_overlap (self.instance, self, "top") _detalhes:SetMenuOwner (self, self.instance) @@ -8907,9 +8896,6 @@ local report_on_enter = function (self, motion, forced, from_click) _detalhes:FormatCooltipBackdrop() - --GameCooltip:SetWallpaper (1, _detalhes.tooltip.menus_bg_texture, _detalhes.tooltip.menus_bg_coords, _detalhes.tooltip.menus_bg_color, true) - --GameCooltip:SetBackdrop (1, menus_backdrop, nil, menus_bordercolor) - show_anti_overlap (instancia, self, "top") _detalhes:SetMenuOwner (self, instancia) @@ -8989,8 +8975,6 @@ local atributo_on_enter = function (self, motion, forced, from_click) GameCooltip:SetOption ("YSpacingModSub", -2) end - --GameCooltip:SetBackdrop (1, menus_backdrop, nil, menus_bordercolor) - --GameCooltip:SetBackdrop (2, menus_backdrop, nil, menus_bordercolor) GameCooltip:SetOption ("TextSize", _detalhes.font_sizes.menus) _detalhes:FormatCooltipBackdrop() diff --git a/plugins/Details_DataStorage/Details_DataStorage.toc b/plugins/Details_DataStorage/Details_DataStorage.toc index eaf4adebc..4dcb2ff16 100644 --- a/plugins/Details_DataStorage/Details_DataStorage.toc +++ b/plugins/Details_DataStorage/Details_DataStorage.toc @@ -1,4 +1,4 @@ -## Interface: 90100 +## Interface: 90105 ## Title: Details!: Storage ## Notes: Stores information for Details! Damage Meter ## DefaultState: Enabled diff --git a/plugins/Details_EncounterDetails/Details_EncounterDetails.toc b/plugins/Details_EncounterDetails/Details_EncounterDetails.toc index c14a15dd8..82c6cb77d 100644 --- a/plugins/Details_EncounterDetails/Details_EncounterDetails.toc +++ b/plugins/Details_EncounterDetails/Details_EncounterDetails.toc @@ -1,4 +1,4 @@ -## Interface: 90100 +## Interface: 90105 ## Title: Details!: Encounter Breakdown (plugin) ## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation. ## RequiredDeps: Details diff --git a/plugins/Details_RaidCheck/Details_RaidCheck.toc b/plugins/Details_RaidCheck/Details_RaidCheck.toc index b6ce576f8..87361ebcd 100644 --- a/plugins/Details_RaidCheck/Details_RaidCheck.toc +++ b/plugins/Details_RaidCheck/Details_RaidCheck.toc @@ -1,4 +1,4 @@ -## Interface: 90100 +## Interface: 90105 ## Title: Details!: Raid Check (plugin) ## Notes: Show talents and item level for all members in your group, also shows food and flask state. ## RequiredDeps: Details diff --git a/plugins/Details_Streamer/Details_Streamer.toc b/plugins/Details_Streamer/Details_Streamer.toc index 35cc1f6d9..5324c588f 100644 --- a/plugins/Details_Streamer/Details_Streamer.toc +++ b/plugins/Details_Streamer/Details_Streamer.toc @@ -1,4 +1,4 @@ -## Interface: 90100 +## Interface: 90105 ## Title: Details!: Streamer (plugin) ## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps. ## RequiredDeps: Details diff --git a/plugins/Details_TinyThreat/Details_TinyThreat.lua b/plugins/Details_TinyThreat/Details_TinyThreat.lua index aae0d8d9d..af01f45ad 100644 --- a/plugins/Details_TinyThreat/Details_TinyThreat.lua +++ b/plugins/Details_TinyThreat/Details_TinyThreat.lua @@ -372,7 +372,7 @@ local function CreatePluginFrames (data) threat_table [3] = false threat_table [6] = 0 end - + --> pet if (UnitExists ("pet")) then local thisplayer_name = GetUnitName ("pet", true) .. " *PET*" @@ -393,48 +393,48 @@ local function CreatePluginFrames (data) end end end - + --> sort _table_sort (ThreatMeter.player_list_indexes, sort) for index, t in _ipairs (ThreatMeter.player_list_indexes) do ThreatMeter.player_list_hash [t[1]] = index end - + --> no threat on this enemy if (ThreatMeter.player_list_indexes [1] [2] < 1) then ThreatMeter:HideBars() return end - + local lastIndex = 0 local shownMe = false - + local firstIndex = 1 - local pullRow = ThreatMeter.ShownRows [1] + local pullRow = ThreatMeter.ShownRows[1] local me = ThreatMeter.player_list_indexes [ ThreatMeter.player_list_hash [player] ] - - if (me and not ThreatMeter.saveddata.hide_pull_bar) then + local hidePullBar = ThreatMeter.saveddata.hide_pull_bar + + --setup the pull aggro bar + if (me and not hidePullBar) then firstIndex = 2 - local myThreat = me [6] or 0 - local myRole = me [4] - - local topThreat = ThreatMeter.player_list_indexes [1] - local aggro = topThreat [6] * (CheckInteractDistance(unitId, 3) and 1.1 or 1.3) + local myThreat = me[6] or 0 + + --get the player with most aggro + local topThreat = ThreatMeter.player_list_indexes[1] + local aggro = topThreat[6] * (CheckInteractDistance(unitId, 3) and 1.1 or 1.3) aggro = max(aggro, 0.001) - - pullRow:SetLeftText ("Pull Aggro At") - local realPercent = _math_floor (aggro / max (topThreat [6], 0.01) * 100) + + pullRow:SetLeftText("Pull Aggro At") + local realPercent = _math_floor(aggro / max (topThreat [6], 0.01) * 100) pullRow:SetRightText ("+" .. ThreatMeter:ToK2 (aggro - myThreat) .. " (" .. _math_floor (_math_abs ((myThreat / aggro * 100) - realPercent)) .. "%)") -- pullRow:SetValue (100) - + local myPercentToAggro = myThreat / aggro * 100 - - local r, g = ThreatMeter:percent_color (myPercentToAggro) - --local r, g = myPercentToAggro / 100, (100-myPercentToAggro) / 100 + + local r, g = ThreatMeter:percent_color(myPercentToAggro) pullRow:SetColor (r, g, 0) pullRow._icon:SetTexture ([[Interface\PVPFrame\Icon-Combat]]) - --pullRow._icon:SetVertexColor (r, g, 0) pullRow._icon:SetTexCoord (0, 1, 0, 1) pullRow:Show() else @@ -442,28 +442,33 @@ local function CreatePluginFrames (data) pullRow:Hide() end end - - + for index = firstIndex, #ThreatMeter.ShownRows do - local thisRow = ThreatMeter.ShownRows [index] - local threat_actor = ThreatMeter.player_list_indexes [index-1] + local thisRow = ThreatMeter.ShownRows[index] + local threatActor + + if (hidePullBar) then + threatActor = ThreatMeter.player_list_indexes[index] + else + threatActor = ThreatMeter.player_list_indexes[index-1] + end - if (threat_actor) then - local role = threat_actor [4] + if (threatActor) then + local role = threatActor[4] thisRow._icon:SetTexCoord (_unpack (RoleIconCoord [role])) - thisRow:SetLeftText (ThreatMeter:GetOnlyName (threat_actor [1])) + thisRow:SetLeftText (ThreatMeter:GetOnlyName (threatActor [1])) - local pct = threat_actor [2] + local pct = threatActor [2] - thisRow:SetRightText (ThreatMeter:ToK2 (threat_actor [6]) .. " (" .. _cstr ("%.1f", pct) .. "%)") + thisRow:SetRightText (ThreatMeter:ToK2 (threatActor [6]) .. " (" .. _cstr ("%.1f", pct) .. "%)") thisRow:SetValue (pct) - if (options.useplayercolor and threat_actor [1] == player) then + if (options.useplayercolor and threatActor [1] == player) then thisRow:SetColor (_unpack (options.playercolor)) elseif (options.useclasscolors) then - local color = RAID_CLASS_COLORS [threat_actor [5]] + local color = RAID_CLASS_COLORS [threatActor [5]] if (color) then thisRow:SetColor (color.r, color.g, color.b) else @@ -481,7 +486,7 @@ local function CreatePluginFrames (data) if (not thisRow.statusbar:IsShown()) then thisRow:Show() end - if (threat_actor [1] == player) then + if (threatActor [1] == player) then shownMe = true end else diff --git a/plugins/Details_TinyThreat/Details_TinyThreat.toc b/plugins/Details_TinyThreat/Details_TinyThreat.toc index 4597e6389..377f2eee1 100644 --- a/plugins/Details_TinyThreat/Details_TinyThreat.toc +++ b/plugins/Details_TinyThreat/Details_TinyThreat.toc @@ -1,4 +1,4 @@ -## Interface: 90100 +## Interface: 90105 ## Title: Details!: Tiny Threat (plugin) ## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel. ## RequiredDeps: Details diff --git a/plugins/Details_Vanguard/Details_Vanguard.toc b/plugins/Details_Vanguard/Details_Vanguard.toc index fff800973..cfaa1492e 100644 --- a/plugins/Details_Vanguard/Details_Vanguard.toc +++ b/plugins/Details_Vanguard/Details_Vanguard.toc @@ -1,4 +1,4 @@ -## Interface: 90100 +## Interface: 90105 ## Title: Details!: Vanguard (plugin) ## Notes: Show the health and debuffs for tanks in your group. ## SavedVariablesPerCharacter: _detalhes_databaseVanguard