From 8f17b7f3c1b28a2e38f1dfed456d440ff50cc759 Mon Sep 17 00:00:00 2001 From: NoM0Re <1629787+NoM0Re@users.noreply.github.com> Date: Wed, 29 Oct 2025 18:15:34 +0100 Subject: [PATCH] add special check for DBM-Frostmourne so it works properly (cherry picked from commit 69d029a7f55a5f2818db654f88c1372cb2da5814) --- WeakAuras/BossMods.lua | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/WeakAuras/BossMods.lua b/WeakAuras/BossMods.lua index ca3bee3..788c04f 100644 --- a/WeakAuras/BossMods.lua +++ b/WeakAuras/BossMods.lua @@ -38,15 +38,20 @@ local dbmSupportStates = { } local dbmSupportStatus = dbmSupportStates.UNSUPPORTED -if (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250312000000) then - -- DBM 2025.03.12.000000 - dbmSupportStatus = dbmSupportStates.LATEST -elseif (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250209000000) then - -- DBM 2025.02.09.000000 - dbmSupportStatus = dbmSupportStates.COMPATIBLE -elseif (DBM and type(DBM.ReleaseRevision) == "number" and DBM.ReleaseRevision >= 7005) then - -- DBM 7.0.5 - dbmSupportStatus = dbmSupportStates.LEGACY +do + local site = DBM and GetAddOnMetadata("DBM-Core", "X-Website") + if site and site:match("broizter") and site:match("DBM%-Frostmourne") then + dbmSupportStatus = dbmSupportStates.LEGACY + elseif (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250312000000) then + -- DBM 2025.03.12.000000 + dbmSupportStatus = dbmSupportStates.LATEST + elseif (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250209000000) then + -- DBM 2025.02.09.000000 + dbmSupportStatus = dbmSupportStates.COMPATIBLE + elseif (DBM and type(DBM.ReleaseRevision) == "number" and DBM.ReleaseRevision >= 7005) then + -- DBM 7.0.5 + dbmSupportStatus = dbmSupportStates.LEGACY + end end local barOptions = DBM and type(DBM.ReleaseRevision) == "number" and (