Removed Blackrock Granade from player damage from Grimrail Depot dungeon

This commit is contained in:
Tercio Jose
2022-08-10 18:29:13 -03:00
parent d5bde7ed15
commit 3d21e4a8e1
4 changed files with 29 additions and 26 deletions
+22 -20
View File
@@ -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.",
+1
View File
@@ -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
+5 -5
View File
@@ -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()
+1 -1
View File
@@ -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")