Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 38fd718

Browse files
committed
Add bleed text color to list of debuff colors
1 parent 269ab76 commit 38fd718

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Globals.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ EnhancedRaidFrames.iconCache = {}
4747
EnhancedRaidFrames.iconCache["poison"] = 132104
4848
EnhancedRaidFrames.iconCache["disease"] = 132099
4949
EnhancedRaidFrames.iconCache["curse"] = 132095
50-
EnhancedRaidFrames.iconCache["magic"] = 135894
50+
EnhancedRaidFrames.iconCache["magic"] = 135894
51+
EnhancedRaidFrames.iconCache["bleed"] = 136168

Modules/AuraIndicators.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ function EnhancedRaidFrames:UpdateIndicatorIcon(indicatorFrame)
449449

450450
if not self.iconCache[auraIdentifier] then
451451
-- Check our iconCache for the name.
452-
-- Note: The icon cache is pre-populated with generic "poison", "curse", "disease", and "magic" debuff icons.
452+
-- Note: The icon cache is pre-populated with generic "poison", "curse", "disease", "magic", and "bleed" debuff icons.
453453
local icon
454454
-- Check if we can use the new API introduced in 11.0, Classic and Classic_Era may not support it
455455
if C_Spell and C_Spell.GetSpellTexture then
@@ -515,6 +515,7 @@ function EnhancedRaidFrames:UpdateIndicatorColor(indicatorFrame, remainingTime)
515515
return
516516
elseif thisAura.dispelName == "bleed" then
517517
indicatorFrame.Icon:SetColorTexture(self.PINK_COLOR:GetRGB())
518+
return
518519
end
519520
end
520521
end
@@ -559,6 +560,9 @@ function EnhancedRaidFrames:UpdateCountdownTextColor(indicatorFrame, remainingTi
559560
elseif thisAura.dispelName == "magic" then
560561
indicatorFrame.Countdown:SetTextColor(self.BLUE_COLOR:GetRGB())
561562
return
563+
elseif thisAura.dispelName == "bleed" then
564+
indicatorFrame.Countdown:SetTextColor(self.PINK_COLOR:GetRGB())
565+
return
562566
end
563567
end
564568
end

0 commit comments

Comments
 (0)