diff --git a/IceCore.lua b/IceCore.lua index 6846dac..a370c10 100644 --- a/IceCore.lua +++ b/IceCore.lua @@ -525,5 +525,13 @@ function IceCore.prototype:LoadPresets() barBlendMode = "ADD", barBgBlendMode = "BLEND", } + + self.presets["ArcHUD"] = { + barTexture = "ArcHUD", + barWidth = 160, + barHeight = 300, + barProportion = 0.15, + barSpace = 3, + } end diff --git a/IceHUD.lua b/IceHUD.lua index 0454302..ff2be27 100644 --- a/IceHUD.lua +++ b/IceHUD.lua @@ -286,7 +286,7 @@ IceHUD.options = set = function(value) IceHUD.IceCore:SetBarPreset(value) end, - validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives" }, + validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives", "ArcHUD" }, order = 9 }, @@ -308,7 +308,7 @@ IceHUD.options = set = function(value) IceHUD.IceCore:SetBarTexture(value) end, - validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives", "FangRune", "RuneBar", "RuneColor" }, + validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives", "FangRune", "RuneBar", "RuneColor", "ArcHUD" }, order = 11 }, diff --git a/modules/CastBar.lua b/modules/CastBar.lua index 00953ee..9cb5b28 100644 --- a/modules/CastBar.lua +++ b/modules/CastBar.lua @@ -10,6 +10,8 @@ CastBar.prototype.spellCastSent = nil function CastBar.prototype:init() CastBar.super.prototype.init(self, "CastBar") + self:SetDefaultColor("CastLag", 255, 0, 0) + self.unit = "player" end @@ -344,7 +346,7 @@ function CastBar.prototype:CreateLagBar() self.lagBar:SetStatusBarTexture(self.lagBar.bar) - local r, g, b = self.settings.backgroundColor.r, self.settings.backgroundColor.g, self.settings.backgroundColor.b + local r, g, b = self:GetColor("CastLag") if (self.settings.backgroundToggle) then r, g, b = self:GetColor("CastCasting") end diff --git a/modules/PlayerMana.lua b/modules/PlayerMana.lua index b38f316..2f24e01 100644 --- a/modules/PlayerMana.lua +++ b/modules/PlayerMana.lua @@ -144,7 +144,7 @@ end -- OVERRIDE function PlayerMana.prototype:UseTargetAlpha(scale) - if (self.manaType == 1) then + if (self.manaType == 1 or self.manaType == 6) then return (scale and (scale > 0)) else return PlayerMana.super.prototype.UseTargetAlpha(self, scale) diff --git a/modules/Threat.lua b/modules/Threat.lua index 9977c74..f962d9d 100644 --- a/modules/Threat.lua +++ b/modules/Threat.lua @@ -22,6 +22,7 @@ function IHUD_Threat.prototype:init() self:SetDefaultColor("ThreatHigh", 204, 0, 153) self:SetDefaultColor("ThreatDanger", 255, 0, 0) self:SetDefaultColor("ThreatCustom", 255, 255, 0) + self:SetDefaultColor("ThreatPullAggro", 255, 0, 0) self:OnCoreLoad() end @@ -126,7 +127,7 @@ function IHUD_Threat.prototype:CreateAggroBar() self.aggroBar:SetStatusBarTexture(self.aggroBar.bar) - local r, g, b = self.settings.backgroundColor.r, self.settings.backgroundColor.g, self.settings.backgroundColor.b + local r, g, b = self:GetColor("ThreatPullAggro") if (self.settings.backgroundToggle) then r, g, b = self:GetColor("CastCasting") end diff --git a/textures/ArcHUD.blp b/textures/ArcHUD.blp new file mode 100644 index 0000000..8f7f90d Binary files /dev/null and b/textures/ArcHUD.blp differ diff --git a/textures/ArcHUDBG.blp b/textures/ArcHUDBG.blp new file mode 100644 index 0000000..8f7f90d Binary files /dev/null and b/textures/ArcHUDBG.blp differ