Hey I have a button I created with a KgPanel that is meant to change Quartz3's (cast bar addon) Profile however it does not work.
This is my script:
if InCombatLockdown() then return end
if pressed then
if GetMouseButtonClicked() == "LeftButton" then
ShadowUF.db:SetProfile("NewProfile")
kgPanels:FetchFrame("2 Bar"):Hide()
kgPanels:FetchFrame("1bar"):Show()
kgPanels:FetchFrame("Retract"):Hide()
Bartender4.Bar.barregistry["10"]:SetVisibilityOption("always",not Bartender4.Bar.barregistry["10"]:GetVisibilityOption("always"))
Bartender4.Bar.barregistry["9"]:SetVisibilityOption("always",not Bartender4.Bar.barregistry["9"]:GetVisibilityOption("always"))
kgPanels:FetchFrame("Expandbottom"):Show()
ClassTimer.db:SetProfile("NewProfile")
Quartz3.db:SetProfile("NewProfile")
else
end
end
The button does a number of things such as changing the profile of classtimer's and shadowed unit frames but fails to change Quartz for some unknown reason which is driving me mad. Can anyone help?