(chore): Purge TBC
(cherry picked from commit c1424e19f91a90b4f9eb0a0afc63c09ca269970a)
This commit is contained in:
+1
-11
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user