disable unfavorable settings interfering with SuperCleveRoidMacros when addon is present

This commit is contained in:
Jrc13245
2026-01-13 14:56:02 -05:00
parent d1092f7b13
commit 321fb3c14e
4 changed files with 14 additions and 0 deletions
+1
View File
@@ -879,6 +879,7 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("thirdparty", "bcs", "enable", "1")
pfUI:UpdateConfig("thirdparty", "crafty", "enable", "1")
pfUI:UpdateConfig("thirdparty", "clevermacro", "enable", "1")
pfUI:UpdateConfig("thirdparty", "supercleveroidmacros", "enable", "1")
pfUI:UpdateConfig("thirdparty", "flightmap", "enable", "1")
pfUI:UpdateConfig("thirdparty", "sheepwatch", "enable", "1")
pfUI:UpdateConfig("thirdparty", "totemtimers", "enable", "1")
+1
View File
@@ -2426,6 +2426,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(nil, "BetterCharacterStats", C.thirdparty.bcs, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
CreateConfig(nil, "Crafty", C.thirdparty.crafty, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
CreateConfig(nil, "CleverMacro", C.thirdparty.clevermacro, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
CreateConfig(nil, "SuperCleveRoidMacros", C.thirdparty.supercleveroidmacros, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
CreateConfig(nil, "AckisRecipeList", C.thirdparty.ackis, "enable", "checkbox", nil, nil, nil, nil, "tbc")
CreateConfig(nil, "SheepWatch", C.thirdparty.sheepwatch, "enable", "checkbox", nil, nil, nil, nil, "tbc")
CreateConfig(nil, "TotemTimers", C.thirdparty.totemtimers, "enable", "checkbox", nil, nil, nil, nil, "tbc")
+3
View File
@@ -1,4 +1,7 @@
pfUI:RegisterModule("macrotweak", "vanilla", function ()
-- disable macrotweak when SuperCleveRoidMacros is loaded
if IsAddOnLoaded("SuperCleveRoidMacros") then return end
-- do not write macro calls into chat input history
if ChatFrameEditBox._AddHistoryLine then
local userinput
+9
View File
@@ -927,6 +927,15 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
end)
end)
-- SuperCleveRoidMacros
HookAddonOrVariable("SuperCleveRoidMacros", function()
if C.thirdparty.supercleveroidmacros.enable == "0" then return end
if not pfUI.bars then return end
-- disable pfUI macro scanning
pfUI.bars.skip_macro = true
end)
HookAddonOrVariable("AtlasLoot", function()
if C.thirdparty.atlasloot.enable == "0" then return end