From 3d21e4a8e156e11b0a6cc12e8efa20049f0ceab7 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Wed, 10 Aug 2022 18:29:13 -0300 Subject: [PATCH] Removed Blackrock Granade from player damage from Grimrail Depot dungeon --- boot.lua | 42 ++++++++++++++++++++++-------------------- core/parser.lua | 1 + frames/window_news.lua | 10 +++++----- functions/slash.lua | 2 +- 4 files changed, 29 insertions(+), 26 deletions(-) diff --git a/boot.lua b/boot.lua index 65f7eef6..52684787 100644 --- a/boot.lua +++ b/boot.lua @@ -33,27 +33,29 @@ do local Loc = _G.LibStub("AceLocale-3.0"):GetLocale( "Details" ) - --[=[ - -New feature: Arena DPS Bar, can be enabled at the Broadcaster Tools section, shows a bar in 'kamehameha' style showing which team is doing more damage in the latest 3 seconds. - -Revamp on the options section for Broadcaster tools. - -Added 'Icon Size Offset' under Options > Bars: General, this new option allow to adjust the size of the class/spec icon shown on each bar. - -Added 'Show Faction Icon' under Options > Bars: General, with this new option, you can choose to not show the faction icon, this icon is usually shown during battlegrounds. - -Added 'Faction Icon Size Offset' under Options > Bars: General, new option to adjust the size of the faction icon. - -Added 'Show Arena Role Icon' under Options > Bars: General, new option to hide or show the role icon of players during an arena match. - -Added 'Arena Role Icon Size Offset' under Options > Bars: General, new option which allow to control the size of the arena role icon. - -Added 'Level' option to Wallpapers, the wallpaper can now be placed on different levels which solves issues where the wallpaper is too low of certain configuration. - -Streamer! plugin got updates, now it is more clear to pick which mode to use. - -WotLK classic compatibility (Flamanis, Daniel Henry). - -Fixed the title bar text not showing when using the Custom Title Bar feature. - -Role detection in classic versions got improvements. - -New API: Details:GetTop5Actors(attributeId), return the top 5 actors from the selected attribute. - -New API: Details:GetActorByRank(attributeId, rankIndex), return an actor from the selected attribute and rankIndex. - -Major cleanup and code improvements on dropdowns for library Details! Framework. - -Cleanup on NickTag library. - -Removed LibGroupInSpecT, LibItemUpgradeInfo and LibCompress. These libraries got replaced by OpenRaidLib and LibDeflate. - ]=] - local news = { + {"v9.2.0.10000.146", "Aug 10th, 2022"}, + "New feature: Arena DPS Bar, can be enabled at the Broadcaster Tools section, shows a bar in 'kamehameha' style showing which team is doing more damage in the latest 3 seconds.", + "/keystone now has more space for the dungeon name.", + "Revamp on the options section for Broadcaster tools.", + "Added 'Icon Size Offset' under Options > Bars: General, this new option allow to adjust the size of the class/spec icon shown on each bar.", + "Added 'Show Faction Icon' under Options > Bars: General, with this new option, you can choose to not show the faction icon, this icon is usually shown during battlegrounds.", + "Added 'Faction Icon Size Offset' under Options > Bars: General, new option to adjust the size of the faction icon.", + "Added 'Show Arena Role Icon' under Options > Bars: General, new option to hide or show the role icon of players during an arena match.", + "Added 'Arena Role Icon Size Offset' under Options > Bars: General, new option which allow to control the size of the arena role icon.", + "Added 'Level' option to Wallpapers, the wallpaper can now be placed on different levels which solves issues where the wallpaper is too low of certain configuration.", + "Streamer! plugin got updates, now it is more clear to pick which mode to use.", + "WotLK classic compatibility (Flamanis, Daniel Henry).", + "Fixed Grimrail Depot cannon and granades damage be added to players (dios-david).", + "Fixed the title bar text not showing when using the Custom Title Bar feature.", + "Fixed an issue with Dynamic Overall Damage printing errors into the chat window (Flamanis).", + "Role detection in classic versions got improvements.", + "New API: Details:GetTop5Actors(attributeId), return the top 5 actors from the selected attribute.", + "New API: Details:GetActorByRank(attributeId, rankIndex), return an actor from the selected attribute and rankIndex.", + "Major cleanup and code improvements on dropdowns for library Details! Framework.", + "Cleanup on NickTag library.", + "Removed LibGroupInSpecT, LibItemUpgradeInfo and LibCompress. These libraries got replaced by OpenRaidLib and LibDeflate.", + {"v9.2.0.9814.146", "May 15th, 2022"}, "Added slash command /keystone, this command show keystones of other users with addons using Open Raid library.", "Added a second Title Bar (disabled by default), is recomended to make the Skin Color (under Window Body) full transparent while using it.", diff --git a/core/parser.lua b/core/parser.lua index 11cda227..f0011935 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -453,6 +453,7 @@ Details.GrimrailDepotCannonWeaponSpellIds = { [160776] = true, --Homing Shell [166545] = true, --Sharpnel Cannon + [161073] = true, --Blackrock Grenade } Details.GrimrailDepotCannonWeaponActorName = "Cannon" Details.GrimrailDepotCannonWeaponActorSpellId = 166545 --for the icon diff --git a/frames/window_news.lua b/frames/window_news.lua index 7842b5ec..841942b5 100644 --- a/frames/window_news.lua +++ b/frames/window_news.lua @@ -66,7 +66,7 @@ function Details:CreateOrOpenNewsWindow() if (not frame) then --build news frame - frame = DetailsFramework:CreateSimplePanel(UIParent, 480, 460, "Details! Damage Meter " .. Details.version, "DetailsNewsWindow", panel_options, db) + frame = DetailsFramework:CreateSimplePanel(UIParent, 480, 560, "Details! Damage Meter " .. Details.version, "DetailsNewsWindow", panel_options, db) tinsert(UISpecialFrames, "DetailsNewsWindow") frame:SetPoint("left", UIParent, "left", 10, 0) frame:SetFrameStrata("FULLSCREEN") @@ -83,7 +83,7 @@ function Details:CreateOrOpenNewsWindow() frame.imageFrame.texture = frame.imageFrame:CreateTexture(nil, "overlay") frame.imageFrame.texture:SetPoint("topleft", frame.imageFrame, "topleft") - local dumpFrame = g:CreateTextEntry(frame, function()end, 500, 512, "DumpTable", "$parentDumpTable") + local dumpFrame = g:CreateTextEntry(frame, function()end, 500, 612, "DumpTable", "$parentDumpTable") dumpFrame.editbox:SetMultiLine (true) dumpFrame:SetPoint("topleft", frame, "topleft", 8, -68) @@ -100,7 +100,7 @@ function Details:CreateOrOpenNewsWindow() frame_lower:SetSize (450, 2000) frame_upper:SetPoint ("topleft", frame, "topleft", 10, -30) frame_upper:SetWidth(445) - frame_upper:SetHeight(400) + frame_upper:SetHeight(500) frame_upper:SetBackdrop({ bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 16, @@ -119,14 +119,14 @@ function Details:CreateOrOpenNewsWindow() slider:SetThumbTexture (slider.thumb) slider:SetOrientation ("vertical"); - slider:SetSize (16, 399) + slider:SetSize (16, 499) slider:SetPoint ("topleft", frame_upper, "topright") slider:SetMinMaxValues (0, 2000) slider:SetValue(0) slider:SetScript("OnValueChanged", function (self) frame_upper:SetVerticalScroll (self:GetValue()) end) - + frame_upper:EnableMouseWheel (true) frame_upper:SetScript("OnMouseWheel", function (self, delta) local current = slider:GetValue() diff --git a/functions/slash.lua b/functions/slash.lua index 7f0c163a..32966752 100644 --- a/functions/slash.lua +++ b/functions/slash.lua @@ -1995,7 +1995,7 @@ if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) then local statusBar = DetailsFramework:CreateStatusBar(f) statusBar.text = statusBar:CreateFontString(nil, "overlay", "GameFontNormal") statusBar.text:SetPoint("left", statusBar, "left", 5, 0) - statusBar.text:SetText("From Details! Damage Meter | Built with Details! Framework | Data from Open Raid Library") + statusBar.text:SetText("By Terciob | From Details! Damage Meter|Built with Details! Framework | Data from Open Raid Library") DetailsFramework:SetFontSize(statusBar.text, 11) DetailsFramework:SetFontColor(statusBar.text, "gray")