From 48b8573e91f492715ed9a4f1f24dc7e46f814232 Mon Sep 17 00:00:00 2001 From: "vjekoslav.krenek@gmail.com" <313787825+svart2521@users.noreply.github.com> Date: Thu, 10 Sep 2026 21:01:34 +0200 Subject: [PATCH] Fix: Mistweaver Monk shows wrong power bar color after zoning Bug: Issue: PLAYER_POWER_DEFAULT in EllesmereUIUnitFrames.lua overrides which power type a player-frame power bar defaults to for specs whose class has multiple power types, so it doesn't rely on a raw UnitPowerType() read that can transiently report the wrong type right after a zone transition, before spec-power resync settles. Priest (Shadow), Druid, and Shaman already had this override; Monk was missing it, so Mistweaver could briefly show the wrong power bar color (e.g. Energy) after zoning through an instance, delve, or portal. Fix: added MONK = { [2] = 0 } (Mistweaver -> Mana) to PLAYER_POWER_DEFAULT, matching the existing entries for the other affected classes. --- EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua b/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua index f1574ba29..703bdf5e8 100644 --- a/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua +++ b/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua @@ -2310,6 +2310,7 @@ _G._EUI_ResolvedPowerType = _G._EUI_ResolvedPowerType or {} local PLAYER_POWER_DEFAULT = { PRIEST = { [3] = 0 }, -- Shadow: default to Mana + MONK = { [2] = 0 }, -- Mistweaver: default to Mana } local PLAYER_POWER_ALT = { DRUID = { [1] = 0, [2] = 0, [3] = 0 }, -- Balance/Feral/Guardian -> Mana