From eb3a2b91ddec7351fb053255e3b1c5ba2a6656bd Mon Sep 17 00:00:00 2001 From: Josh Summers Date: Mon, 30 Mar 2026 15:57:19 +0100 Subject: [PATCH 1/2] Add Icicle(s) aura tracking as Secondary Power Bar --- Core/Defaults.lua | 519 +++++++++++++++++++++++++++++++++- Core/GUI.lua | 6 +- Modules/PowerBar.lua | 7 +- Modules/SecondaryPowerBar.lua | 13 + 4 files changed, 539 insertions(+), 6 deletions(-) diff --git a/Core/Defaults.lua b/Core/Defaults.lua index 496e6e7..6ad97d6 100755 --- a/Core/Defaults.lua +++ b/Core/Defaults.lua @@ -13,7 +13,524 @@ local Defaults = { Mythic = "", LFR = "", }, - }, + },local _, BCDM = ... + + local Defaults = { + global = { + UseGlobalProfile = false, + GlobalProfileName = "Default", + DisplayLoginMessage = true, + EditModeManager = { + SwapOnInstanceDifficulty = false, + RaidLayouts = { + Normal = "", + Heroic = "", + Mythic = "", + LFR = "", + }, + }, + }, + profile = { + General = { + Fonts = { + Font = "Friz Quadrata TT", + FontFlag = "OUTLINE", + Shadow = { + Enabled = false, + Colour = {0, 0, 0, 1}, + OffsetX = 1, + OffsetY = -1 + } + }, + Textures = { + Foreground = "Better Blizzard", + Background = "Better Blizzard", + }, + Animation = { + SmoothBars = false, + }, + Colours = { + PrimaryPower = { + [0] = {0, 0, 1}, -- Mana + [1] = {1, 0, 0}, -- Rage + [2] = {1, 0.5, 0.25}, -- Focus + [3] = {1, 1, 0}, -- Energy + [6] = {0, 0.82, 1}, -- Runic Power + [8] = {0.75, 0.52, 0.9}, -- Lunar Power + [11] = {0, 0.5, 1}, -- Maelstrom + [13] = {0.4, 0, 0.8}, -- Insanity + [17] = {0.79, 0.26, 0.99}, -- Fury + [18] = {1, 0.61, 0} -- Pain + }, + SecondaryPower = { + [Enum.PowerType.Chi] = {0.71, 1.00, 0.92, 1.0 }, + [Enum.PowerType.ComboPoints] = {1.00, 0.96, 0.41, 1.0 }, + [Enum.PowerType.HolyPower] = {0.95, 0.90, 0.60, 1.0 }, + [Enum.PowerType.ArcaneCharges] = {0.10, 0.10, 0.98, 1.0}, + [Enum.PowerType.Essence] = { 0.20, 0.58, 0.50, 1.0 }, + [Enum.PowerType.SoulShards] = { 0.58, 0.51, 0.79, 1.0 }, + [Enum.PowerType.Runes] = { 0.77, 0.12, 0.23, 1.0 }, + [Enum.PowerType.Maelstrom] = { 0.25, 0.50, 0.80, 1.0}, + ICICLES = { 0.25, 0.78, 0.92, 1.0}, + SOUL_FRAGMENTS = { 0.5, 0.25, 1.00, 1.0}, + SOUL = { 0.29, 0.42, 1.00, 1.0}, + STAGGER = { 0.00, 1.00, 0.59, 1.0 }, + RUNE_RECHARGE = { 0.5, 0.5, 0.5, 1.0 }, + ESSENCE_RECHARGE = { 0.5, 0.5, 0.5, 1.0 }, + CHARGED_COMBO_POINTS = { 0.25, 0.5, 1.00, 1.0}, + RUNES = { + FROST = {0.25, 1.00, 1.00, 1.0}, + UNHOLY = {0.25, 1.00, 0.25, 1.0}, + BLOOD = {1.00, 0.25, 0.25, 1.0} + }, + STAGGER_COLOURS = { + LIGHT = {0.25, 1.00, 0.25, 1.0}, + MODERATE = {1.00, 1.00, 0.25, 1.0}, + HEAVY = {1.00, 0.25, 0.25, 1.0} + } + } + } + }, + CooldownManager = { + Enable = true, + General = { + IconZoom = 0.1, + BorderSize = 1, + DisableAuraOverlay = false, + Glow = { + Enabled = true, + Type = "Pixel", + Pixel = { + Color = {1, 1, 1, 1}, + Lines = 5, + Frequency = 0.25, + Length = 2, + Thickness = 1, + XOffset = -1, + YOffset = -1, + Border = false, + }, + Autocast = { + Color = {1, 1, 1, 1}, + Particles = 10, + Frequency = 0.25, + Scale = 1, + XOffset = -1, + YOffset = -1, + }, + Proc = { + Color = {1, 1, 1, 1}, + StartAnim = true, + Duration = 1, + XOffset = 0, + YOffset = 0, + }, + Button = { + Color = {1, 1, 1, 1}, + Frequency = 0.125, + }, + }, + CooldownText = { + FontSize = 15, + Colour = {1, 1, 1}, + Layout = {"CENTER", "CENTER", 0, 0}, + ScaleByIconSize = false + }, + }, + Essential = { + IconSize = 42, + IconWidth = 42, + IconHeight = 42, + KeepAspectRatio = true, + CenterHorizontally = false, + Layout = {"CENTER", "CENTER", 0, -275.1}, + Text = { + FontSize = 15, + Colour = {1, 1, 1}, + Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 3} + }, + }, + Utility = { + IconSize = 36, + IconWidth = 36, + IconHeight = 36, + KeepAspectRatio = true, + CenterHorizontally = false, + Layout = {"TOP", "EssentialCooldownViewer", "BOTTOM", 0, -1.1}, + Text = { + FontSize = 15, + Colour = {1, 1, 1}, + Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 3} + }, + }, + Buffs = { + IconSize = 32, + IconWidth = 32, + IconHeight = 32, + KeepAspectRatio = true, + CenterBuffs = false, + Layout = {"BOTTOM", "BCDM_SecondaryPowerBar", "TOP", 0, 1.1}, + Text = { + FontSize = 15, + Colour = {1, 1, 1}, + Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 3} + }, + }, + BuffBar = { + Width = 300, + Height = 24, + Spacing = 1, + GrowthDirection = "UP", + MatchWidthOfAnchor = true, + ColourByClass = true, + BackgroundColour = {34/255, 34/255, 34/255, 1}, + ForegroundColour = {34/255, 34/255, 34/255, 1}, + Layout = {"BOTTOM", "NONE", "TOP", 0, 1.1}, + Icon = { + Enabled = true, + Layout = "LEFT", + }, + Text = { + SpellName = { + Enabled = true, + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"LEFT", "LEFT", 3, 0} + }, + Duration = { + Enabled = true, + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"RIGHT", "RIGHT", -3, 0} + }, + } + }, + Custom = { + IconSize = 38, + IconWidth = 38, + IconHeight = 38, + KeepAspectRatio = true, + FrameStrata = "LOW", + Layout = {"CENTER", "NONE", "CENTER", 0, 0}, + Spacing = 1, + GrowthDirection = "RIGHT", + Columns = 0, + Text = { + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} + }, + Spells = { + -- Monk + ["MONK"] = { + ["BREWMASTER"] = {}, + ["WINDWALKER"] = {}, + ["MISTWEAVER"] = {}, + }, + -- Demon Hunter + ["DEMONHUNTER"] = { + ["HAVOC"] = {}, + ["VENGEANCE"] = {}, + ["DEVOURER"] = {}, + }, + -- Death Knight + ["DEATHKNIGHT"] = { + ["BLOOD"] = {}, + ["UNHOLY"] = {}, + ["FROST"] = {} + }, + -- Mage + ["MAGE"] = { + ["FROST"] = {}, + ["FIRE"] = {}, + ["ARCANE"] = {}, + }, + -- Paladin + ["PALADIN"] = { + ["RETRIBUTION"] = {}, + ["HOLY"] = {}, + ["PROTECTION"] = {} + }, + -- Shaman + ["SHAMAN"] = { + ["ELEMENTAL"] = {}, + ["ENHANCEMENT"] = {}, + ["RESTORATION"] = {} + }, + -- Druid + ["DRUID"] = { + ["GUARDIAN"] = {}, + ["FERAL"] = {}, + ["RESTORATION"] = {}, + ["BALANCE"] = {}, + }, + -- Evoker + ["EVOKER"] = { + ["DEVASTATION"] = {}, + ["AUGMENTATION"] = {}, + ["PRESERVATION"] = {} + }, + -- Warrior + ["WARRIOR"] = { + ["ARMS"] = {}, + ["FURY"] = {}, + ["PROTECTION"] = {}, + }, + -- Priest + ["PRIEST"] = { + ["SHADOW"] = {}, + ["DISCIPLINE"] = {}, + ["HOLY"] = {}, + }, + -- Warlock + ["WARLOCK"] = { + ["DESTRUCTION"] = {}, + ["AFFLICTION"] = {}, + ["DEMONOLOGY"] = {}, + }, + -- Hunter + ["HUNTER"] = { + ["SURVIVAL"] = {}, + ["MARKSMANSHIP"] = {}, + ["BEASTMASTERY"] = {}, + }, + -- Rogue + ["ROGUE"] = { + ["OUTLAW"] = {}, + ["ASSASSINATION"] = {}, + ["SUBTLETY"] = {}, + } + }, + }, + AdditionalCustom = { + IconSize = 38, + IconWidth = 38, + IconHeight = 38, + KeepAspectRatio = true, + FrameStrata = "LOW", + Layout = {"CENTER", "NONE", "CENTER", 0, 0}, + Spacing = 1, + GrowthDirection = "RIGHT", + Columns = 0, + Text = { + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} + }, + Spells = { + -- Monk + ["MONK"] = { + ["BREWMASTER"] = {}, + ["WINDWALKER"] = {}, + ["MISTWEAVER"] = {}, + }, + -- Demon Hunter + ["DEMONHUNTER"] = { + ["HAVOC"] = {}, + ["VENGEANCE"] = {}, + ["DEVOURER"] = {}, + }, + -- Death Knight + ["DEATHKNIGHT"] = { + ["BLOOD"] = {}, + ["UNHOLY"] = {}, + ["FROST"] = {} + }, + -- Mage + ["MAGE"] = { + ["FROST"] = {}, + ["FIRE"] = {}, + ["ARCANE"] = {}, + }, + -- Paladin + ["PALADIN"] = { + ["RETRIBUTION"] = {}, + ["HOLY"] = {}, + ["PROTECTION"] = {} + }, + -- Shaman + ["SHAMAN"] = { + ["ELEMENTAL"] = {}, + ["ENHANCEMENT"] = {}, + ["RESTORATION"] = {} + }, + -- Druid + ["DRUID"] = { + ["GUARDIAN"] = {}, + ["FERAL"] = {}, + ["RESTORATION"] = {}, + ["BALANCE"] = {}, + }, + -- Evoker + ["EVOKER"] = { + ["DEVASTATION"] = {}, + ["AUGMENTATION"] = {}, + ["PRESERVATION"] = {} + }, + -- Warrior + ["WARRIOR"] = { + ["ARMS"] = {}, + ["FURY"] = {}, + ["PROTECTION"] = {}, + }, + -- Priest + ["PRIEST"] = { + ["SHADOW"] = {}, + ["DISCIPLINE"] = {}, + ["HOLY"] = {}, + }, + -- Warlock + ["WARLOCK"] = { + ["DESTRUCTION"] = {}, + ["AFFLICTION"] = {}, + ["DEMONOLOGY"] = {}, + }, + -- Hunter + ["HUNTER"] = { + ["SURVIVAL"] = {}, + ["MARKSMANSHIP"] = {}, + ["BEASTMASTERY"] = {}, + }, + -- Rogue + ["ROGUE"] = { + ["OUTLAW"] = {}, + ["ASSASSINATION"] = {}, + ["SUBTLETY"] = {}, + } + }, + }, + Item = { + IconSize = 38, + IconWidth = 38, + IconHeight = 38, + KeepAspectRatio = true, + FrameStrata = "LOW", + Layout = {"CENTER", "NONE", "CENTER", 0, 0}, + Spacing = 1, + GrowthDirection = "LEFT", + Columns = 0, + OffsetByParentHeight = true, + HideZeroCharges = false, + ShowItemQualityBorder = true, + Text = { + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} + }, + Items = {}, + }, + Trinket = { + Enabled = true, + IconSize = 38, + IconWidth = 38, + IconHeight = 38, + KeepAspectRatio = true, + FrameStrata = "LOW", + Layout = {"CENTER", "NONE", "CENTER", 0, 0}, + Spacing = 1, + GrowthDirection = "LEFT", + OffsetByParentHeight = true, + }, + ItemSpell = { + IconSize = 38, + IconWidth = 38, + IconHeight = 38, + KeepAspectRatio = true, + FrameStrata = "LOW", + Layout = {"CENTER", "NONE", "CENTER", 0, 0}, + Spacing = 1, + GrowthDirection = "LEFT", + Columns = 0, + OffsetByParentHeight = true, + HideZeroCharges = false, + ShowItemQualityBorder = true, + Text = { + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} + }, + ItemsSpells = {}, + }, + }, + PowerBar = { + Enabled = true, + Width = 200, + Height = 13, + HeightWithoutSecondary = 20, + MatchWidthOfAnchor = true, + ColourByType = true, + ColourByClass = false, + FrequentUpdates = true, + FrameStrata = "LOW", + BackgroundColour = {34/255, 34/255, 34/255, 1}, + ForegroundColour = {34/255, 34/255, 34/255, 1}, + Layout = {"BOTTOM", "EssentialCooldownViewer", "TOP", 0, 1}, + Text = { + Enabled = true, + FontSize = 18, + Colour = {1, 1, 1}, + Layout = {"BOTTOM", "BOTTOM", 0, 1} + }, + }, + SecondaryPowerBar = { + Enabled = true, + Width = 200, + Height = 13, + HeightWithoutPrimary = 13, + MatchWidthOfAnchor = true, + ColourByType = true, + ColourByClass = false, + ColourBySpec = false, + ColourByState = true, + FrameStrata = "LOW", + HideTicks = false, + SwapToPowerBarPosition = false, + BackgroundColour = {34/255, 34/255, 34/255, 1}, + ForegroundColour = {34/255, 34/255, 34/255, 1}, + Layout = {"BOTTOM", "BCDM_PowerBar", "TOP", 0, 1}, + Text = { + Enabled = false, + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"CENTER", "CENTER", 0, 0}, + ShowStaggerDPS = false, + }, + }, + CastBar = { + Enabled = true, + Width = 200, + Height = 24, + MatchWidthOfAnchor = true, + ColourByClass = true, + FrameStrata = "LOW", + BackgroundColour = {34/255, 34/255, 34/255, 1}, + ForegroundColour = {34/255, 34/255, 34/255, 1}, + Layout = {"TOP", "UtilityCooldownViewer", "BOTTOM", 0, -1}, + Text = { + SpellName = { + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"LEFT", "LEFT", 3, 0}, + MaxCharacters = 12, + }, + CastTime = { + FontSize = 12, + Colour = {1, 1, 1}, + Layout = {"RIGHT", "RIGHT", -3, 0} + } + }, + Icon = { + Enabled = true, + Layout = "LEFT", + } + }, + }, + } + + function BCDM:GetDefaultDB() + return Defaults + end + }, profile = { General = { diff --git a/Core/GUI.lua b/Core/GUI.lua index 760d68e..f92956e 100755 --- a/Core/GUI.lua +++ b/Core/GUI.lua @@ -37,6 +37,7 @@ local PowerNames = { [19] = LL("Essence"), [20] = LL("Maelstrom"), ["STAGGER"] = LL("Stagger"), + ["ICICLES"] = LL("Icicles"), ["SOUL_FRAGMENTS"] = LL("Soul Fragments"), ["SOUL"] = LL("Soul"), ["RUNE_RECHARGE"] = LL("Rune on Cooldown"), @@ -1119,10 +1120,11 @@ local function CreateGeneralSettings(parentContainer) [Enum.PowerType.SoulShards] = { 0.58, 0.51, 0.79, 1.0 }, STAGGER = { 0.00, 1.00, 0.59, 1.0 }, [Enum.PowerType.Runes] = { 0.77, 0.12, 0.23, 1.0 }, + Icicles = { 0.29, 0.42, 1.00, 1.0}, SOUL_FRAGMENTS = { 0.29, 0.42, 1.00, 1.0}, SOUL = { 0.29, 0.42, 1.00, 1.0}, [Enum.PowerType.Maelstrom] = { 0.25, 0.50, 0.80, 1.0}, - RUNE_RECHARGE = { 0.5, 0.5, 0.5, 1.0 }, + RUNE_RECHARGE = { 0.5, 0.5, 0.5, 1.0 }, CHARGED_COMBO_POINTS = { 0.25, 0.5, 1.00, 1.0} } } @@ -1152,7 +1154,7 @@ local function CreateGeneralSettings(parentContainer) SecondaryColoursContainer:SetLayout("Flow") CustomColoursContainer:AddChild(SecondaryColoursContainer) - local SecondaryPowerOrder = {Enum.PowerType.Chi, Enum.PowerType.ComboPoints, Enum.PowerType.HolyPower, Enum.PowerType.ArcaneCharges, Enum.PowerType.Essence, Enum.PowerType.SoulShards, "STAGGER", Enum.PowerType.Runes, "RUNE_RECHARGE", "SOUL_FRAGMENTS", "SOUL", Enum.PowerType.Maelstrom, "CHARGED_COMBO_POINTS", "ESSENCE_RECHARGE" } + local SecondaryPowerOrder = {Enum.PowerType.Chi, Enum.PowerType.ComboPoints, Enum.PowerType.HolyPower, Enum.PowerType.ArcaneCharges, Enum.PowerType.Essence, Enum.PowerType.SoulShards, "STAGGER", Enum.PowerType.Runes, "RUNE_RECHARGE", "ICICLES", "SOUL_FRAGMENTS", "SOUL", Enum.PowerType.Maelstrom, "CHARGED_COMBO_POINTS", "ESSENCE_RECHARGE" } for _, powerType in ipairs(SecondaryPowerOrder) do local powerColour = BCDM.db.profile.General.Colours.SecondaryPower[powerType] local PowerColour = AG:Create("ColorPicker") diff --git a/Modules/PowerBar.lua b/Modules/PowerBar.lua index af6af6a..6330581 100755 --- a/Modules/PowerBar.lua +++ b/Modules/PowerBar.lua @@ -39,6 +39,7 @@ local function DetectSecondaryPower() return true elseif class == "MAGE" then if specID == 62 then return true end + if specID == 64 then return true end elseif class == "EVOKER" then return true elseif class == "DEATHKNIGHT" then @@ -49,7 +50,7 @@ local function DetectSecondaryPower() if specID == 262 and showMana then return true end if specID == 263 then return true end elseif class == "PRIEST" then - if specID == 258 and showMana then return true end + if specID == 258 and showMana then return true end end return false end @@ -69,11 +70,11 @@ local function UpdatePowerValues() local powerType = UnitPowerType("player") if class == "DRUID" then local spec = GetSpecialization() - local form = GetShapeshiftFormID() or 0 + local form = GetShapeshiftFormID() or 0 local isHybridMoonkin = (spec == 2 or spec == 3 or spec == 4) and form == 31 or form == 32 or form == 33 or form == 34 or form == 35 local isBalanceHumanoid = (spec == 1 and form == 0) if isHybridMoonkin or isBalanceHumanoid then - powerType = 0 + powerType = 0 end end local powerCurrent = UnitPower("player", powerType) diff --git a/Modules/SecondaryPowerBar.lua b/Modules/SecondaryPowerBar.lua index c57c0e8..6c0a3cb 100755 --- a/Modules/SecondaryPowerBar.lua +++ b/Modules/SecondaryPowerBar.lua @@ -8,6 +8,7 @@ local resizeTimer = nil local isDestruction local SPEC_ARCANE = 62 +local SPEC_FROST = 64 local SPEC_SHADOW = 258 local SPEC_ELEMENTAL = 262 local SPEC_ENHANCEMENT = 263 @@ -55,6 +56,7 @@ local function DetectSecondaryPower() return Enum.PowerType.SoulShards elseif class == "MAGE" then if specID == SPEC_ARCANE then return Enum.PowerType.ArcaneCharges end + if specID == SPEC_FROST then return "ICICLES" end elseif class == "EVOKER" then return Enum.PowerType.Essence elseif class == "DEATHKNIGHT" then @@ -510,6 +512,12 @@ local function UpdatePowerValues() secondaryPowerBar.Status:SetValue(powerCurrent) secondaryPowerBar.Text:SetText(tostring(powerCurrent)) secondaryPowerBar.Status:Show() + elseif powerType == "ICICLES" then + powerCurrent = GetAuraStacks(205473) + secondaryPowerBar.Status:SetMinMaxValues(0, 5) + secondaryPowerBar.Status:SetValue(powerCurrent) + secondaryPowerBar.Text:SetText(tostring(powerCurrent)) + secondaryPowerBar.Status:Show() elseif powerType == "SOUL_FRAGMENTS" then powerCurrent = GetSpellCharges(228477) secondaryPowerBar.Status:SetMinMaxValues(0, 6) @@ -619,6 +627,11 @@ local function CreateTicksBasedOnPowerType() return end + if secondaryPowerResource == "ICICLES" then + BCDM:CreateTicks(5) + return + end + if secondaryPowerResource == "SOUL_FRAGMENTS" then BCDM:CreateTicks(6) return From 644ab0761d22abaa4403aa1e413529e3bb8454cc Mon Sep 17 00:00:00 2001 From: Josh Summers Date: Mon, 30 Mar 2026 16:01:58 +0100 Subject: [PATCH 2/2] Defaults.lua pasted local changes twice, fixing here --- Core/Defaults.lua | 520 +--------------------------------------------- 1 file changed, 2 insertions(+), 518 deletions(-) diff --git a/Core/Defaults.lua b/Core/Defaults.lua index 6ad97d6..0d045d5 100755 --- a/Core/Defaults.lua +++ b/Core/Defaults.lua @@ -13,524 +13,7 @@ local Defaults = { Mythic = "", LFR = "", }, - },local _, BCDM = ... - - local Defaults = { - global = { - UseGlobalProfile = false, - GlobalProfileName = "Default", - DisplayLoginMessage = true, - EditModeManager = { - SwapOnInstanceDifficulty = false, - RaidLayouts = { - Normal = "", - Heroic = "", - Mythic = "", - LFR = "", - }, - }, - }, - profile = { - General = { - Fonts = { - Font = "Friz Quadrata TT", - FontFlag = "OUTLINE", - Shadow = { - Enabled = false, - Colour = {0, 0, 0, 1}, - OffsetX = 1, - OffsetY = -1 - } - }, - Textures = { - Foreground = "Better Blizzard", - Background = "Better Blizzard", - }, - Animation = { - SmoothBars = false, - }, - Colours = { - PrimaryPower = { - [0] = {0, 0, 1}, -- Mana - [1] = {1, 0, 0}, -- Rage - [2] = {1, 0.5, 0.25}, -- Focus - [3] = {1, 1, 0}, -- Energy - [6] = {0, 0.82, 1}, -- Runic Power - [8] = {0.75, 0.52, 0.9}, -- Lunar Power - [11] = {0, 0.5, 1}, -- Maelstrom - [13] = {0.4, 0, 0.8}, -- Insanity - [17] = {0.79, 0.26, 0.99}, -- Fury - [18] = {1, 0.61, 0} -- Pain - }, - SecondaryPower = { - [Enum.PowerType.Chi] = {0.71, 1.00, 0.92, 1.0 }, - [Enum.PowerType.ComboPoints] = {1.00, 0.96, 0.41, 1.0 }, - [Enum.PowerType.HolyPower] = {0.95, 0.90, 0.60, 1.0 }, - [Enum.PowerType.ArcaneCharges] = {0.10, 0.10, 0.98, 1.0}, - [Enum.PowerType.Essence] = { 0.20, 0.58, 0.50, 1.0 }, - [Enum.PowerType.SoulShards] = { 0.58, 0.51, 0.79, 1.0 }, - [Enum.PowerType.Runes] = { 0.77, 0.12, 0.23, 1.0 }, - [Enum.PowerType.Maelstrom] = { 0.25, 0.50, 0.80, 1.0}, - ICICLES = { 0.25, 0.78, 0.92, 1.0}, - SOUL_FRAGMENTS = { 0.5, 0.25, 1.00, 1.0}, - SOUL = { 0.29, 0.42, 1.00, 1.0}, - STAGGER = { 0.00, 1.00, 0.59, 1.0 }, - RUNE_RECHARGE = { 0.5, 0.5, 0.5, 1.0 }, - ESSENCE_RECHARGE = { 0.5, 0.5, 0.5, 1.0 }, - CHARGED_COMBO_POINTS = { 0.25, 0.5, 1.00, 1.0}, - RUNES = { - FROST = {0.25, 1.00, 1.00, 1.0}, - UNHOLY = {0.25, 1.00, 0.25, 1.0}, - BLOOD = {1.00, 0.25, 0.25, 1.0} - }, - STAGGER_COLOURS = { - LIGHT = {0.25, 1.00, 0.25, 1.0}, - MODERATE = {1.00, 1.00, 0.25, 1.0}, - HEAVY = {1.00, 0.25, 0.25, 1.0} - } - } - } - }, - CooldownManager = { - Enable = true, - General = { - IconZoom = 0.1, - BorderSize = 1, - DisableAuraOverlay = false, - Glow = { - Enabled = true, - Type = "Pixel", - Pixel = { - Color = {1, 1, 1, 1}, - Lines = 5, - Frequency = 0.25, - Length = 2, - Thickness = 1, - XOffset = -1, - YOffset = -1, - Border = false, - }, - Autocast = { - Color = {1, 1, 1, 1}, - Particles = 10, - Frequency = 0.25, - Scale = 1, - XOffset = -1, - YOffset = -1, - }, - Proc = { - Color = {1, 1, 1, 1}, - StartAnim = true, - Duration = 1, - XOffset = 0, - YOffset = 0, - }, - Button = { - Color = {1, 1, 1, 1}, - Frequency = 0.125, - }, - }, - CooldownText = { - FontSize = 15, - Colour = {1, 1, 1}, - Layout = {"CENTER", "CENTER", 0, 0}, - ScaleByIconSize = false - }, - }, - Essential = { - IconSize = 42, - IconWidth = 42, - IconHeight = 42, - KeepAspectRatio = true, - CenterHorizontally = false, - Layout = {"CENTER", "CENTER", 0, -275.1}, - Text = { - FontSize = 15, - Colour = {1, 1, 1}, - Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 3} - }, - }, - Utility = { - IconSize = 36, - IconWidth = 36, - IconHeight = 36, - KeepAspectRatio = true, - CenterHorizontally = false, - Layout = {"TOP", "EssentialCooldownViewer", "BOTTOM", 0, -1.1}, - Text = { - FontSize = 15, - Colour = {1, 1, 1}, - Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 3} - }, - }, - Buffs = { - IconSize = 32, - IconWidth = 32, - IconHeight = 32, - KeepAspectRatio = true, - CenterBuffs = false, - Layout = {"BOTTOM", "BCDM_SecondaryPowerBar", "TOP", 0, 1.1}, - Text = { - FontSize = 15, - Colour = {1, 1, 1}, - Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 3} - }, - }, - BuffBar = { - Width = 300, - Height = 24, - Spacing = 1, - GrowthDirection = "UP", - MatchWidthOfAnchor = true, - ColourByClass = true, - BackgroundColour = {34/255, 34/255, 34/255, 1}, - ForegroundColour = {34/255, 34/255, 34/255, 1}, - Layout = {"BOTTOM", "NONE", "TOP", 0, 1.1}, - Icon = { - Enabled = true, - Layout = "LEFT", - }, - Text = { - SpellName = { - Enabled = true, - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"LEFT", "LEFT", 3, 0} - }, - Duration = { - Enabled = true, - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"RIGHT", "RIGHT", -3, 0} - }, - } - }, - Custom = { - IconSize = 38, - IconWidth = 38, - IconHeight = 38, - KeepAspectRatio = true, - FrameStrata = "LOW", - Layout = {"CENTER", "NONE", "CENTER", 0, 0}, - Spacing = 1, - GrowthDirection = "RIGHT", - Columns = 0, - Text = { - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} - }, - Spells = { - -- Monk - ["MONK"] = { - ["BREWMASTER"] = {}, - ["WINDWALKER"] = {}, - ["MISTWEAVER"] = {}, - }, - -- Demon Hunter - ["DEMONHUNTER"] = { - ["HAVOC"] = {}, - ["VENGEANCE"] = {}, - ["DEVOURER"] = {}, - }, - -- Death Knight - ["DEATHKNIGHT"] = { - ["BLOOD"] = {}, - ["UNHOLY"] = {}, - ["FROST"] = {} - }, - -- Mage - ["MAGE"] = { - ["FROST"] = {}, - ["FIRE"] = {}, - ["ARCANE"] = {}, - }, - -- Paladin - ["PALADIN"] = { - ["RETRIBUTION"] = {}, - ["HOLY"] = {}, - ["PROTECTION"] = {} - }, - -- Shaman - ["SHAMAN"] = { - ["ELEMENTAL"] = {}, - ["ENHANCEMENT"] = {}, - ["RESTORATION"] = {} - }, - -- Druid - ["DRUID"] = { - ["GUARDIAN"] = {}, - ["FERAL"] = {}, - ["RESTORATION"] = {}, - ["BALANCE"] = {}, - }, - -- Evoker - ["EVOKER"] = { - ["DEVASTATION"] = {}, - ["AUGMENTATION"] = {}, - ["PRESERVATION"] = {} - }, - -- Warrior - ["WARRIOR"] = { - ["ARMS"] = {}, - ["FURY"] = {}, - ["PROTECTION"] = {}, - }, - -- Priest - ["PRIEST"] = { - ["SHADOW"] = {}, - ["DISCIPLINE"] = {}, - ["HOLY"] = {}, - }, - -- Warlock - ["WARLOCK"] = { - ["DESTRUCTION"] = {}, - ["AFFLICTION"] = {}, - ["DEMONOLOGY"] = {}, - }, - -- Hunter - ["HUNTER"] = { - ["SURVIVAL"] = {}, - ["MARKSMANSHIP"] = {}, - ["BEASTMASTERY"] = {}, - }, - -- Rogue - ["ROGUE"] = { - ["OUTLAW"] = {}, - ["ASSASSINATION"] = {}, - ["SUBTLETY"] = {}, - } - }, - }, - AdditionalCustom = { - IconSize = 38, - IconWidth = 38, - IconHeight = 38, - KeepAspectRatio = true, - FrameStrata = "LOW", - Layout = {"CENTER", "NONE", "CENTER", 0, 0}, - Spacing = 1, - GrowthDirection = "RIGHT", - Columns = 0, - Text = { - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} - }, - Spells = { - -- Monk - ["MONK"] = { - ["BREWMASTER"] = {}, - ["WINDWALKER"] = {}, - ["MISTWEAVER"] = {}, - }, - -- Demon Hunter - ["DEMONHUNTER"] = { - ["HAVOC"] = {}, - ["VENGEANCE"] = {}, - ["DEVOURER"] = {}, - }, - -- Death Knight - ["DEATHKNIGHT"] = { - ["BLOOD"] = {}, - ["UNHOLY"] = {}, - ["FROST"] = {} - }, - -- Mage - ["MAGE"] = { - ["FROST"] = {}, - ["FIRE"] = {}, - ["ARCANE"] = {}, - }, - -- Paladin - ["PALADIN"] = { - ["RETRIBUTION"] = {}, - ["HOLY"] = {}, - ["PROTECTION"] = {} - }, - -- Shaman - ["SHAMAN"] = { - ["ELEMENTAL"] = {}, - ["ENHANCEMENT"] = {}, - ["RESTORATION"] = {} - }, - -- Druid - ["DRUID"] = { - ["GUARDIAN"] = {}, - ["FERAL"] = {}, - ["RESTORATION"] = {}, - ["BALANCE"] = {}, - }, - -- Evoker - ["EVOKER"] = { - ["DEVASTATION"] = {}, - ["AUGMENTATION"] = {}, - ["PRESERVATION"] = {} - }, - -- Warrior - ["WARRIOR"] = { - ["ARMS"] = {}, - ["FURY"] = {}, - ["PROTECTION"] = {}, - }, - -- Priest - ["PRIEST"] = { - ["SHADOW"] = {}, - ["DISCIPLINE"] = {}, - ["HOLY"] = {}, - }, - -- Warlock - ["WARLOCK"] = { - ["DESTRUCTION"] = {}, - ["AFFLICTION"] = {}, - ["DEMONOLOGY"] = {}, - }, - -- Hunter - ["HUNTER"] = { - ["SURVIVAL"] = {}, - ["MARKSMANSHIP"] = {}, - ["BEASTMASTERY"] = {}, - }, - -- Rogue - ["ROGUE"] = { - ["OUTLAW"] = {}, - ["ASSASSINATION"] = {}, - ["SUBTLETY"] = {}, - } - }, - }, - Item = { - IconSize = 38, - IconWidth = 38, - IconHeight = 38, - KeepAspectRatio = true, - FrameStrata = "LOW", - Layout = {"CENTER", "NONE", "CENTER", 0, 0}, - Spacing = 1, - GrowthDirection = "LEFT", - Columns = 0, - OffsetByParentHeight = true, - HideZeroCharges = false, - ShowItemQualityBorder = true, - Text = { - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} - }, - Items = {}, - }, - Trinket = { - Enabled = true, - IconSize = 38, - IconWidth = 38, - IconHeight = 38, - KeepAspectRatio = true, - FrameStrata = "LOW", - Layout = {"CENTER", "NONE", "CENTER", 0, 0}, - Spacing = 1, - GrowthDirection = "LEFT", - OffsetByParentHeight = true, - }, - ItemSpell = { - IconSize = 38, - IconWidth = 38, - IconHeight = 38, - KeepAspectRatio = true, - FrameStrata = "LOW", - Layout = {"CENTER", "NONE", "CENTER", 0, 0}, - Spacing = 1, - GrowthDirection = "LEFT", - Columns = 0, - OffsetByParentHeight = true, - HideZeroCharges = false, - ShowItemQualityBorder = true, - Text = { - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"BOTTOMRIGHT", "BOTTOMRIGHT", 0, 2} - }, - ItemsSpells = {}, - }, - }, - PowerBar = { - Enabled = true, - Width = 200, - Height = 13, - HeightWithoutSecondary = 20, - MatchWidthOfAnchor = true, - ColourByType = true, - ColourByClass = false, - FrequentUpdates = true, - FrameStrata = "LOW", - BackgroundColour = {34/255, 34/255, 34/255, 1}, - ForegroundColour = {34/255, 34/255, 34/255, 1}, - Layout = {"BOTTOM", "EssentialCooldownViewer", "TOP", 0, 1}, - Text = { - Enabled = true, - FontSize = 18, - Colour = {1, 1, 1}, - Layout = {"BOTTOM", "BOTTOM", 0, 1} - }, - }, - SecondaryPowerBar = { - Enabled = true, - Width = 200, - Height = 13, - HeightWithoutPrimary = 13, - MatchWidthOfAnchor = true, - ColourByType = true, - ColourByClass = false, - ColourBySpec = false, - ColourByState = true, - FrameStrata = "LOW", - HideTicks = false, - SwapToPowerBarPosition = false, - BackgroundColour = {34/255, 34/255, 34/255, 1}, - ForegroundColour = {34/255, 34/255, 34/255, 1}, - Layout = {"BOTTOM", "BCDM_PowerBar", "TOP", 0, 1}, - Text = { - Enabled = false, - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"CENTER", "CENTER", 0, 0}, - ShowStaggerDPS = false, - }, - }, - CastBar = { - Enabled = true, - Width = 200, - Height = 24, - MatchWidthOfAnchor = true, - ColourByClass = true, - FrameStrata = "LOW", - BackgroundColour = {34/255, 34/255, 34/255, 1}, - ForegroundColour = {34/255, 34/255, 34/255, 1}, - Layout = {"TOP", "UtilityCooldownViewer", "BOTTOM", 0, -1}, - Text = { - SpellName = { - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"LEFT", "LEFT", 3, 0}, - MaxCharacters = 12, - }, - CastTime = { - FontSize = 12, - Colour = {1, 1, 1}, - Layout = {"RIGHT", "RIGHT", -3, 0} - } - }, - Icon = { - Enabled = true, - Layout = "LEFT", - } - }, - }, - } - - function BCDM:GetDefaultDB() - return Defaults - end - + }, }, profile = { General = { @@ -573,6 +56,7 @@ local Defaults = { [Enum.PowerType.SoulShards] = { 0.58, 0.51, 0.79, 1.0 }, [Enum.PowerType.Runes] = { 0.77, 0.12, 0.23, 1.0 }, [Enum.PowerType.Maelstrom] = { 0.25, 0.50, 0.80, 1.0}, + ICICLES = { 0.25, 0.78, 0.92, 1.0}, SOUL_FRAGMENTS = { 0.5, 0.25, 1.00, 1.0}, SOUL = { 0.29, 0.42, 1.00, 1.0}, STAGGER = { 0.00, 1.00, 0.59, 1.0 },