(chore): Purge TBC

(cherry picked from commit c1424e19f91a90b4f9eb0a0afc63c09ca269970a)
This commit is contained in:
NoM0Re
2025-12-24 07:52:47 -07:00
committed by andrew6180
parent 1836ba84d8
commit 07d9efa49b
4 changed files with 2 additions and 5420 deletions
+1 -11
View File
@@ -16,9 +16,7 @@ local isTTSEnabled = C_VoiceChat and C_VoiceChat.SpeakText and true or false
local isDBMRegistered = (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250929200404) and true or false
local flavor
if GetRealmName() == "Onyxia" or (GetRealmName() == "Blackrock [PvP only]" and GetExpansionLevel() == 1) then
flavor = "TBC"
elseif GetRealmName() == "Kezan" or GetRealmName() == "Menethil" or GetRealmName() == "Gurubashi" then
if GetRealmName() == "Kezan" or GetRealmName() == "Menethil" or GetRealmName() == "Gurubashi" then
flavor = "ClassicPlus"
else
flavor = "Wrath"
@@ -45,18 +43,10 @@ function WeakAuras.IsWrath()
return flavor == "Wrath"
end
function WeakAuras.IsTBC()
return flavor == "TBC"
end
function WeakAuras.IsClassicPlus()
return flavor == "ClassicPlus"
end
function WeakAuras.IsClassicPlusOrTBC()
return WeakAuras.IsClassicPlus() or WeakAuras.IsTBC()
end
WeakAuras.prettyPrint = function(...)
print("|cff9900ffWeakAuras:|r ", ...)
end