From bfe1fcaf36bc04b6ee905ee2bcc679cecd74fc23 Mon Sep 17 00:00:00 2001 From: Vollmer Date: Mon, 16 Dec 2024 15:25:48 +0100 Subject: [PATCH] [Bugfix] Fix Cast Bar not showing Earthen Empower Racial --- Widgets/Bars/CastBar.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Widgets/Bars/CastBar.lua b/Widgets/Bars/CastBar.lua index 29155df..83f28cb 100644 --- a/Widgets/Bars/CastBar.lua +++ b/Widgets/Bars/CastBar.lua @@ -472,7 +472,8 @@ local function Enable(self) button:AddEventListener("UNIT_SPELLCAST_FAILED", CastFail) button:AddEventListener("UNIT_SPELLCAST_INTERRUPTED", CastFail) - if CUF.vars.isRetail and button.states.class == "EVOKER" then + if CUF.vars.isRetail and (button.states.class == "EVOKER" + or select(2, UnitRace(button.states.unit)) == "EarthenDwarf") then button:AddEventListener("UNIT_SPELLCAST_EMPOWER_START", CastStart) button:AddEventListener("UNIT_SPELLCAST_EMPOWER_STOP", CastStop) button:AddEventListener("UNIT_SPELLCAST_EMPOWER_UPDATE", CastUpdate)